S45mountnfs.sh in the boot sequence (sysvinit) uses the command:
authorJohn Bowler <jbowler@nslu2-linux.org>
Tue, 10 May 2005 03:09:24 +0000 (03:09 +0000)
committerJohn Bowler <jbowler@nslu2-linux.org>
Tue, 10 May 2005 03:09:24 +0000 (03:09 +0000)
mount -a -t nfs

to mount only nfs file systems in fstab.  Busybox mount accepts
these options but ignores the -t nfs and mounts everything.  This
is bad because it remounts stuff like tmpfs partitions, obscuring
any boot time setup already done in them.  The fix is easy - just
test the file system in the -a loop if it was provided.

BKrev: 428025e4utrkgNtbkt-hh9YWbpbQfw

packages/busybox/busybox-1.00/mount-all-type.patch [new file with mode: 0644]
packages/busybox/busybox_1.00.bb

diff --git a/packages/busybox/busybox-1.00/mount-all-type.patch b/packages/busybox/busybox-1.00/mount-all-type.patch
new file mode 100644 (file)
index 0000000..e69de29
index 7a4028d..35bb2cc 100644 (file)
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r17"
+PR = "r18"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
            file://add-getkey-applet.patch;patch=1 \
@@ -24,6 +24,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
           file://rmmod.patch;patch=1 \
           file://below.patch;patch=1 \
           file://fbset.patch;patch=1 \
+          file://mount-all-type.patch;patch=1 \
            file://defconfig \
            file://busybox-cron \
           file://busybox-httpd \