All of lore.kernel.org
 help / color / mirror / Atom feed
* updating the partition table of a busy drive
@ 2002-08-26 21:52 Yedidyah Bar-David
  2002-08-26 22:02 ` Andreas Dilger
  2002-08-27 21:14 ` Andries Brouwer
  0 siblings, 2 replies; 4+ messages in thread
From: Yedidyah Bar-David @ 2002-08-26 21:52 UTC (permalink / raw)
  To: linux-kernel

Hello everyone,

Currently, any change to a partition table of a busy drive is
practically delayed to the next reboot. Even things trivial as
changing the type of an unmounted partition do not work, if
another partition on that drive is mounted (or swapped to, etc.).

Is this really unavoidable? Of course, generally, this is
dangerous: E.g., deleting a logical partition (in a PC-BIOS
scheme) can change the numbers of other partitions. But the test
currently seems very conservative. I haven't yet looked too much
at the code, but I think a slightly less conservative test (that
will still not update in many situations, but will allow trivial
things like adding a primary partition), will not be too hard.
Is such a thing needed by others, or is it just me? Suppose I
write an initial patch, are there interested beta testers?

On a side note, about a year and a half ago, there was a thread
on lkml with the subject 'Partition IDs in the New World TM', in
which a 'parttab' file was mentioned. I grepped and STFWed a lot,
and could not find any relevant mention anywhere, besides this
thread. Is this parttab implemented? Documented? Perhaps under
a different name? Is this case it is quite hard to find
(google search for 'linux parttab' has 37 results, but for
e.g. 'linux partition table initrd' 11400 results).

Please CC me as I am not subscribed to lkml.

Thanks,

	Didi


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-27 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-26 21:52 updating the partition table of a busy drive Yedidyah Bar-David
2002-08-26 22:02 ` Andreas Dilger
2002-08-26 23:02   ` Yedidyah Bar-David
2002-08-27 21:14 ` Andries Brouwer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.