Antw: reformat partition when device is in emergency mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> Belisko Marek <marek.belisko@xxxxxxxxx> schrieb am 13.01.2020 um 10:19 in
Nachricht
<CAAfyv37bDCLvbAryW8Wqe5JT5n5Nbwyjik_YsE=eh2sGmLd9qA@xxxxxxxxxxxxxx>:
> 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 "immediately after the MBR" or "immidiately after the last
partition"?

> 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.

Is it related to the position of the partition in any way?


> 
> 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 
> _______________________________________________
> systemd‑devel mailing list
> systemd‑devel@xxxxxxxxxxxxxxxxxxxxx 
> https://lists.freedesktop.org/mailman/listinfo/systemd‑devel 



_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux