2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00

Update fdisk

This commit is contained in:
Igor Chubin 2020-02-27 09:01:42 +01:00 committed by GitHub
parent f868f83446
commit 565df5eff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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