Searched refs:rootfsdev (Results 1 - 2 of 2) sorted by relevance
/netgear-R7800-V1.0.2.28/target/linux/x86/base-files/lib/upgrade/ |
H A D | platform.sh | 4 local rootfsdev 10 rootfsdev="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "block2mtd.block2mtd") { print substr($2,1,index($2, ",")-1) }' < /proc/cmdline)";; 12 rootfsdev="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "root") { print $2 }' < /proc/cmdline)";; 15 echo "$rootfstype:$rootfsdev" 36 local rootfsdev="${rootfs##*:}" 38 mount -t ext4 -o rw,noatime "${rootfsdev%[0-9]}1" /mnt 45 local rootfsdev="${rootfs##*:}" 48 [ -b ${rootfsdev%[0-9]} ] && get_image "$@" | dd of=${rootfsdev%[0-9]} bs=4096 conv=fsync
|
/netgear-R7800-V1.0.2.28/target/linux/x86/base-files/lib/preinit/ |
H A D | 89_move_config | 5 local rootfsdev 11 rootfsdev="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "block2mtd.block2mtd") { print substr($2,1,index($2, ",")-1) }' < /proc/cmdline)";; 13 rootfsdev="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "root") { print $2 }' < /proc/cmdline)";; 16 mount -t ext4 -o rw,noatime "${rootfsdev%[0-9]}1" /mnt
|
Completed in 77 milliseconds