]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fixed fstype mount options
authorHarald Hoyer <harald@redhat.com>
Tue, 2 Jun 2009 07:25:24 +0000 (09:25 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 2 Jun 2009 07:25:24 +0000 (09:25 +0200)
modules.d/95rootfs-block/mount-root.sh

index a5741d16749600e4e79699794dfa954102a2def6..a691ae33e4b5e77393f6191f07e1d7722ed7959a 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 if [ ! -s /.resume -a -n "$root" -a -z "${root%%block:*}" ]; then
-    mount ${fstype:--t auto} -o "$rflags" "${root#block:}" "$NEWROOT" && ROOTFS_MOUNTED=yes
+    mount -t ${fstype:-auto} -o "$rflags" "${root#block:}" "$NEWROOT" && ROOTFS_MOUNTED=yes
 fi