On Sat, Apr 06, 2013 at 12:43:32PM -0500, Chris Bennett wrote:
> On Sat, Apr 06, 2013 at 10:48:55AM -0600, Theo de Raadt wrote:
> > > I had to search the sources to realise the fat filesystem type is called
> > > MSDOS. Maybe at least a header can be mentioned in disklabel(8)?
> >
> > Sorry, everyone knows it is called the MSDOS filesystem. 'FAT' is the new
> > silly name.
> >
> > I don't see much value in pointing people from our manual pages to .h files.
> >
>
> There are some useful hints shown by setpid in fdisk:
fdisk partition id's are not the same things as disklabel filesystem
type names.
-Otto
>
> fdisk: 1> setpid 0
> Starting Ending LBA Info:
> #: id C H S - C H S [ start:
> size ]
>
> -------------------------------------------------------------------------------
> 0: 00 0 0 0 - 0 0 0 [ 0:
> 0 ] unused
> Partition id ('0' to disable) [0 - FF]: [0] (? for help) ?
> Choose from the following Partition id values:
> 00 unused 20 Willowsoft 66 NetWare 386 A9
> NetBSD
> 01 DOS FAT-12 24 NEC DOS 67 Novell AB
> MacOS X boot
> 02 XENIX / 27 Win Recovery 68 Novell AF
> MacOS X HFS+
> 03 XENIX /usr 38 Theos 69 Novell B7
> BSDI filesy*
> 04 DOS FAT-16 39 Plan 9 70 DiskSecure B8
> BSDI swap
> 05 Extended DOS 40 VENIX 286 75 PCIX BF
> Solaris
> 06 DOS > 32MB 41 Lin/Minux DR 80 Minix (old) C0
> CTOS
> 07 NTFS 42 LinuxSwap DR 81 Minix (new) C1
> DRDOSs FAT12
> 08 AIX fs 43 Linux DR 82 Linux swap C4
> DRDOSs < 32M
> 09 AIX/Coherent 4D QNX 4.2 Pri 83 Linux files* C6
> DRDOSs >=32M
> 0A OS/2 Bootmgr 4E QNX 4.2 Sec 84 OS/2 hidden C7
> HPFS Disbled
> 0B Win95 FAT-32 4F QNX 4.2 Ter 85 Linux ext. DB
> CPM/C.DOS/C*
> 0C Win95 FAT32L 50 DM 86 NT FAT VS DE
> Dell Maint
> 0E DOS FAT-16 51 DM 87 NTFS VS E1
> SpeedStor
> 0F Extended LBA 52 CP/M or SysV 8E Linux LVM E3
> SpeedStor
> 10 OPUS 53 DM 93 Amoeba FS E4
> SpeedStor
> 11 OS/2 hidden 54 Ontrack 94 Amoeba BBT EB
> BeOS/i386
> 12 Compaq Diag. 55 EZ-Drive 99 Mylex EE
> EFI GPT
> 14 OS/2 hidden 56 Golden Bow 9F BSDI EF
> EFI Sys
> 16 OS/2 hidden 5C Priam A0 NotebookSave F1
> SpeedStor
> 17 OS/2 hidden 61 SpeedStor A5 FreeBSD F2
> DOS 3.3+ Sec
> 18 AST swap 63 ISC, HURD, * A6 OpenBSD F4
> SpeedStor
> 19 Willowtech 64 NetWare 2.xx A7 NEXTSTEP FF
> Xenix BBT
> 1C ThinkPad Rec 65 NetWare 3.xx A8 MacOS X
> Partition id ('0' to disable) [0 - FF]: [0] (? for help)
> abort
> 'abort' is not a valid number.
> Partition id ('0' to disable) [0 - FF]: [0] (? for help) 0
> fdisk: 1> abort
>