*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ptdisk | Section: 1 | Source: UNIX v7 | File: ptdisk.1
PTDISK(1) General Commands Manual PTDISK(1) NAME ptdisk - disk partition table maintainer SYNOPSIS ptdisk [ options ] special [ cmd ... ] DESCRIPTION Ptdisk creates and maintains an fdisk-compatible partition table on specified hard disk special. The options are: -bfile Use file for the boot code. -f Do not prompt for confirmation. -gc,h,s Specify drive geometry, where `c,h,s' stands for cylinders, heads, and sectors. -z Display sizes in terms of kilobytes, megabytes and gigabytes rather than the number of blocks. Cmd is one character from the set acdfiptx, selecting commands as fol- low: a partno Flag the partno partition as the active (bootable) partition. c sysid [size] Create a type sysid partition, either limited to size or taking up all available space. The size argument may be specified in blocks, kilobytes, megabytes, or gigabytes: the latter three by appending a `k', `m', or `g' suffix. d partno Delete the partno partition. f Display the free space available. i Initialize the partition table by writing the designated or de- fault boot code to sector zero of the disk and deleting any ex- isting partition table entries. p Print out (display) the partition table. t partno sysid Change the partno partition to type sysid. x Check the partition table. Where no cmd is specified, the default action is to print out the par- tition table. NOTES Partition types 1, 4, 5, 6, 7, 11, 12, 14, and 15 are among those used by MS-DOS/MS-Windows. Other common partition types are: SYSID DESCRIPTION 114 V7/x86 130 Linux 165 FreeBSD 166 OpenBSD 169 NetBSD 191 Solaris FILES /usr/boot/mbr default boot code BUGS V7/x86 device drivers will generally not recognise partition table changes until the system is rebooted. PTDISK(1)

Navigation Options