Re: BLKRRPART ioctl

David Woodhouse (David.Woodhouse@mvhi.com)
Tue, 03 Aug 1999 12:00:52 +0100


tytso@mit.edu said:
> Or if you moved the start or end points of the partition!

If you move the start, OK. Moving the end is allowed as long as you make sure
you resize the filesystem before actually clobbering it.

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

tytso@mit.edu said:
> This is probably the right long-term strategy.

I'd prefer that the kernel refused to reload the partition table iff the
_start_ of any in-use partition has changed, rather than either end of the
partition.

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

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