[nottingham] Remounting a slice of a file system on another mount point

From: Robert Davies (Rob_Davies@NTLWorld.Com)
Date: Fri 27 Apr 2001 - 13:51:57 BST


Does anyone know of equivalent of SunOS lofs? I think the new 2.4 remount
ability may be this feature, but am not sure. Linux loopback filesystems,
allow a file layed out as an fs to be treated as a device, this is
different.

lofs was a way of mounting a slice of one fs, to an alternative mount point,
and was very useful, as the directories mounted like this, looked to be
stored in the normal places. There would be no direct way of finding the
'real' mount point from df(1) and pwd(1) commands, and no trace left of
symbolic links to 'pollute' the namespace.

One benefit was that you could also mount part of another fs under a chroot
area. Something like this is possible with NFS, but not sensible and indeed
has been shown to be a security risk.

Anyone know about this?

Rob

--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Thu 22 Nov 2001 - 13:10:47 GMT