Browse Source

Changing some wording to make the indended meaning of "full-disk device"
more obvious.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

Dann Frazier 15 years ago
parent
commit
90102bcd54
2 changed files with 3 additions and 2 deletions
  1. 2 1
      man/mkdosfs.8
  2. 1 1
      src/mkdosfs.c

+ 2 - 1
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.

+ 1 - 1
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)
     {