Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0913/2

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Add TypeFAT16X, correct some spacing.
 [jmk] --rw-rw-r-- M 57833 glenda sys 21983 Sep 13 10:53 sys/src/cmd/disk/prep/fdisk.c
	/n/sourcesdump/2005/0913/plan9/sys/src/cmd/disk/prep/fdisk.c:188,194 - 
	/n/sourcesdump/2005/0914/plan9/sys/src/cmd/disk/prep/fdisk.c:188,194
	  	uchar	endh;			/* ending head */
	  	uchar	ends;			/* ending sector */
	  	uchar	endc;			/* ending cylinder */
	- 	uchar	xlba[4];			/* starting LBA from beginning of disc or ext. partition */
	+ 	uchar	xlba[4];		/* starting LBA from beginning of disc or ext. partition */
	  	uchar	xsize[4];		/* size in sectors */
	  };
	  
	/n/sourcesdump/2005/0913/plan9/sys/src/cmd/disk/prep/fdisk.c:211,220 - 
	/n/sourcesdump/2005/0914/plan9/sys/src/cmd/disk/prep/fdisk.c:211,221
	  	TypeOS2BOOT	= 0x0A,		/* OS/2 Boot Manager */
	  	TypeFAT32	= 0x0B,		/* FAT 32 */
	  	TypeFAT32LBA	= 0x0C,		/* FAT 32 needing LBA support */
	+ 	TypeFAT16X	= 0x0E,		/* FAT 16 needing LBA support */
	  	TypeEXTHUGE	= 0x0F,		/* FAT 32 extended partition */
	  	TypeUNFORMATTED	= 0x16,		/* unformatted primary partition (OS/2 FDISK)? */
	  	TypeHPFS2	= 0x17,
	- 	TypeIBMRecovery = 0x1C,	/* really hidden fat */
	+ 	TypeIBMRecovery = 0x1C,		/* really hidden fat */
	  	TypeCPM0	= 0x52,
	  	TypeDMDDO	= 0x54,		/* Disk Manager Dynamic Disk Overlay */
	  	TypeGB		= 0x56,		/* ???? */
	/n/sourcesdump/2005/0913/plan9/sys/src/cmd/disk/prep/fdisk.c:234,240 - 
	/n/sourcesdump/2005/0914/plan9/sys/src/cmd/disk/prep/fdisk.c:235,241
	  	TypeBSDISWAP	= 0xB8,
	  	TypeOTHER	= 0xDA,
	  	TypeCPM		= 0xDB,
	- 	TypeDellRecovery	= 0xDE,
	+ 	TypeDellRecovery= 0xDE,
	  	TypeSPEEDSTOR12	= 0xE1,
	  	TypeSPEEDSTOR16	= 0xE4,
	  	TypeLANSTEP	= 0xFE,
	/n/sourcesdump/2005/0913/plan9/sys/src/cmd/disk/prep/fdisk.c:276,281 - 
	/n/sourcesdump/2005/0914/plan9/sys/src/cmd/disk/prep/fdisk.c:277,283
	  	[TypeFAT16]		{ "FAT16", "dos" },
	  	[TypeFAT32]		{ "FAT32", "dos" },
	  	[TypeFAT32LBA]		{ "FAT32LBA", "dos" },
	+ 	[TypeFAT16X]		{ "FAT16X", "dos" },
	  	[TypeEXTHUGE]		{ "EXTHUGE", "" },
	  	[TypeIBMRecovery]	{ "IBMRECOVERY", "ibm" },
	  	[TypeEXTENDED]		{ "EXTENDED", "" },
 [sys] --rwxrwxr-x M 57833 glenda sys 103810 Sep 13 23:10 386/bin/disk/fdisk
	/sys/src/cmd/disk/prep/fdisk.c:Dfmt
	/sys/src/cmd/disk/prep/fdisk.c:addrecover
	/sys/src/cmd/disk/prep/fdisk.c:autopart
	/sys/src/cmd/disk/prep/fdisk.c:cmdactive
	/sys/src/cmd/disk/prep/fdisk.c:cmdadd
	/sys/src/cmd/disk/prep/fdisk.c:cmdext
	/sys/src/cmd/disk/prep/fdisk.c:cmdhelp
	/sys/src/cmd/disk/prep/fdisk.c:cmdokname
	/sys/src/cmd/disk/prep/fdisk.c:cmdsum
	/sys/src/cmd/disk/prep/fdisk.c:cmdtype
	/sys/src/cmd/disk/prep/fdisk.c:diskread
	/sys/src/cmd/disk/prep/fdisk.c:diskwrite
	/sys/src/cmd/disk/prep/fdisk.c:dumplist
	/sys/src/cmd/disk/prep/fdisk.c:findmbr
	/sys/src/cmd/disk/prep/fdisk.c:mkpart
	/sys/src/cmd/disk/prep/fdisk.c:plan9print
	/sys/src/cmd/disk/prep/fdisk.c:rdpart
	/sys/src/cmd/disk/prep/fdisk.c:recover
	/sys/src/cmd/disk/prep/fdisk.c:typestr0
	/sys/src/cmd/disk/prep/fdisk.c:wrpart


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.