diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-23 20:02:02 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-23 20:02:02 +0000 |
commit | 41e7e722e145c31d08b8f99ad4975d222008a013 (patch) | |
tree | 2cd58dcc154ec89a2c609fa8b04baca644ddcf03 /package/base-files/files/lib/preinit/20_device_fs_mount | |
parent | 1edb432c06d0c865c328e1106ac24deade4c2ebd (diff) |
[package] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73
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_mount | 4 |
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 832b1cf39..ed59b5b23 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() { |