diff options
author | Karel Zak | 2010-06-16 10:52:20 +0200 |
---|---|---|
committer | Karel Zak | 2010-06-16 10:52:20 +0200 |
commit | 278f63c0e6266eb60535ad2e65db01c0e8b85d56 (patch) | |
tree | 1c8b73376af84a040037f722d928d44b5e9bdf83 /docs/v2.18-ReleaseNotes | |
parent | cal: remove unnecessary info from man page (diff) | |
download | kernel-qcow2-util-linux-278f63c0e6266eb60535ad2e65db01c0e8b85d56.tar.gz kernel-qcow2-util-linux-278f63c0e6266eb60535ad2e65db01c0e8b85d56.tar.xz kernel-qcow2-util-linux-278f63c0e6266eb60535ad2e65db01c0e8b85d56.zip |
fdisk: extend -c and -u options to support old DOS stuff
The DOS mode and cylinders as display units are disabled by default
now. For users who need old DOS behavior is it necessary to extend
-c (compatibility) and -u (units) command line options. The change is
backwardly compatible (so people who already uses -u and -c are not
affected with this change). New form:
-c[=<mode>] where <mode> is 'dos' or 'nondos' (default)
-u[=<units>] where <units> is 'cylinders' or 'sectors' (default)
For example old deprecated DOS behavior could be enabled by:
fdisk -u=cylinders -c=dos /dev/sda
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'docs/v2.18-ReleaseNotes')
-rw-r--r-- | docs/v2.18-ReleaseNotes | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/v2.18-ReleaseNotes b/docs/v2.18-ReleaseNotes index c208b3032..6ac98f610 100644 --- a/docs/v2.18-ReleaseNotes +++ b/docs/v2.18-ReleaseNotes @@ -4,9 +4,9 @@ Util-linux-ng 2.18 Release Notes The util-linux-ng package does not contain rdev(8), ramsize(8), vidmode(8) and rootflags(8) anymore. -The fdisk(8) command does not use DOS-compatible mode and cylinders as -display units by default. The old deprecated DOS behavior could be enabled -by 'c' and 'u' fdisk commands. +The fdisk(8) command does not use DOS-compatible mode and cylinders as display +units by default. The old deprecated DOS behavior could be enabled by 'c' and +'u' fdisk commands or from command line by '-c=dos -u=cylinders' options. Release highlights ------------------ |