bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New option for ln, firmlinks!


From: Andreas Schwab
Subject: Re: New option for ln, firmlinks!
Date: Sat, 24 Jan 2004 22:16:12 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

"Alfred M. Szmidt" <ams@kemisten.nu> writes:

>    I don't know much about union file-systems, but AFAIK they are
>    different from bind mounts.  A bind mount is created by "mount -o
>    bind /foo /bar" and causes the tree under /foo to be overlayed over
>    /bar, with the former contents of /bar being hidden.  It's like a
>    regular mount, except that the source is not (a filesystem on) a
>    block device, but a directory.
>
> It does sound a bit similar to firmlinks.  But firmlinks work on any
> kind of type of file (directories, symlinks, ...).  I don't know if
> this bind file-system can be used across chroots, but firmlinks can.

You can also bind-mount a regular file (and probably other types, I didn't
try yet).  The only difference to firmlinks is, at it seems, that the
destination must already exist and it must be of the same type as the
source.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]