Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
partx (or parted, etc.):
NR START END SECTORS SIZE NAME UUID
1 0 410047 410048 200.2M
2 410048 82329055 81919008 39.1G
4 82329056 102807615 20478560 9.8G
5 102807616 110999039 8191424 3.9G
6 110999040 312580543 201581504 96.1G
and the same with fdisk:
Device Flag Start End Blocks Id System
/dev/loop0p1 0 410048 205024 1 Boot
/dev/loop0p2 410048 82329056 40959504 83 Linux native
/dev/loop0p3 0 312580544 156290272 5 Whole disk
/dev/loop0p4 82329056 102807616 10239280 83 Linux native
/dev/loop0p5 102807616 110999040 4095712 83 Linux native
/dev/loop0p6 110999040 312580544 100790752 8e Linux LVM
Reported-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Unfortunately, fdisk_warn/info/.. function was not marked by
printf __attribute__.
We don't want to break gettext stuff now, so all compiler warnings
have been fixed by casts. This is temporary solution, after release it
will be necessary to fix all the strings.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
* don't call HDIO_GETGEO ioctls in the drivers
* use context geometry (so user can overwrite it by -C/H/S options)
* use default geometry is ioctl does not return anything
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
- sector buffer has to be correctly deallocated
- round to cylinders when use cylinder units in dos driver
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
- move fdisk_sun_set_* functions to public API file
- remove extra function to set ncyl -- this has to follow regular
geo.cylinders
- set alternative cylinders to zero (to be compatible with parted)
- it seems that the previous code completely ignored relation between
geo.cylinders, sunlabel->acyl and sunlabel->ncyl.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
... and also add fdisk_info_new_partition()
Signed-off-by: Karel Zak <kzak@redhat.com>
|