[Info-vax] Request description of UFS for VMS person
John Santos
john.santos at post.harvard.edu
Fri Apr 24 16:49:17 EDT 2009
In article <176uZD2KcidF-pn2-WdQO6berSifX at rikki.tavi.co.uk>, rde42
@spamcop.net says...>
> On Fri, 24 Apr 2009 20:04:41 UTC, glen herrmannsfeldt
> <gah at ugcs.caltech.edu> wrote:
>
> > While files can have multiple links, directories are supposed
> > to have only one.
>
> <pedant>
> Two.
> </pedant>
Is the ".." entry in a directory that points back to its parent
a real link or a dummy that's created on the fly by ls and
the file system when you reference it? In that case, shouldn't
any directory with n subdirectories have n+1 (or n+2, if the
"." entry that points to itself is also real) links to it?
1 link to the directory from its parent
1 link to itself, maybe (the . entry)
n links to it from each of its n children (.. entries in each
of the children.)
If a directory were hardlinked from multiple directories,
where would .. point? Or is that the problem to be avoided?
--
John
More information about the Info-vax
mailing list