| Date | Sun, 20 Jan 2002 22:02:55 +0200 | From | Ville Herva <> | Subject | Re: rm-ing files with open file descriptors |
| |
On Sun, Jan 20, 2002 at 03:23:59PM +0100, you [Remi Turk] claimed: > > Which I actually posted a patch for in 2.4.0-test1 time :) > > % ll -i old > 32619 -rw-r--r-- 1 remi users 14 Jul 31 15:44 old > % exec 5<old > % rm old > % ~/src/flink/flink 5 new > % ll -i new > 32619 -rw-r--r-- 1 remi users 14 Jul 31 15:44 new > > The more interesting part - open(O_ANONYMOUS) or something like > that looked much harder to do. (IOW, I gave up ;) )
Just out of interest (I'm not actually suggesting this would be useful, or feasible): what about ilink(dev, inode_nr, "path") or iopen(dev, inode_nr)?
Or /proc/inodes/dev/<nr> ?
-- v --
v@iki.fi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|