Re: [PATCH] new syscall: flink

Andreas Schwab (schwab@suse.de)
Mon, 07 Apr 2003 14:54:41 +0200


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."
-
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/