bug-parted
[Top][All Lists]
Advanced

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

Re: mklabel wiped my partition table (hint: mklabel is not MSDOS label)


From: Harley D. Eades III
Subject: Re: mklabel wiped my partition table (hint: mklabel is not MSDOS label)
Date: 17 Jan 2005 12:04:11 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

address@hidden writes:

> Solved at last!
Glade to here you got it fixed.

> 1. Better name for mklabel
> 2. Better phrasing for the description of this command
> 3. Fresh backup of the partition table, created prior to committing any
> changes
#3 Currently I am adding the nessesary code to handle this type of situation  
The order of things right now are when parted is first started read the disk 
then using a nice function named ped_disk_duplicate(thanks Clausen :) make a 
copy then edit the copy threw out the rest of the time.  Then if the user feels
bad about his/her changes then they can execute an undo/restore and the copy
gets dumped and the original disk struct gets used. Also if you never do a
commit and just quit then your changes are not written to disk.  Thanks

> 4. Less stupid users ;-)
lol

Cheers
hde





reply via email to

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