14 lines
626 B
Diff
14 lines
626 B
Diff
Index: util-linux-ng-2.13rc2+git20070725/mount/mount.c
|
|
===================================================================
|
|
--- util-linux-ng-2.13rc2+git20070725.orig/mount/mount.c
|
|
+++ util-linux-ng-2.13rc2+git20070725/mount/mount.c
|
|
@@ -546,7 +546,7 @@ create_mtab (void) {
|
|
char *extra_opts;
|
|
parse_opts (fstab->m.mnt_opts, &flags, &extra_opts);
|
|
mnt.mnt_dir = "/";
|
|
- mnt.mnt_fsname = canonicalize (fstab->m.mnt_fsname);
|
|
+ mnt.mnt_fsname = fsprobe_get_devname(fstab->m.mnt_fsname);
|
|
mnt.mnt_type = fstab->m.mnt_type;
|
|
mnt.mnt_opts = fix_opts_string (flags, extra_opts, NULL);
|
|
mnt.mnt_freq = mnt.mnt_passno = 0;
|