Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 1995 01:23:28 -0800
From:      David Greenman <davidg@Root.COM>
To:        "Justin T. Gibbs" <gibbs@estienne.CS.Berkeley.EDU>
Cc:        Steven Wallace <swallace@ece.uci.edu>, freebsd-hackers@FreeBSD.org
Subject:   Re: sym links 
Message-ID:  <199503210923.BAA00144@corbin.Root.COM>
In-Reply-To: Your message of "Tue, 21 Mar 95 00:48:57 PST." <199503210849.AAA04183@estienne.cs.berkeley.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>
>>Could someone please tell the ignorant why in FreeBSD 2.X
>>when a directory is modified all the symbolic links in that directory
>>have their modification date changed to that same date?
>>I don't remember this happening in FreeBSD 1.X
>>
>>Steven
>
>symbolic links are stored entirely in the directory entry and thus 
>carry the same time stamp info as the directory.

   Well, that's how POSIX would have it...but in FFS they are stored in the
inode if short and in a regular disk block if long. They're only made to
appear like they have no inode associated with them. I wouldn't object if we
went back to the old way of doing this - with symlinks having an inode. The
problem of a regular user not being able to delete a symlink he created in
/tmp is one of the many problems with the way we have it now.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503210923.BAA00144>