Menu

Commit [r10091]  Maximize  Restore  History

Unmount /data before reboot on failure in ix-update

/data isn't unmounted before reboot on failure which can cause filesystem
corruption if blocks aren't synched to the backing media (especially
because shutdown -r now isn't being called in ix-update). The attached
change unmounts /data which also handles sync'ing of the filesystem
according to mount(2) semantics.

Signed-off-by: Garrett Cooper <yanegomi@...>

yaberauneya 2012-02-10

changed /trunk/nanobsd/Files/etc/rc.d/ix-update
/trunk/nanobsd/Files/etc/rc.d/ix-update Diff Switch to side-by-side view
Loading...