Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* directory hardlinks
@ 2001-10-01  7:41 Jukka Iso-Heiniemi
  2001-10-01 13:25 ` Ross A Knepper
  0 siblings, 1 reply; 4+ messages in thread
From: Jukka Iso-Heiniemi @ 2001-10-01  7:41 UTC (permalink / raw)
  To: axp-list; +Cc: Tuomo Hakola

 This is not alpha spesific, but still... has anybody
 know how to get hardlinks to work with directories (or what
 is proper mail list to ask for); ... and yes, I really need
 hardlinks for directories.

 So far I have modified "fs/ext2/namei.c" to get ext2 to accept
 hardlinks, but obviously there is some issues with VFS ("fs/namei.c" ?)

 If I remove files from directory which is "pointed" by several 
 entries from parent directory I can't create new files with same 
 names; or actually I can, but files won't show up in the directory.

 I still can 'ls' them if I use full path; ex. "/tmp/test1/blah"
    -rw-rw-r--    0 root      root     14 Sep 28 19:39 /tmp/test1/blah 

 as you see the link count is "0"? I think there is something out 
 of sync in VFS's cache, but dunno what...





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-10-01 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-01  7:41 directory hardlinks Jukka Iso-Heiniemi
2001-10-01 13:25 ` Ross A Knepper
2001-10-01 14:00   ` Jukka Iso-Heiniemi
2001-10-01 15:35     ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox