]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
/etc/mtab should be an empty file.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Sep 2008 21:54:47 +0000 (21:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Sep 2008 21:54:47 +0000 (21:54 +0000)
lfs/stage2

index d906ec8c622fed7d794431bcf64fb0fcc625a31d..c69262611fd62bb169a498869999b0d507736d72 100644 (file)
@@ -75,7 +75,7 @@ $(TARGET) :
        #[ ! -e /lib/libstdc++.so.6 ] && ln -sfn $(TOOLS_DIR)/lib/libstdc++.so{,.6} /usr/lib/
        
        # Creating an empty mtab
-       touch /etc/mtab         #ln -sf /proc/mounts /etc/mtab
+       touch /etc/mtab
        
        # This trick is necessary in order to create two devices in the target /dev
        # rather than in the host /dev
@@ -103,8 +103,6 @@ ifeq "$(EMB)" "1"
        sed -e "s/^#7/7/" -i /etc/inittab
 endif
        
-       ln -sf /proc/mounts /etc/mtab
-       
        echo "$(NAME) v$(VERSION) for $(MACHINE) - $(SLOGAN) (\l)" > /etc/issue
        echo "===============================" >> /etc/issue
        echo "\n running on \s \r \m"          >> /etc/issue