[Top][All Lists]

[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 19:08:53 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

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

> Howdy,
> The following hack implements the --firm/-m option for ln so that it
> will create firm links.  Now, most GNU/Linux people won't be familiar
> with the concept, and I'm not really sure how to explain it either.
> The best example I can think of that explains the difference between
> symlinks and firmlinks is the following:
> hurd:/home/ams/coreutils/coreutils/src# ./ln -s /ams/foo symlink
> hurd:/home/ams/coreutils/coreutils/src# ./ln -m /ams/foo firmlink
> hurd:/home/ams/coreutils/coreutils/src# cd symlink
> hurd:/home/ams/coreutils/coreutils/src/symlink# ls ..
> foo  hurd.obj  lost+found  oskit.obj  sub-hurd
> hurd:/home/ams/coreutils/coreutils/src/symlink# cd ../firmlink 
> hurd:/home/ams/coreutils/coreutils/src/firmlink# ls ..
> Makefile
> Makefile.am
> [..snip...]

This looks similar to bind mounts in Linux.


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]