diff options
-rw-r--r-- | misc/ChangeLog | 7 | ||||
-rw-r--r-- | misc/fsck.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog index ef8b6e07..e83f21f2 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,10 @@ +2001-11-05 Theodore Tso <tytso@valinux.com> + + * fsck.c (interpret_type): If the "auto" type is specified, make + sure interpet_device() is called so that device + specifications which use LABEL= or UUID= are translated + into a real device name. + 2001-10-12 Theodore Tso <tytso@valinux.com> * e2image.c (output_meta_data_blocks): Optimize away excess diff --git a/misc/fsck.c b/misc/fsck.c index 10cf39f7..c958bafc 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -243,6 +243,8 @@ static void interpret_type(struct fs_info *fs) const char *type; if (strcmp(fs->type, "auto") == 0) { + if (fs && strchr(fs->device, '=')) + fs->device = interpret_device(fs->device); type = identify_fs(fs->device); if (type) { free(fs->type); |