From 90102bcd5447abbb7a155e25bb953a9e690c279c Mon Sep 17 00:00:00 2001 From: Dann Frazier Date: Tue, 30 Sep 2008 07:25:19 +0200 Subject: [PATCH] Changing some wording to make the indended meaning of "full-disk device" more obvious. Signed-off-by: Daniel Baumann --- man/mkdosfs.8 | 3 ++- src/mkdosfs.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/man/mkdosfs.8 b/man/mkdosfs.8 index 5913395..bb87ce6 100644 --- a/man/mkdosfs.8 +++ b/man/mkdosfs.8 @@ -141,7 +141,8 @@ is a 32-bit hexadecimal number (for example, 2e24ec82). The default is a number which depends on the file system creation time. .TP .B \-I -Normally you are not allowed to use any 'full' fixed disk devices. +It is typical for fixed disk devices to be partitioned so, by default, you are +not permitted to create a filesystem across the entire device. .B mkdosfs will complain and tell you that it refuses to work. This is different when using MO disks. One doesn't always need partitions on MO disks. diff --git a/src/mkdosfs.c b/src/mkdosfs.c index 41528cc..a5cd3bb 100644 --- a/src/mkdosfs.c +++ b/src/mkdosfs.c @@ -1711,7 +1711,7 @@ main (int argc, char **argv) (statbuf.st_rdev & 0xff3f) == 0x0d00 || /* xd */ (statbuf.st_rdev & 0xff3f) == 0x1600 ) /* hdc, hdd */ ) - die ("Will not try to make filesystem on full-disk device '%s' (use -I if wanted)"); + die ("Device partition expected, not making filesystem on entire device '%s' (use -I to override)"); if (sector_size_set) {