[Parted-maintainers] Bug#810735: Workaround

Roberto C. Sánchez roberto at debian.org
Sat Mar 10 16:16:09 UTC 2018


I ran into this same issue and here is the workaround I used:

debian:/dev# ls -l mm*
brw-rw---- 1 root disk 179, 0 Mar 10 11:06 mmcblk0
brw-rw---- 1 root disk 179, 1 Mar 10 11:06 mmcblk0p1
debian:/dev# fatresize -i /dev/mmcblk0p1 
fatresize 1.0.2 (01/27/16)
Error: Could not stat device /dev/mmcblk0p - No such file or directory.
debian:/dev# ln -s mmcblk0 hda
debian:/dev# ln -s mmcblk0p1 hda1
debian:/dev# ls -l hda*
lrwxrwxrwx 1 root root 7 Mar 10 11:12 hda -> mmcblk0
lrwxrwxrwx 1 root root 9 Mar 10 11:12 hda1 -> mmcblk0p1
debian:/dev# fatresize -i /dev/hda1
fatresize 1.0.2 (01/27/16)
FAT: fat32
Size: 128042663936
Min size: 30039024640
Max size: 128043712512

You just need to remember to remove the symlinks when you finish. Also,
best to check and use names that do not already exist in /dev.

Regards,

-Roberto

-- 
Roberto C. Sánchez



More information about the Parted-maintainers mailing list