Re: fdisk BSD disklabel support?

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

 



Hi! 

On Thu, 06 Aug 2015, Matt Turner wrote:
> I'm not able to figure out how to make a BSD disklabel in fdisk since v2.23.
> 
> Gentoo's installation guide describes the process of partitioning a
> disk for SRM/Alpha [1]. How should one do this now?
> 
> With my distro's util-linux-2.25 I don't see any option that resembles
> BSD disklabels -- I see only
> 
>   Create a new label
>    g   create a new empty GPT partition table
>    G   create a new empty SGI (IRIX) partition table
>    o   create a new empty DOS partition table
>    s   create a new empty Sun partition table
> 
> What am I missing?
> 
> [1] https://wiki.gentoo.org/wiki/Handbook:Alpha/Installation/Disks#Deleting_all_slices
 
It seems like disklabel _editing_ still works:

monolith ~ # fdisk /dev/sda

Welcome to fdisk (util-linux 2.26.2).
[...]
Disk /dev/sda: 17 GiB, 18209320960 bytes, 35565080 sectors
Geometry: 64 heads, 32 sectors/track, 17365 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: bsd
partitions: 3

Slice   Start      End  Sectors  Size Type     Fsize Bsize Cpg
a        4096  1959935  1955840  955M swap         0     0   0
b     1959936 35563519 33603584   16G ext2         0     0   0
c           0 35563519 35563520   17G unused       0     0   0

Maybe generating a BSD disklabel is just not wired up?

Regards,
Tobias


-- 
Should array indices start at 0 or 1? My compromise of 0.5 was rejected
without, I thought, proper consideration.
	-- Stan Kelly-Bootle
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux