Partitioner was detecting a filesystem where none existed

  • Open
  • quality assurance status badge
Details
2 participants
  • Tobias Geerinckx-Rice
  • Peter
Owner
unassigned
Submitted by
Peter
Severity
normal
P
(address . bug-guix@gnu.org)
CAHaGoVPnJMzEpxi4hCM8p5-k08endvUf+EmojoN23ti-Exn8Lw@mail.gmail.com
Hi,

This is with the latest snapshot.

This is minor because it was being formatted anyway, but the issue is that
I had created a raw unformatted partition outside of GUIX, but the GUIX
partitioner tool was seeing it as possessing a filesystem of EXT4 already,
when in fact it should have been blank. Maybe it is a trace of a previous
partition that was in the space, but this is odd, it should not have
detected a filesystem on a new blank partition.

This means it was not reading the partition table correctly.

Best,
Peter
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 15 Jul 2022 23:09
(name . Peter)(address . sunspark@gmail.com)
8735f2gjs4@nckx
Peter ???
Toggle quote (2 lines)
> This means it was not reading the partition table correctly.

Could you explain this part? E.g., did you run ‘wipefs -a’ to
erase the old file system metadata? Partition tables do not
specify file system information.

Guix can take responsibility only for its own drive partitioning
code (which, by most accounts I've heard, could certainly be
improved); otherwise it's the user's and/or tools' responsibility
to correctly wipe the underlying data.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYtHY3A0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15EqIBAK9po7/1IaiGH+E63gOfw7TYR/8TqqYq6n3wRnB5
cQumAP4zYNkce1MK+VSupPyVabFkbQGfMZtf3TUixa+WMOhZBw==
=l3Wz
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56583@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56583
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch