transshipment:

@andygogo (1579)
China
December 26, 2006 11:41am CST
The Loopback Filesystem (LOFS) allows the same file hierarchy to appear in multiple places, which could be useful for creating copies of build and development environments. An example of using LOFS would be this: Suppose there is a directory called /oracle that the developers want access to and they want it called /developers. Rather than creating a link for /developers, it can be a mount point instead. [/]# bdf /oracle Filesystem kbytes used avail %used Mounted on /dev/vg01/lvol1 2048000 1746 1918368 0% /oracle [/]# cd /oracle [/oracle]# lsf conf.c config.mk* function_names.c lost+found/ space.h conf.o config.mod* function_names.o mod_wk.d/ tune.h [/oracle]# mkdir /developers [/oracle]# mount -F lofs /oracle /developers [/oracle]# cd /developers [/developers]# lsf conf.c config.mk* function_names.c lost+found/ space.h conf.o config.mod* function_names.o mod_wk.d/ tune.h Now /developers is mounted to /oracle. [/developers]# bdf ... /oracle 2048000 1746 1918368 0% /developers
No responses