]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
let mount auto-determine the fs type
authorJeremy Katz <katzj@redhat.com>
Wed, 17 Dec 2008 19:55:20 +0000 (14:55 -0500)
committerJeremy Katz <katzj@redhat.com>
Wed, 17 Dec 2008 19:55:20 +0000 (14:55 -0500)
init

diff --git a/init b/init
index e52055ab159b48017c3c8af929b02b61d11b4ea5..a0924e986321bf4c0fab17ee980988597a235cc0 100755 (executable)
--- a/init
+++ b/init
@@ -80,7 +80,7 @@ while [ ! -e $root ]; do
 done
 echo -e "\n\nMounted rootfs after $tries seconds"
 ln -s "$root" /dev/root    
-mount -o ro -t ext3 /dev/root $NEWROOT
+mount -o ro /dev/root $NEWROOT
 
 # now we need to prepare to switchroot
 mount --bind /dev $NEWROOT/dev