On Sun, 20 May 2001, Edgar Toernig wrote: > That assumption is totally bogus. Even for regular files you have side > effects (atime); for anything else they're unpredictable. That means only one thing: safe backups are possible only in single-user mode. For values of safe being "not triggering these side effects on arbitrary files outside of the area you are trying to backup". You can't pin an object down until you open it. You can check that it's the same object you think it is, but that will require fstat(). I.e. opening the thing. If all effects of open() either disappear on close() or are something you don't care about - fine. Otherwise you have a problem. On any UNIX. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFD w/info-PATCH] device arguments from lookup, pa... Eric W. Biederman
- Re: [RFD w/info-PATCH] device arguments from look... Lars Marowsky-Bree
- Re: [RFD w/info-PATCH] device arguments from l... Daniel Phillips
- Why side-effects on open(2) are evil. (was Re: [RFD w/i... Alexander Viro
- Re: Why side-effects on open(2) are evil. (was Re:... Abramo Bagnara
- Re: Why side-effects on open(2) are evil. (was... Alexander Viro
- Re: Why side-effects on open(2) are evil. (was... Pavel Machek
- Re: Why side-effects on open(2) are evil. (was... Pavel Machek
- Re: Why side-effects on open(2) are evil. (was Re:... Linus Torvalds
- Re: Why side-effects on open(2) are evil. (was Re:... Edgar Toernig
- Re: Why side-effects on open(2) are evil. (was... Alexander Viro
- Re: Why side-effects on open(2) are evil. ... Linus Torvalds
- Re: Why side-effects on open(2) are ev... Jeff Garzik
- Re: Why side-effects on open(2) are ev... Jeff Garzik
- Re: Why side-effects on open(2) a... Oliver Xymoron
- Re: Why side-effects on open(2) a... Andreas Dilger
- Re: Why side-effects on open(... Malcolm Beattie
- Re: Why side-effects on open(... Andreas Dilger
- Re: Why side-effects on open(2) are ev... Andreas Dilger
- Re: Why side-effects on open(2) a... Linus Torvalds
- Re: Why side-effects on open(... Peter J. Braam