Update fdisk

pull/103/head
Igor Chubin 5 years ago committed by GitHub
parent f868f83446
commit 565df5eff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,19 +7,19 @@ Command (m for help): d
Partition number (1-9): XXX
# Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
# fdisk [options] <disk> change partition table
# fdisk [options] -l <disk> list partition table(s)
# fdisk -s <partition> give partition size(s) in blocks
# Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
# -b <size> sector size (512, 1024, 2048 or 4096)
# -c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
# -h print this help text
# -u[=<unit>] display units: 'cylinders' or 'sectors' (default)
# -v print program version
# -C <number> specify the number of cylinders
# -H <number> specify the number of heads
# -S <number> specify the number of sectors per track
# To display partition table
p
@ -60,4 +60,4 @@ df -h /opt
5. reboot
6. e2fsck -f /dev/sdc1
7. resize2fs /dev/sdc1
8. mount /dev/sdc1 - uncomment fstab
8. mount /dev/sdc1 - uncomment fstab

Loading…
Cancel
Save