Re: BLKRRPART ioctl

tytso@mit.edu
Mon, 2 Aug 1999 18:14:40 -0400


From: Russell Coker <russell@coker.com.au>
Date: Sat, 31 Jul 1999 11:11:55 +0100

Are there any potential problems in this? I imagine that if I had a mounted
file system and I deleted the partition then things could get nasty (but I
don't do that sort of thing anyway).

Or if you moved the start or end points of the partition!

Maybe the correct solution would be to make the kernel check whether we're
changing any partitions that are in use - and only decline to re-read
the table in that case.

This is probably the right long-term strategy.

- Ted

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