bug-parted
[Top][All Lists]
Advanced

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

Parted 1.5.2


From: Andrew Clausen
Subject: Parted 1.5.2
Date: Wed, 11 Jul 2001 17:42:58 +1000
User-agent: Mutt/1.2.5i

Hi all,

This is an experimental release.  Amongst other things, it has GNU/Hurd
support, and a new rescue feature.

I did this on my test disk at home: (destroy the partition table, then
rescue...)

satisfactory:~/x86/parted-dev/parted$ ./parted -s /dev/hdb mklabel msdos rescue
Information: A ext2 primary partition was found at 0.031Mb -> 199.335Mb.  Do you
want to add it to the partition table?
Information: A ext2 primary partition was found at 17999.297Mb -> 19084.570Mb.
Do you want to add it to the partition table?
Information: A FAT primary partition was found at 4001.484Mb -> 11997.070Mb.  Do
you want to add it to the partition table?
Information: A FAT primary partition was found at 502.031Mb -> 797.343Mb.  Do
you want to add it to the partition table?
Error: Too many primary partitions.
Warning: The kernel was unable to re-read the partition table on /dev/hdb
(Permission denied).  This means Linux knows nothing about any modifications you
made.  You should reboot your computer before doing anything with /dev/hdb.
satisfactory:~/x86/parted-dev/parted$ ./parted -s /dev/hdb print               
Disk geometry for /dev/hdb: 0.000-19092.937 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    199.335  primary   ext2        
4        502.031    797.343  primary   FAT         lba
3       4001.484  11997.070  primary   FAT         lba
2      17999.297  19084.570  primary   ext2   


It can't detect extended partitions, although that could be added.
It can detect logical partitions, if they are inside an existing
extended partition (untested).  It will only work if partitions are
aligned to cylinder boundaries, etc.


Changes: (since 1.5.1)
* added ped_disk_check()
* removed assertions in file system code for fs->geom == probed geometry.
(This is now done ped_disk_check())
* removed PED_PARTITION_PRIMARY - think of PedPartitionType as a bit-field
* changed PedFileSystemOps.probe() to return a PedGeometry* (rather than int),
corresponding to the size/location of the discovered file system.  Updated
ped_file_system_probe() to use this as a heuristic
* added a rescue command
* made command_line_prompt_words() use "def" (if available) in script mode
* applied more GNU/Hurd patches from Neal, and autoconfused them
* replaced PedGeometry's PedDisk* disk field with PedDevice* dev
* backed out some experimental changes (checkpoints) in PedDisk
* cleaned up autoconfusion for device_*.c
* merged changes to 1.4.15-pre1
* put libparted/device/* into one file
* added ped_disk_duplicate(), and implemented the code for all disk labels
* added a PedDisk checkpoint API
* added Sun regression tests
* added non-interactive mode support to new UI

Andrew




reply via email to

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