"Alfred M. Szmidt" <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to