[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ln and -F
On Mon, Jul 22, 2002 at 08:39:49PM +0200, Artur Grabowski wrote:
| tedu <email@example.com> writes:
| > On 21 Jul 2002, Artur Grabowski wrote:
| > > Ever heard about "special case"?
| > >
| > > Just read sys/ufs/ufs/ufs_lookup.c
| > OK, Art. Here's another question, excuse the ignorance. What about
| > atomic renames of directories? Trying to preserve that while banning hard
| > linked dirs looks more complicated. Maybe the best solution is just
| > removing it from ln -F.
| Oh? You want to dig into really dark places of the filesystem code?
| "Here, take this latex glove for your whole arm, you'll need it."
| look at sys/ufs/ufs/ufs_vnops.c:ufs_rename().
Oh puh-lease .. I'm still trying to comprehend the *COMMENTS* in
Thanks Art .. I guess I got what I deserved ;P
(But I do know now that .. and . *are* hardlinks to directories. Just
special cases at that. (that is, if I understood what I read .. I'm
not done yet ;))
Paul 'WEiRD' de Weerd