Web lists-archives.com

Re: mkfs problem




Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :
hi,
I'm trying to fromat a nes USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
     mkfs.fat 4.1 (2017-01-24)
     mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
     works

You should not format (and more generally write directly to) a block device which contains a mounted filesystem.