Closed Lillievela closed 3 years ago
The manpage for mkdosfs
suggests that the safety check for -I
is to make sure the filesystem isn't being set to the whole disk, and it doesn't mention any other checking. So that should probably be removed as well? That would further make it difficult for such a mistake to happen.
While we're at it, I think instead of using device mount point
you could just say device name
instead since the device name is what is being used in the mkdosfs
command. Minor detail, but you get the idea.
Doing
mmcblk0
orsda
will break MBR, should bemmcblk0p1
orsda1