reboot -r on mips

Mori Hiroki yamori813 at yahoo.co.jp
Mon Nov 27 11:58:16 UTC 2017


Hi.

I found reboot -r today. I try this function on my Atheros AR9.

# df
Filesystem           1K-blocks  Used Avail Capacity  Mounted on
/dev/map/rootfs.uzip     29220 29220     0   100%    /
devfs                        1     1     0   100%    /dev
/dev/md0                  7543   111  6829     2%    /tmp
<above>:/tmp/etc         36763 29331  6829    81%    /etc
# kenv vfs.root.mountfrom=cd9660:da0
vfs.root.mountfrom="cd9660:da0"
# reboot -r
.
Trying to mount root from cd9660:da0 []...

...

login: root
Password:

...

# df
Filesystem       1K-blocks  Used Avail Capacity  Mounted on
da0                  29220 29220     0   100%    /
devfs                    1     1     0   100%    /dev
/dev/md1              7543    95  6845     1%    /tmp
<above>:/tmp/etc     36763 29315  6845    81%    /etc
# 



Work fine. Grate.

This function make complete flash update method.

Thanks

Hiroki Mori


More information about the freebsd-mips mailing list