Is it possible to create hardlinks of directory entries? Doesn’t
seem so, but I’m just calling the WINAPI CreateHardLink (can’t seem to get a
direct call to ZwSetInformationFile to work properly). I hope not… the
potential cycles make my head spin.
-Joel
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
No. Even UNIX systems traditionally discouraged the creation of hard linked
directories (for example, UFS restricted it to root.) On AIX (jfs) they
allowed it (and it was an interesting source of bugs.) But NTFS doesn’t
allow it - and for the very reason you describe (it converts a directory
“tree” into a “directory graph”.) Directory searches are a very bad idea.
I have not tried creating a mount point on top of itself (that is, mounting
an NTFS file system and then again within the volume itself) - it is
possible that this would lead to the equivalent type of cyclic dependency.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Thursday, March 01, 2001 12:48 PM
To: File Systems Developers
Subject: [ntfsd] FileLinkInformation
Is it possible to create hardlinks of directory entries? Doesn’t
seem so, but I’m just calling the WINAPI CreateHardLink (can’t seem to get a
direct call to ZwSetInformationFile to work properly). I hope not… the
potential cycles make my head spin.
-Joel
—
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>
I just tried to create a cycle with mount points, and the disk manager UI
would not let me. This is not to say that it couldn’t be done at a lower
level. I hope not.
-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Thursday, March 01, 2001 1:20 PM
To: File Systems Developers
Subject: [ntfsd] RE: FileLinkInformation
No. Even UNIX systems traditionally discouraged the creation of hard linked
directories (for example, UFS restricted it to root.) On AIX (jfs) they
allowed it (and it was an interesting source of bugs.) But NTFS doesn’t
allow it - and for the very reason you describe (it converts a directory
“tree” into a “directory graph”.) Directory searches are a very bad idea.
I have not tried creating a mount point on top of itself (that is, mounting
an NTFS file system and then again within the volume itself) - it is
possible that this would lead to the equivalent type of cyclic dependency.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Thursday, March 01, 2001 12:48 PM
To: File Systems Developers
Subject: [ntfsd] FileLinkInformation
Is it possible to create hardlinks of directory entries? Doesn’t
seem so, but I’m just calling the WINAPI CreateHardLink (can’t seem to get a
direct call to ZwSetInformationFile to work properly). I hope not… the
potential cycles make my head spin.
-Joel
—
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@ntpsoftware.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>
RE: [ntfsd] RE: FileLinkInformationI have inadvertantly created a cyclic mount point dependencies…
–pash
I just tried to create a cycle with mount points, and the disk manager UI would not let me. This is not to say that it couldn’t be done at a lower level. I hope not.
-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Thursday, March 01, 2001 1:20 PM
To: File Systems Developers
Subject: [ntfsd] RE: FileLinkInformation
No. Even UNIX systems traditionally discouraged the creation of hard linked
directories (for example, UFS restricted it to root.) On AIX (jfs) they
allowed it (and it was an interesting source of bugs.) But NTFS doesn’t
allow it - and for the very reason you describe (it converts a directory
“tree” into a “directory graph”.) Directory searches are a very bad idea.
I have not tried creating a mount point on top of itself (that is, mounting
an NTFS file system and then again within the volume itself) - it is
possible that this would lead to the equivalent type of cyclic dependency.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Thursday, March 01, 2001 12:48 PM
To: File Systems Developers
Subject: [ntfsd] FileLinkInformation
Is it possible to create hardlinks of directory entries? Doesn’t
seem so, but I’m just calling the WINAPI CreateHardLink (can’t seem to get a
direct call to ZwSetInformationFile to work properly). I hope not… the
potential cycles make my head spin.
-Joel
—
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@ntpsoftware.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@Legato.COM
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>