Web lists-archives.com

Re: mkfs problem




	Hi.

On Sun, Mar 10, 2019 at 05:01:34PM +0100, Pierre Frenkiel wrote:
> 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
> 
> any explanation?

/sbin/mkfs calls a different binary, /sbin/mkfs.ext2.
Different utility does different checks.

Reco