Detach the ubi device of rootfs
Richard Weinberger
richard.weinberger at gmail.com
Mon Oct 9 05:05:08 PDT 2017
Rock,
On Mon, Oct 9, 2017 at 1:11 PM, Rock Lee <rockdotlee at gmail.com> wrote:
> Hi,
> I am studying the process of reboot in linux, but did find any script
> in /etc to detach ubi device for rootfs. If I reboot the system when
> ubi device of rootfs is scrubing, is it a risk for flash ?
Why do you think you need to detach upon reboot?
UBI and UBIFS are designed to face power-cuts at any time.
Although, sane setups with initramfs/systemd unmount also the rootfs
upon reboot.
--
Thanks,
//richard
More information about the linux-mtd
mailing list