mount -t bind

L Vogtmann vmann at vmann.net
Wed Jan 17 15:52:31 PST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 17 January 2001 03:19 pm, Andy Goth wrote:
<snip>
> /me cheers!!
>
> Just what I've been looking for!

Like Gerard says, "If Linux doesn't have the solution..."!

> Does this mean that I can have /mp3, ~ftp/mp3, ~http/mp3, and so on all be
> the same thing without symlinks?  In other words, a hard link for
> directories?

Yep.

> Hehehe.  I just looked over to see my cat standing on a table and pawing at
> a corkboard, moving it around on my wall.  Cute.  Wish I had a camera...

Hehe, mine likes to paw at my keyboard, especially when I'm trying to type.

> Also, does this require that the various directories have their own
> partitions?  I hope not.  That wouldn't make much sense, anyway.

Nope, directories can be on the same partition, and mounted multiple times.  
Just make sure your kernel supports it, and use the --bind option to mount 
(for some reason -t bind doesn't work for me.)

vmann
- -- 
GPG public key / Geek Code block available at
http://vmann.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjpmMEkACgkQ4RqxfkoM0TOb/gCgltv3T7XWaR+H7Tdeun9Bsg96
dG0An2T60SWnLl4WcoPAu/eqCOfHA4uz
=FuAU
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list