bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reboot problem after altering the disk label


From: Thomas Roelz
Subject: reboot problem after altering the disk label
Date: Fri, 25 May 2001 14:01:56 +0200

Hello,

according to the parted documentation it is necessary to reboot
after the partition table has been altered by parted for the changes
to take effect. Obviously this is not the case with the *fdisk
programs.

cut-out from the fdisk man page:
   ...
   A sync() and a BLKRRPART ioctl() (reread  partition  table
   from disk) are performed before exiting when the partition
   table has been updated.  Long ago it used to be  necessary
   to  reboot after the use of fdisk.  I do not think this is
   the case anymore - indeed,  rebooting  too  quickly  might
   cause  loss  of  not-yet-written  data. Note that both the
   kernel and the disk hardware may buffer data.                            
   ...

Would it be possible to integrate such a functionality into
parted so that it is not necessary any longer to reboot after
altering (unmounted) partitions?

Tom

--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]