Skip to contentSkip to conversation

hard linking in reiserfs 4

DISCUSSION Heinz-Josef Claes 2 participants 2 messages Nov 18, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I read the following in the man page of ln:

(ln (coreutils) 5.0 March 2003 LN(1))

   -d, -F, --directory
          hard link directories (super-user only)

This is not possible with reiserfs 3.6.
Will it be possible with reiserfs 4?
I'm really interested in this feature - does anybody know an existing filesystem supporting hard links to directories? (I know ext2 does not support them either.)

Best regards,

Signature · 3 lines
Heinz-Josef Claes                     [email protected]
project: http://sourceforge.net/projects/storebackup
      -> snapshot-like backup to another disk
#1 lore raw

Heinz-Josef Claes wrote on Tue, 18 Nov 2003 07:53:32 +0100:

Quoted 5 lines

This is not possible with reiserfs 3.6.
Will it be possible with reiserfs 4?
I'm really interested in this feature - does anybody know an existing filesystem supporting hard links to directories? (I know ext2 does not support them either.)

It's probably not much use to you, but my RAM file system for BeOS does support hard links to directories. Of course, this means oddities like doing a connected graph search whenever you delete anything to see if you have isolated part of the name space. Well, it's not quite hard links; I did a few experiments with them but the desktop GUI got seriously confused when trying to display the same hard linked directory window through two different paths, so now I have it present the hard links as symbolic links which dynamically change.

If you wish, you can read more about the technique at http://web.ncf.ca/au829/BeOS/AGMSLinkExplanation.txt and download the file system (including source code) from http://www.bebits.com/app/3642 (use the backup web site link, the primary is down due to bandwidth exceeded this month).

- Alex