On Sat, 23 Mar 2002, Philip Reynolds wrote:
> mount -t nfs 127.0.0.1:/mnt/archive/src /usr/local/src
why go to all that bother, linux (2.4 at least) allows you to mount
directories on other directories (mount --bind):
[root at fogarty root]# mkdir /var/tmp/test
[root at fogarty root]# touch /var/tmp/test/foo
[root at fogarty root]# ls /var/tmp/test/foo
/var/tmp/test/foo
[root at fogarty root]# mkdir /tmp/test/
[root at fogarty root]# mount --bind /var/tmp/test/ /tmp/test/
[root at fogarty root]# ls /tmp/test/
foo
tada..
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
COMPASS [for the CDC-6000 series] is the sort of assembler one expects from
a corporation whose president codes in octal.
-- J.N. Gray
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!