NAME

pipefs - attach filters to a file system

SYNOPSIS

pipefs [ -a|-b ] [ -c ] [ -r command ] [ -w command ] dir mountpoint

DESCRIPTION

Pipefs acts as a filesystem layer above an existing name space, attaching filters to the files in the name space.

Pipefs makes the name space under dir visible at mountpoint. The -a (or -b) option causes the name space to be placed after (or before) the current contents of mountpoint; the default is to replace the current contents. The -c option permits creation under mountpoint.

Data that is read from (or written to) files made visible under mountpoint is filtered through command, specified using the -r (or -w) option. At least one command must be specified; pipefs will use cat(1) as the other command.

EXAMPLE

To read / write encrypted files:

(pipefs -c -r 'crypt -d -k secret'
	-w 'crypt -k secret'
	/encrypted/dir /n/decrypted)

SOURCE

/appl/cmd/pipefs.b

SEE ALSO

pipefile(1)

BUGS

Not all error conditions are handled gracefully.
The length of the original file, and not that of the filtered one, is returned in sys-stat(2).

PIPEFS(4) Rev:  Fri Jun 15 21:22:04 GMT 2007