[Info-vax] INDEXF.SYS

hb becker.avd at gmail.com
Mon Jan 30 10:38:50 EST 2012


On Jan 30, 3:23 pm, koeh... at eisner.nospam.encompasserve.org (Bob
Koehler) wrote:

>    Yes, renaming the file to another directory does update the backlink.
>    But set file/enter does not, it preserves the original backlink.

On ODS2 and on ODS5 with hardlinks disabled, set file/enter doesn't
touch the file header at all. It only writes a directory entry.

>    Someone want to look into the newer UNIX-compatable file aliases to
>    see what they do with the backlink?  I've never needed to use them.

On ODS5 with hardlinks enabled, in the file header, set file/enter
only increments the link count, it does not change the backlink.

>    The biggest difference that I know of is that when you use set
>    file/enter, the existence of the file depends only on whether the
>    original directory entry has been deleted.  For UNIX compatability
>    the existance of the file needs to depend on whether all links have
>    been deleted.

That compatibility is achieved on ODS5 with hardlinks enabled.

On ODS2 renaming a file name which is an alias doesn't change the
backlink either.
On ODS5, renaming a file name or a hardlink and whether it changes the
backlink seems to be a different - more complex story.



More information about the Info-vax mailing list