Re: [systemd-devel] reformat partition when device is in emergency mode

2020-01-13 Thread Belisko Marek
On Mon, Jan 13, 2020 at 12:59 PM Ulrich Windl wrote: > > >>> Belisko Marek schrieb am 13.01.2020 um 10:19 in > Nachricht > : > > Hi, > > > > I have embedded system which contains fat32 partition at the end of > > partition table. In case partition cannot be mounted (I'm using > > Is that

Re: [systemd-devel] reformat partition when device is in emergency mode

2020-01-13 Thread Lennart Poettering
On Mo, 13.01.20 10:19, Belisko Marek (marek.beli...@gmail.com) wrote: > 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

[systemd-devel] reformat partition when device is in emergency mode

2020-01-13 Thread Belisko Marek
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