Lines Matching refs:rootfs
11 [ -d /tmp/wget2nand-rootfs ] && {
12 echo "/tmp/wget2nand-rootfs already exists"
34 mtd_rootfs="$(find_mtd_part 'rootfs')"
42 mtd erase rootfs 2>/dev/null >/dev/null
46 mkdir /tmp/wget2nand-rootfs
48 mount -t yaffs2 "$mtd_rootfs" /tmp/wget2nand-rootfs
52 rm -rf /tmp/wget2nand-rootfs/*
55 ( wget -O - $url/openwrt-adm5120-rb1xx-rootfs.tar.gz) | ( cd /tmp/wget2nand-rootfs/; tar xvz )
62 echo "chmod ugo+x /" > /tmp/wget2nand-rootfs/etc/uci-defaults/set_root_permission
65 ls /tmp/wget2nand-rootfs/
73 umount /tmp/wget2nand-rootfs
75 rmdir /tmp/wget2nand-rootfs