Messages in this thread | | | Date | Tue, 15 Sep 1998 12:03:42 +0200 (MET DST) | From | Cyrille Chepelov <> | Subject | Re: showstopper race condition in sync() ??? [2.1.119|120] |
| |
On Tue, 15 Sep 1998, Stephen C. Tweedie wrote:
> Because _this_ file is the one which is occupying the problematic > sectors, I imagine. One thing you could do is to rename the password > file and then copy it back, so that you are now using a different area > of the disk.
"strace passwd" shows that passwd copies /etc/passwd into /etc/passwd-, builds a new file /etc/passwd+, rm's /etc/passwd, then renames /etc/passwd+ to /etc/passwd -- I'd not expect ext2fs to put the new /etc/password on the same sector.
------------------------------ Zog Zog
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |