mount --bind
Nils Philippsen
nphilipp at redhat.com
Fri Oct 24 14:41:17 UTC 2003
On Fri, 2003-10-24 at 16:18, Carlos Rodrigues wrote:
> Hi!
>
> I intend to mount a directory in another location with "mount --bind"
> and I wanted to know if there is a way to automate this by putting it
> somewhere like /etc/fstab. I can put it in /etc/init.d/rc.local but I
> would rather do this in a more "elegant" way.
"mount --bind" is the same as "mount -o bind", so a line like
/my/old/dir /my/new/dir none bind 0 0
should work.
Nils
--
Nils Philippsen / Red Hat / nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031024/f5cb56f9/attachment-0001.sig>
More information about the fedora-list
mailing list