[systemd-devel] reformat partition when device is in emergency mode
Belisko Marek
marek.belisko at gmail.com
Mon Jan 13 09:19:16 UTC 2020
Hi,
I have embedded system which contains fat32 partition at the end of
partition table. In case partition cannot be mounted (I'm using
fstab-generator to automatically mount partition) device will enter
emergency mode. My idea is to check somehow in this mode that
partition is corrupted and reformat it. Is there some simple way to
detect that condition? Thanks for any pointers.
BR,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
More information about the systemd-devel
mailing list