Copyright (C) 2000-2012 |
GNU Info (am-utils.info)Loopback FilesystemLoopback Filesystem (`lofs') ============================ The "lofs" (`type:=lofs') filesystem is also called the loopback filesystem. It mounts a local directory on another, thus providing mount-time binding to another location (unlike symbolic links). The loopback filesystem is particularly useful within the context of a chroot-ed directory (via chroot(2)), to provide access to directories otherwise inaccessible. The following option must be specified: `rfs' the pathname to be mounted on top of `${fs}'. Usually, the FTP server runs in a chroot-ed environment, for security reasons. In this example, lofs is used to provide a subdirectory within a user's home directory, also available for public ftp. lofs type:=lofs;rfs:=/home/ezk/myftpdir;fs:=/usr/ftp/pub/ezk automatically generated by info2www version 1.2.2.9 |