java - JimFS: what is the purpose of /work directory -
i started use google jimfs , doing ls found there work directory in root of fs. purpose of folder? it's arbitrary directory working directory (the directory relative paths resolved against) isn't root directory, since typically isn't in real situations. can change working directory whatever want (including root) customizing configuration . here's example of setting working directory root (in case /work directory won't created): configuration config = configuration.unix().tobuilder() .setworkingdirectory("/") .build();