From: Michael Tremer Date: Sun, 21 Sep 2008 21:54:47 +0000 (+0000) Subject: /etc/mtab should be an empty file. X-Git-Tag: v3.0-alpha1~673 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dacea14b738fd0caff934a4346d367cefadbf314;p=ipfire-3.x.git /etc/mtab should be an empty file. --- diff --git a/lfs/stage2 b/lfs/stage2 index d906ec8c6..c69262611 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -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