util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* luks2: need to check the availability of a JSON area
@ 2024-05-08 16:07 Vitalii Hordii
  2024-05-09 10:00 ` Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: Vitalii Hordii @ 2024-05-08 16:07 UTC (permalink / raw)
  To: util-linux, gmazyland

Hello,

I had some problems with restoring a luks2 partition after using, for 
example, mkfs.ntfs because it only leaves a 2nd JSON area without a 
secondary binary header, which I had to create myself. What if there was 
a function in libblkid that allows one to determine if there is a 2nd 
JSON and if there is a chance of recovery? Because as I see here, 
automatically repairing 
https://gitlab.com/cryptsetup/cryptsetup/-/issues/750 is apparently 
missing due to the lack of checking if there is an area here in 
libblkid. Also this seems to be a pretty popular problem on the internet 
when it comes to installing other operating systems. Would it be okay to 
add such a feature?

Best regards, Vitalii

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-09 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 16:07 luks2: need to check the availability of a JSON area Vitalii Hordii
2024-05-09 10:00 ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).