diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:02 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:02 +0000 |
commit | 5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0 (patch) | |
tree | 8aa400b50255fd6cad3ae1b8ab32b9243838e10c /package/base-files/files/lib/preinit/20_device_fs_mount | |
parent | bc8fe9b40fdd0817bad2b7ec7664e8eeaa97e1f5 (diff) | |
download | mtk-20170518-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.zip mtk-20170518-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.gz mtk-20170518-5ae2524d3a3250b5cfcedea0560d84bdfd3b81f0.tar.bz2 |
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_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 832b1cf..ed59b5b 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() { |