Re: [PATCH] new syscall: flink

Andreas Schwab
2003-04-07T12:44:00Z

Roman Zippel <zippel@linux-m68k.org> writes:

|> Hi,
|>
|> > That breaks one of the main uses, creating with open a temporary file
|> > in /tmp, unlinking it, then later hooking it up somewhere else in the
|> > filesystem.
|>
|> I wouldn't rely on this functionality, not all filesystems might like it
|> to have to recreate a deleted fs entry. Most filesystems should be able to
|> do this, but all fs drivers have to be checked, that they do the right
|> thing.

All filesystems already have to cope with unlinking of an open file
anyway, so relinking should not be a problem.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."