make_growfs1
Generate directory listings for the grow filesystem
Usage
FCmake_growfs [options]
<directory>FT
Overview
make_growfs prepares a local filesystem to be exported as a GROW filesystem which can be accessed by parrot_run(1). Given a directory as an argument, it recursively visits all of the directories underneath and creates files named FC.__growfsdirFT that summarize the metadata of all files in that directory.
Once the directory files are generated, the files may be accessed through a web server as if there were on a full-fledged filesystem with complete metadata.
Options
-
-v -
Give verbose messages.
-
-K -
Create checksums for files. (default)
-
-k -
Disable checksums for files.
-
-f -
Follow all symbolic links.
-
-F -
Do not follow any symbolic links.
-
-a -
Only follow links that fall outside the root. (default)
-
-h -
Show help text.
Exit status
On success, returns zero. On failure, returns non-zero.
Examples
Suppose that your university web server exports the directory FC/home/fred/wwwFT as FChttp://www.somewhere.edu/fredFT. To create a GROW filesystem, put whatever files and directories you like into FC/home/fred/wwwFT. Then, run the following to generate the GROW data:
-
% make_growfs /home/fred/www
Now that the GROW data is generated, you can use parrot_run(1) to treat the web address as a read-only filesystem:
-
% parrot_run bash % cd /growfs/www.somewhere.edu/fred % ls -la
Releases
6 releases since Debian 7 (Wheezy); the text changed 4 times.
-F since Debian 10 (Buster);
-K since Debian 10 (Buster);
-a since Debian 10 (Buster);
-f since Debian 10 (Buster);
-h since Debian 10 (Buster);
-k since Debian 10 (Buster);
-v since Debian 10 (Buster).