pa->end_post = (p->p_offset + p->p_size) % d->d_secpercyl ? '*' : ' ';
}
+ pa->start = p->p_offset;
+ pa->end = p->p_offset + p->p_size - 1;
pa->size = p->p_size;
pa->type = bsd_partition_parttype(cxt, p);
{ FDISK_COL_DEVICE, N_("Slice"), 1, 0 },
{ FDISK_COL_START, N_("Start"), 5, TT_FL_RIGHT },
{ FDISK_COL_END, N_("End"), 5, TT_FL_RIGHT },
- { FDISK_COL_SIZE, N_("Size"), 5, TT_FL_RIGHT },
{ FDISK_COL_SECTORS, N_("Sectors"), 5, TT_FL_RIGHT },
{ FDISK_COL_CYLINDERS, N_("Cylinders"), 5, TT_FL_RIGHT },
+ { FDISK_COL_SIZE, N_("Size"), 5, TT_FL_RIGHT },
{ FDISK_COL_TYPE, N_("Type"), 8, 0 },
{ FDISK_COL_FSIZE, N_("Fsize"), 5, TT_FL_RIGHT },
{ FDISK_COL_BSIZE, N_("Bsize"), 5, TT_FL_RIGHT },
Disklabel type: dos
Disk identifier: <removed>
-Device Boot Start End Blocks Id System
-<removed>1 2048 4095 1024 83 Linux
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
-------------------
Disklabel type: dos
Disk identifier: <removed>
-Device Boot Start End Blocks Id System
-<removed>1 2048 4095 1024 83 Linux
-<removed>2 4096 20479 8192 a5 FreeBSD
+Device Boot Start End Sectors Size Id Type
+<removed>1 2048 4095 2048 1M 83 Linux
+<removed>2 4096 20479 16384 8M a5 FreeBSD
-------------------
Disklabel type: bsd
partitions: 4
-# Start End Size Type fsize bsize cpg
-c 4096 20479 16384 unused 0 0
-d 0 16064 16065 unused 0 0
+Slice Start End Sectors Size Type Fsize Bsize Cpg
+c 4096 20479 16384 8M unused 0 0 0
+d 0 16064 16065 7.9M unused 0 0 0
-Command (m for help):
-Leaving nested disklabel.
+Command (m for help): Leaving nested disklabel.
Command (m for help):
-------------------
Disklabel type: bsd
partitions: 4
-# Start End Size Type fsize bsize cpg
-a 4096 6144 2049 4.2BSD 0 0 0
-c 4096 20479 16384 unused 0 0
-d 0 16064 16065 unused 0 0
+Slice Start End Sectors Size Type Fsize Bsize Cpg
+a 4096 6144 2049 1M 4.2BSD 0 0 0
+c 4096 20479 16384 8M unused 0 0 0
+d 0 16064 16065 7.9M unused 0 0 0
-Command (m for help):
-Leaving nested disklabel.
+Command (m for help): Leaving nested disklabel.
Command (m for help):
-------------------