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: Alfred M. Szmidt
Subject: Re: New option for ln, firmlinks!
Date: Sat, 24 Jan 2004 22:52:00 +0100 (MET)

   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.

Not entirerly true, the source and destination aren't the same in any
way, the source just has a translator attached to it that transmits
all file-system calls to the destination.  But other than that, it
does seem that they are quite the same.  Was it possible to jump out
of a chroot with bind's?


I might note that `ln --firm TARGET LINK_NAME' is sugar for `settrans
-cp TARGET /hurd/firmlink LINK_NAME`.  The same really goes when using
--symbolic; but with s/firm/sym/.  But symbolic links are optimised a
bit in the file-system, i.e. they aren't treated as "real"
translators.

Cheers.




reply via email to

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