Hard link a directory
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Hard link a directory
Is it possible to Hard link a directory? Some people on google say it is possible and some say it is not possible. I haven't seen a working solution though.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Hard link a directory
It complains operation not permitted.
Ok. Is that a problem?Habitual wrote:Hard links take up twice as many inodes as softlinks.
Re: Hard link a directory
Hi,
If you're trying to hardlink ext3 to NTFS, that might not work, as hardlink is supported in ext2, ext3, ext4...
Regards,
If you're trying to hardlink ext3 to NTFS, that might not work, as hardlink is supported in ext2, ext3, ext4...
Regards,
Re: Hard link a directory
Not if you have a 1Tb drive, it's not!COKEDUDE wrote:It complains operation not permitted.
Ok. Is that a problem?Habitual wrote:Hard links take up twice as many inodes as softlinks.
if /path/to/DIR1 is using 1.6G
then a hardlink to /path/to/DIR1 will also take up 1.6G
Re: Hard link a directory
I don't think what you said is correct. I made 6 hard links to a 700 MB file and my disc usage did not change at all. It stayed 16.9 GB of free space the whole time.Habitual wrote:Not if you have a 1Tb drive, it's not!COKEDUDE wrote:It complains operation not permitted.
Ok. Is that a problem?Habitual wrote:Hard links take up twice as many inodes as softlinks.
if /path/to/DIR1 is using 1.6G
then a hardlink to /path/to/DIR1 will also take up 1.6G