summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-23 18:57:30 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-23 18:57:30 +0000
commit9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce (patch)
treed79769659a52086f316b30f5a14d1a31e850b12d
parentaa38a0ad2021991771cd861b5b99d8ba553b5ba6 (diff)
downloaddrakx-9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce.tar
drakx-9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce.tar.gz
drakx-9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce.tar.bz2
drakx-9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce.tar.xz
drakx-9ee6bcd8153294d6a3a8eec5b354a2b0d88d2cce.zip
warn that the mount can fail if the partition hasn't been cleanly unmounted
-rw-r--r--mdk-stage1/disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 1579ddaa4..bb59869ea 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -76,7 +76,8 @@ static enum return_type try_with_device(char *dev_name)
/* in testing mode, assume the partition is already mounted on IMAGE_LOCATION_DIR "hdimage" */
if (!IS_TESTING && try_mount(choice, disk_own_mount)) {
- stg1_error_message("I can't find a valid filesystem (tried: ext2, vfat, ntfs, reiserfs).");
+ stg1_error_message("I can't find a valid filesystem (tried: ext2, vfat, ntfs, reiserfs). "
+ "Make sure the partition has been cleanly unmounted.");
return try_with_device(dev_name);
}