Package: fdisk
Version: 2.33-0.2
File: /sbin/cfdisk

User choses Resize, and resizes a partition from 300 GB to 60 GB.

But then when he tries to mount it,

# mount /dev/sda5 /mnt/usb/thumb/
mount: /mnt/usb/thumb: wrong fs type, bad option, bad superblock on /dev/sda5, 
missing codepage or helper program, or other error.
# journalctl -f
Dec 09 03:27:41 jidanni5 kernel: EXT4-fs (sda5): bad geometry: block count 
103356160 exceeds size of device (15805440 blocks)

So remove Resize or make it warn that any filesystems present will no
longer be mountable if used.

Reply via email to