summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/20_device_fs_mount
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:02 +0000
commit5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0 (patch)
tree8aa400b50255fd6cad3ae1b8ab32b9243838e10c /package/base-files/files/lib/preinit/20_device_fs_mount
parentbc8fe9b40fdd0817bad2b7ec7664e8eeaa97e1f5 (diff)
downloadmaster-31e0f0ae-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.gz
master-31e0f0ae-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.bz2
master-31e0f0ae-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.zip
base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that it is more natural to use the filesystem type, then options, then name, then mountpoint. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34308
Diffstat (limited to 'package/base-files/files/lib/preinit/20_device_fs_mount')
-rw-r--r--package/base-files/files/lib/preinit/20_device_fs_mount4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/lib/preinit/20_device_fs_mount b/package/base-files/files/lib/preinit/20_device_fs_mount
index 832b1cf399..ed59b5b237 100644
--- a/package/base-files/files/lib/preinit/20_device_fs_mount
+++ b/package/base-files/files/lib/preinit/20_device_fs_mount
@@ -10,11 +10,11 @@ do_move_devtmpfs() {
}
do_mount_devfs() {
- mount devfs /dev -t devfs
+ mount -t devfs devfs /dev
}
do_mount_hotplug() {
- mount -t tmpfs tmpfs /dev -o mode=0755,size=512K
+ mount -t tmpfs -o mode=0755,size=512K tmpfs /dev
}
do_mount_udev() {