fdisk.8 (81449) | fdisk.8 (99501) |
---|---|
1.\" $FreeBSD: head/sbin/fdisk_pc98/fdisk.8 81449 2001-08-10 13:45:36Z ru $ | 1.\" $FreeBSD: head/sbin/fdisk_pc98/fdisk.8 99501 2002-07-06 19:34:18Z charnier $ |
2.\" 3.Dd October 4, 1996 4.Dt FDISK 8 5.Os 6.Sh NAME 7.Nm fdisk 8.Nd PC partition table maintenance program 9.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 32This boot code then brings in the bootstrap from the 33.Em active 34partition and, if marked bootable, runs it. 35Under DOS, 36you can have one or more partitions with one 37.Em active . 38The DOS 39.Nm | 2.\" 3.Dd October 4, 1996 4.Dt FDISK 8 5.Os 6.Sh NAME 7.Nm fdisk 8.Nd PC partition table maintenance program 9.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 32This boot code then brings in the bootstrap from the 33.Em active 34partition and, if marked bootable, runs it. 35Under DOS, 36you can have one or more partitions with one 37.Em active . 38The DOS 39.Nm |
40program can be used to divide space on the disk into partitions and set one | 40utility can be used to divide space on the disk into partitions and set one |
41.Em active . 42.Sh DESCRIPTION 43The 44.Fx | 41.Em active . 42.Sh DESCRIPTION 43The 44.Fx |
45program | |
46.Nm | 45.Nm |
47serves a similar purpose to the DOS program. The first form is used to | 46utility serves a similar purpose to the DOS program. The first form is used to |
48display partition information or to interactively edit the partition 49table. The second is used to write a partition table using a 50.Ar configfile 51and is designed to be used by other scripts/programs. 52.Pp 53Options are: 54.It Fl a 55Change the active partition only. Ignored if --- 163 unchanged lines hidden (view full) --- 219.\" or 220.Fl u 221are used to indicate that the partition data is to be updated, unless the 222.Fl f 223option is used. If the 224.Fl f 225option is not used, the 226.Nm | 47display partition information or to interactively edit the partition 48table. The second is used to write a partition table using a 49.Ar configfile 50and is designed to be used by other scripts/programs. 51.Pp 52Options are: 53.It Fl a 54Change the active partition only. Ignored if --- 163 unchanged lines hidden (view full) --- 218.\" or 219.Fl u 220are used to indicate that the partition data is to be updated, unless the 221.Fl f 222option is used. If the 223.Fl f 224option is not used, the 225.Nm |
227program will enter a conversational mode. | 226utility will enter a conversational mode. |
228This mode is designed not to change any data unless you explicitly tell it to. | 227This mode is designed not to change any data unless you explicitly tell it to. |
229.Nm Fdisk 230selects defaults for its questions to guarantee the above behavior. | 228The 229.Nm 230utility selects defaults for its questions to guarantee the above behavior. |
231.Pp 232It displays each partition 233and ask if you want to edit it. 234If you say yes, 235it will step through each field showing the old value 236and asking for a new one. 237When you are done with a partition, 238.Nm 239will display it and ask if it is correct. | 231.Pp 232It displays each partition 233and ask if you want to edit it. 234If you say yes, 235it will step through each field showing the old value 236and asking for a new one. 237When you are done with a partition, 238.Nm 239will display it and ask if it is correct. |
240.Nm Fdisk 241will then proceed to the next entry. | 240The 241.Nm 242utility will then proceed to the next entry. |
242.Pp 243Getting the 244.Em cyl , sector , 245and 246.Em head 247fields correct is tricky. 248So by default, 249they will be calculated for you; --- 211 unchanged lines hidden --- | 243.Pp 244Getting the 245.Em cyl , sector , 246and 247.Em head 248fields correct is tricky. 249So by default, 250they will be calculated for you; --- 211 unchanged lines hidden --- |