From: Jukka Iso-Heiniemi <jd@ts.ray.fi>
To: axp-list@redhat.com
Cc: Tuomo Hakola <tha@ts.ray.fi>
Subject: directory hardlinks
Date: Mon, 1 Oct 2001 10:41:59 +0300 (EEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0110011018080.890-100000@alphatux2.ts.ray.fi> (raw)
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...
next reply other threads:[~2001-10-01 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-01 7:41 Jukka Iso-Heiniemi [this message]
2001-10-01 13:25 ` directory hardlinks Ross A Knepper
2001-10-01 14:00 ` Jukka Iso-Heiniemi
2001-10-01 15:35 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox