Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206121

Re: mkfs problem

From Pierre Frenkiel <pierre.frenkiel@gmail.com>
Newsgroups linux.debian.user
Subject Re: mkfs problem
Date 2019-03-10 19:50 +0100
Message-ID <xAbGh-5Zi-7@gated-at.bofh.it> (permalink)
References <xA9bs-4zE-13@gated-at.bofh.it> <xAaqR-5h6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 10 Mar 2019, Pascal Hambourg wrote:

> Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :
>> hi,
>> I'm trying to format a new 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.
>
   not only should not, but you can't ...
   as I said previously, the flash drive was not actually mounted
   (mtab not updated)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mkfs problem Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 17:10 +0100
  Re: mkfs problem Reco <recoverym4n@enotuniq.net> - 2019-03-10 17:40 +0100
    Re: mkfs problem Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 19:50 +0100
  Re: mkfs problem Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-10 18:30 +0100
    Re: mkfs problem Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 19:50 +0100
  Re: mkfs problem (half resolved) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 18:40 +0100
    Re: mkfs problem (half resolved) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-10 19:10 +0100
      Re: mkfs problem (half resolved) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 20:00 +0100
        Re: mkfs problem (half resolved) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-10 20:40 +0100
          Re: mkfs problem (half resolved) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-10 22:00 +0100
            Re: mkfs problem (half resolved) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-10 23:50 +0100
              Re: mkfs problem (half resolved) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-03-11 00:00 +0100

csiph-web