Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Thufir's a Harkonnen now.


computers / comp.os.linux.misc / Formatting USB stick

SubjectAuthor
* Formatting USB stickdb
+* Re: Formatting USB stickMarco Moock
|+* Re: Formatting USB stickAndy Burns
||+- Re: Formatting USB stickMarco Moock
||`* Re: Formatting USB stickThe Natural Philosopher
|| `- Re: Formatting USB stickCarlos E. R.
|+* Re: Formatting USB stickThe Natural Philosopher
||+* Re: Formatting USB stickAndy Burns
|||`- Re: Formatting USB stickThe Natural Philosopher
||`* Re: Formatting USB stickRichard Kettlewell
|| `* Re: Formatting USB stickThe Natural Philosopher
||  `* Re: Formatting USB stickRichard Kettlewell
||   `* Re: Formatting USB stickThe Natural Philosopher
||    `* Re: Formatting USB stickRichard Kettlewell
||     `* Re: Formatting USB stickThe Natural Philosopher
||      +- Re: Formatting USB stickRichard Kettlewell
||      `* Re: Formatting USB stickCarlos E. R.
||       `* Re: Formatting USB stickRichard Kettlewell
||        +- Re: Formatting USB stickCarlos E. R.
||        +* Re: Formatting USB stickThe Natural Philosopher
||        |`- Re: Formatting USB stickDavid W. Hodgins
||        `- Re: Formatting USB stickDavid W. Hodgins
|`* Re: Formatting USB stickcandycanearter07
| +* Re: Formatting USB stickMarco Moock
| |`* Re: Formatting USB stickcandycanearter07
| | +* Re: Formatting USB stickMarco Moock
| | |`* Re: Formatting USB stickDavid W. Hodgins
| | | +* Re: Formatting USB stickMarco Moock
| | | |`* Re: Formatting USB stickDavid W. Hodgins
| | | | +* Re: Formatting USB stickMarco Moock
| | | | |+* Re: Formatting USB stickcandycanearter07
| | | | ||`* Re: Formatting USB stickMarco Moock
| | | | || +- Re: Formatting USB stickDavid W. Hodgins
| | | | || `* Re: Formatting USB stickDavid W. Hodgins
| | | | ||  `* Re: Formatting USB stickThe Natural Philosopher
| | | | ||   `* Re: Formatting USB stickDavid W. Hodgins
| | | | ||    `- Re: Formatting USB stickThe Natural Philosopher
| | | | |`* Re: Formatting USB stickThe Natural Philosopher
| | | | | `* Re: Formatting USB stickCarlos E. R.
| | | | |  +* Re: Formatting USB stickMarco Moock
| | | | |  |`- Re: Formatting USB stickThe Natural Philosopher
| | | | |  `* Re: Formatting USB stickThe Natural Philosopher
| | | | |   `- Re: Formatting USB stickCarlos E. R.
| | | | +* Re: Formatting USB stickThe Natural Philosopher
| | | | |`* Re: Formatting USB stickDavid W. Hodgins
| | | | | `- Re: Formatting USB stickThe Natural Philosopher
| | | | `- Re: Formatting USB stickCarlos E. R.
| | | +- Re: Formatting USB stickThe Natural Philosopher
| | | `* Re: Formatting USB stickCarlos E. R.
| | |  +* Re: Formatting USB stickcandycanearter07
| | |  |`* Re: Formatting USB stickMarco Moock
| | |  | `* Re: Formatting USB stickcandycanearter07
| | |  |  +* Re: Formatting USB stickMarco Moock
| | |  |  |`- Re: Formatting USB stickcandycanearter07
| | |  |  `* Re: Formatting USB stickThe Natural Philosopher
| | |  |   +- Re: Formatting USB stickcandycanearter07
| | |  |   `* Re: Formatting USB stickCarlos E. R.
| | |  |    `* Re: Formatting USB stickThe Natural Philosopher
| | |  |     `- Re: Formatting USB stickCarlos E. R.
| | |  `* Re: Formatting USB stickDavid W. Hodgins
| | |   +- Re: Formatting USB stickThe Natural Philosopher
| | |   `- Re: Formatting USB stickcandycanearter07
| | +* Re: Formatting USB stickMarco Moock
| | |`- Re: Formatting USB stickThe Natural Philosopher
| | `* Re: Formatting USB stickDavid W. Hodgins
| |  `* Re: Formatting USB stickThe Natural Philosopher
| |   `* Re: Formatting USB stickDavid W. Hodgins
| |    `- Re: Formatting USB stickThe Natural Philosopher
| +- Re: Formatting USB stickRichard Kettlewell
| `* Re: Formatting USB stickCarlos E. R.
|  +- Re: Formatting USB stickDavid W. Hodgins
|  `* Re: Formatting USB stickRockinghorse Winner
|   +- Re: Formatting USB stickcandycanearter07
|   +- Re: Formatting USB stickCarlos E. R.
|   `- Re: Formatting USB stickThe Natural Philosopher
+* Re: Formatting USB stick540k.1055
|`* Re: Formatting USB stickAndy Burns
| `- Re: Formatting USB stick540k.1055
`* Re: Formatting USB stickJohn McCue
 +* Re: Formatting USB stickDavid W. Hodgins
 |`* Re: Formatting USB stickRich
 | +- Re: Formatting USB stickComputer Nerd Kev
 | `- Re: Formatting USB stickDavid W. Hodgins
 `- Re: Formatting USB stickCarlos E. R.

Pages:1234
Formatting USB stick

<ubidso$39n1d$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11649&group=comp.os.linux.misc#11649

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.os.linux.misc
Subject: Formatting USB stick
Date: Wed, 16 Aug 2023 14:02:32 +0200
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <ubidso$39n1d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 16 Aug 2023 12:02:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="eca4809dad3edc71c3f9cc500914829f";
logging-data="3464237"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sWrJrFhMQN9qWFoOe7DDqc/9Fhudbgrs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:oGma7kgDUEyfglb9YUOQ7qiuXlI=
Content-Language: en-US
 by: db - Wed, 16 Aug 2023 12:02 UTC

How do I best (and fastest) format a USB stick with a format
that will allow copying files of any size onto it?
Preferably using a typed in command from the console.
I run Kubuntu 23.04.

--
Dieter Britz

Re: Formatting USB stick

<ubihft$3a31f$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11650&group=comp.os.linux.misc#11650

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 15:03:56 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <ubihft$3a31f$1@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 16 Aug 2023 13:03:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="965aa116c0282d12462891f27498fc70";
logging-data="3476527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199GKDuVZrWQORUcCMe2P0s"
Cancel-Lock: sha1:vhKgqj0+Ac11lIjQWlzBAZGgdR8=
 by: Marco Moock - Wed, 16 Aug 2023 13:03 UTC

Am 16.08.2023 um 14:02:32 Uhr schrieb db:

> How do I best (and fastest) format a USB stick with a format
> that will allow copying files of any size onto it?
> Preferably using a typed in command from the console.
> I run Kubuntu 23.04.

fsck.<filesystem> /dev/sdX

Be aware that formatting doesn't delete all blocks on the device, some
data will be recoverable.

Re: Formatting USB stick

<kk406fFtatiU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11651&group=comp.os.linux.misc#11651

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 14:10:40 +0100
Lines: 20
Message-ID: <kk406fFtatiU1@mid.individual.net>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net du9FWEmRrOQPdXjPSug4Kg7gQyAIU/1sShmu55r8Ra5Zrxm7Ct
Cancel-Lock: sha1:CzOotBJSUzS7y4XfsP6jaKgCk5Q= sha256:CSI3AwB2ImOmiy0VC51HiD1Tvl1/T3pQLj9gYP3jzfk=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <ubihft$3a31f$1@dont-email.me>
 by: Andy Burns - Wed, 16 Aug 2023 13:10 UTC

On 16/08/2023 14:03, Marco Moock wrote:

> Am 16.08.2023 um 14:02:32 Uhr schrieb db:
>
>> How do I best (and fastest) format a USB stick with a format
>> that will allow copying files of any size onto it?
>> Preferably using a typed in command from the console.
>> I run Kubuntu 23.04.
>
> fsck.<filesystem> /dev/sdX

perhaps you mean mkfs.<filesystem> /dev/sdX

> Be aware that formatting doesn't delete all blocks on the device, some
> data will be recoverable.

do you need portability to multiple PCs? if so maybe exfat would be a
suitable filesystem ...

Re: Formatting USB stick

<ubii9t$3abve$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11652&group=comp.os.linux.misc#11652

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 15:17:49 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ubii9t$3abve$1@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me>
<ubihft$3a31f$1@dont-email.me>
<kk406fFtatiU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 16 Aug 2023 13:17:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="965aa116c0282d12462891f27498fc70";
logging-data="3485678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZflGfIwiZBInSsClvKYwR"
Cancel-Lock: sha1:elL2tMWmPxRgUVg4IkY0GHmacDA=
 by: Marco Moock - Wed, 16 Aug 2023 13:17 UTC

Am 16.08.2023 um 14:10:40 Uhr schrieb Andy Burns:

> On 16/08/2023 14:03, Marco Moock wrote:
>
> > Am 16.08.2023 um 14:02:32 Uhr schrieb db:
> >
> >> How do I best (and fastest) format a USB stick with a format
> >> that will allow copying files of any size onto it?
> >> Preferably using a typed in command from the console.
> >> I run Kubuntu 23.04.
> >
> > fsck.<filesystem> /dev/sdX
>
> perhaps you mean mkfs.<filesystem> /dev/sdX

True, I was too fast and fsck uses the same dotted command, but does
file system checks.

> > Be aware that formatting doesn't delete all blocks on the device,
> > some data will be recoverable.
>
> do you need portability to multiple PCs? if so maybe exfat would be a
> suitable filesystem ...

exfat, ntfs and fat32 are very common and readable on most machines.

Re: Formatting USB stick

<ubj0f9$3cicu$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11655&group=comp.os.linux.misc#11655

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 18:19:37 +0100
Organization: A little, after lunch
Lines: 24
Message-ID: <ubj0f9$3cicu$7@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 16 Aug 2023 17:19:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="49c114199f676b14dbb475f2ed9e587e";
logging-data="3557790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bTrjHGkXJLf3/afSoJzh7scyN/52Y5bk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:z69lLEhkH5SxkSyYL56SzUUhoDo=
Content-Language: en-GB
In-Reply-To: <ubihft$3a31f$1@dont-email.me>
 by: The Natural Philosop - Wed, 16 Aug 2023 17:19 UTC

On 16/08/2023 14:03, Marco Moock wrote:
> Am 16.08.2023 um 14:02:32 Uhr schrieb db:
>
>> How do I best (and fastest) format a USB stick with a format
>> that will allow copying files of any size onto it?
>> Preferably using a typed in command from the console.
>> I run Kubuntu 23.04.
>
> fsck.<filesystem> /dev/sdX
>
> Be aware that formatting doesn't delete all blocks on the device, some
> data will be recoverable.
>

If you have a NSA style hardware lab, yes.
On and SSD with wear levelling the chances of being able to recover
anything meaningful using just the USB or SATA ports is fairly
negligible, even after a few hours

--
Climate Change: Socialism wearing a lab coat.

Re: Formatting USB stick

<ubj0h3$3cicu$8@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11656&group=comp.os.linux.misc#11656

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 18:20:35 +0100
Organization: A little, after lunch
Lines: 18
Message-ID: <ubj0h3$3cicu$8@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<kk406fFtatiU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 16 Aug 2023 17:20:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="49c114199f676b14dbb475f2ed9e587e";
logging-data="3557790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3kQ7hGtwiUNPR0DqDmo3gcaHDpTVOaFw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:DjdSZAGXxSBScRrCJlZIWXU0Joc=
Content-Language: en-GB
In-Reply-To: <kk406fFtatiU1@mid.individual.net>
 by: The Natural Philosop - Wed, 16 Aug 2023 17:20 UTC

On 16/08/2023 14:10, Andy Burns wrote:
> On 16/08/2023 14:03, Marco Moock wrote:
>
>> Am 16.08.2023 um 14:02:32 Uhr schrieb db:
>>
>>> How do I best (and fastest) format a USB stick with a format
>>> that will allow copying files of any size onto it?

>
> do you need portability to multiple PCs? if so maybe exfat would be a
> suitable filesystem ...
>
>
Ext4 for linux, exFAT for old fashioned winshit

--
Climate Change: Socialism wearing a lab coat.

Re: Formatting USB stick

<kk4gveF1uepU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11658&group=comp.os.linux.misc#11658

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 18:57:03 +0100
Lines: 15
Message-ID: <kk4gveF1uepU2@mid.individual.net>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net dyFy+f2L7NZeTY5Q0gnrNQY7dccQHvuncNQ9/3Afgx/JyMVqOT
Cancel-Lock: sha1:cvy4rjMGF1dFs5C+IOmkDyOawgE= sha256:OkmtIHX5XwSMaj7iLz3fZXstsbHMpVXsUZR4IWvs7J8=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <ubj0f9$3cicu$7@dont-email.me>
 by: Andy Burns - Wed, 16 Aug 2023 17:57 UTC

The Natural Philosopher wrote:

> Marco Moock wrote:
>
>> Be aware that formatting doesn't delete all blocks on the device, some
>> data will be recoverable.
>
> If you have a NSA style hardware lab, yes.
> On and SSD with wear levelling the chances of being able to recover
> anything meaningful using just the USB  or SATA ports is fairly
> negligible, even after a few hours

Don't think I've ever tried PhotoRec on a flash drive, but I've used it
to save a few people's bacon on dying (unbacked-up) hard drives ...

Re: Formatting USB stick

<ubj3nc$3d5ki$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11659&group=comp.os.linux.misc#11659

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 19:15:08 +0100
Organization: A little, after lunch
Lines: 29
Message-ID: <ubj3nc$3d5ki$1@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <kk4gveF1uepU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 16 Aug 2023 18:15:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="49c114199f676b14dbb475f2ed9e587e";
logging-data="3577490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18z01FfxZRTopW/eB9IKyeQnRv9+cjxXoA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:SoiWsovuxTUvQzFrQJJJDDJVdHA=
Content-Language: en-GB
In-Reply-To: <kk4gveF1uepU2@mid.individual.net>
 by: The Natural Philosop - Wed, 16 Aug 2023 18:15 UTC

On 16/08/2023 18:57, Andy Burns wrote:
> The Natural Philosopher wrote:
>
>> Marco Moock wrote:
>>
>>> Be aware that formatting doesn't delete all blocks on the device, some
>>> data will be recoverable.
>>
>> If you have a NSA style hardware lab, yes.
>> On and SSD with wear levelling the chances of being able to recover
>> anything meaningful using just the USB  or SATA ports is fairly
>> negligible, even after a few hours
>
> Don't think I've ever tried PhotoRec on a flash drive, but I've used it
> to save a few people's bacon on dying (unbacked-up) hard drives ...
>
Those have a 1:1 relationship between logical and physical sectors.
SSD drives do not. And even writing just one bit means erasing a huge block.

Also, under use, TRIM operations will typically result in unused blocks
being erased.

--
For every complex problem there is an answer that is clear, simple, and
wrong.

H.L.Mencken

Re: Formatting USB stick

<kk4jp8Fshk5U2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11660&group=comp.os.linux.misc#11660

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Wed, 16 Aug 2023 20:44:56 +0200
Lines: 27
Message-ID: <kk4jp8Fshk5U2@mid.individual.net>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<kk406fFtatiU1@mid.individual.net> <ubj0h3$3cicu$8@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net HvYm69f7Ue9ULm8J6YjhLABvLS8d5jsX5/mLQZvvxkrrSwbTzT
Cancel-Lock: sha1:rgzyQCkTByXaZWwwjkzUW62M5Bc= sha256:Ku0GuRj1U5QtIRL+oMgjjT2huWO0U6jBm5duEz7dvnU=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <ubj0h3$3cicu$8@dont-email.me>
 by: Carlos E. R. - Wed, 16 Aug 2023 18:44 UTC

On 2023-08-16 19:20, The Natural Philosopher wrote:
> On 16/08/2023 14:10, Andy Burns wrote:
>> On 16/08/2023 14:03, Marco Moock wrote:
>>
>>> Am 16.08.2023 um 14:02:32 Uhr schrieb db:
>>>
>>>> How do I best (and fastest) format a USB stick with a format
>>>> that will allow copying files of any size onto it?
>
>>
>> do you need portability to multiple PCs? if so maybe exfat would be a
>> suitable filesystem ...
>>
>>
> Ext4 for linux, exFAT for old fashioned winshit

Remember cameras and TV sets.

Another issue is durability of the stick: they are mostly designed for
FAT, the area where the FAT is, withstands more writes.

For ext4, you should disable the journal.

--
Cheers,
Carlos E.R.

Re: Formatting USB stick

<kfucne_VYe8wMED5nZ2dnZfqn_udnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11665&group=comp.os.linux.misc#11665

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Aug 2023 05:18:36 +0000
Subject: Re: Formatting USB stick
Newsgroups: comp.os.linux.misc
References: <ubidso$39n1d$1@dont-email.me>
From: 540k.1...@qtq7.net (540k.1055)
Organization: hickory tangential
Date: Thu, 17 Aug 2023 01:18:21 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ubidso$39n1d$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <kfucne_VYe8wMED5nZ2dnZfqn_udnZ2d@earthlink.com>
Lines: 17
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.212.127.63
X-Trace: sv3-lyQyJ6HEzkNIIAMhlGoltLqIKAbYm5TL0HJsDamdHifKDFaN4UWEFsaJIbf5eXpm9MuvaLnfO2XYiwG!UPrw1oMCvs4zbZOgyvzoQVSb1CB19l1t1o4V4e7zj9kj1nAOy+VnxdOMVkuUc7NWfzbybhK7HHGS!3KivvD9/u5hbnLxPDU65
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 540k.1055 - Thu, 17 Aug 2023 05:18 UTC

On 8/16/23 8:02 AM, db wrote:
> How do I best (and fastest) format a USB stick with a format
> that will allow copying files of any size onto it?
> Preferably using a typed in command from the console.
> I run Kubuntu 23.04.

Use 'sudo gparted", find the stick, give it a new
partition table using the menu item - MSDOS is
probably good enough for any USB stick but GPT
might serve a tad better. Then create a new
partition in FAT32, or maybe NTFS if you expect
files over 4gb in size.

Yes, an ext3/ext4 partition will also deal with
very large files, but it's less "compatible",
you are basically restricted to the Linux universe.
Winders can deal with FAT32 or NTFS.

Re: Formatting USB stick

<kk5vgpF9l8tU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11668&group=comp.os.linux.misc#11668

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Thu, 17 Aug 2023 08:11:23 +0100
Lines: 6
Message-ID: <kk5vgpF9l8tU1@mid.individual.net>
References: <ubidso$39n1d$1@dont-email.me>
<kfucne_VYe8wMED5nZ2dnZfqn_udnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 7pwg6vuqD08Vg080c8CaCgHZc1MhkE3y/ldYxRm8gU3vfAHyCh
Cancel-Lock: sha1:p4YPxNSDhXeJ3V7cLm18ezZ5LFg= sha256:FcqHiP9ykpotc13xZZT3a8g+pD4D/g0/XJZ3ewK68Pg=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <kfucne_VYe8wMED5nZ2dnZfqn_udnZ2d@earthlink.com>
 by: Andy Burns - Thu, 17 Aug 2023 07:11 UTC

540k.1055 wrote:

>   Winders can deal with FAT32 or NTFS.

FAT32 can deal with large devices, but tops out at 4GB files.

Re: Formatting USB stick

<wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11670&group=comp.os.linux.misc#11670

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Thu, 17 Aug 2023 08:19:13 +0100
Organization: terraraq NNTP server
Message-ID: <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="71318"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:4OsbUG2PpbIA9qxFpAWWlGLC72I=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Thu, 17 Aug 2023 07:19 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 16/08/2023 14:03, Marco Moock wrote:
>> Am 16.08.2023 um 14:02:32 Uhr schrieb db:
>>
>>> How do I best (and fastest) format a USB stick with a format
>>> that will allow copying files of any size onto it?
>>> Preferably using a typed in command from the console.
>>> I run Kubuntu 23.04.
>> fsck.<filesystem> /dev/sdX

(Should be mkfs.)

>> Be aware that formatting doesn't delete all blocks on the device,
>> some
>> data will be recoverable.
>
> If you have a NSA style hardware lab, yes.
> On and SSD with wear levelling the chances of being able to recover
> anything meaningful using just the USB or SATA ports is fairly
> negligible, even after a few hours

OP didn’t seem to be asking about confidentiality, but:

It depends. mkfs does two things:

1) In some cases, it uses TRIM to set the entire partition to 0. For
instance mkfs.ext4 does this by default. Other variants might or
might not do the same.

If it does attempt this, _and_ if the device supports TRIM, host
reads of every block (except those written in stage 2) will
subsequently return all-bytes-0. So, no way to recovery anything that
was previously in the partition via normal IO operations.

But if those two condition are not met, you’ll be able to read back
most of the old data in the partition with ease, no hardware lab
required.

2) It will write a relatively small nunber of blocks to create an empty
filesystem on the partition. This will overwrite old data from the
point of view of normal IO operations, but leave most of the
partition unaffected.

The OP is using a USB stick; there’s a good chance it doesn’t support
TRIM.

For a device that does support TRIM (e.g. SSD, some modern hard drives),
that’s not the end of the story. TRIM doesn’t zero out the underlying
physical storage; it just updates the logical-to-physical mapping in the
device’s onboard controller.

If the controller is a separate component from the physical storage
(e.g. an SMR hard disk) then presumably that’s relatively easy to
bypass, for someone with the right skills.

If they are the same component then that’s rather harder. I assume you’d
look for a debug interface before you started decapping chips.

Anyway, for anyone who really cares about confidentiality, trying to
figure out how to securely erase the device is the wrong answer. Instead
the solution is to encrypt anything confidential on it from the
start. This is particularly important for USB sticks and external drives
since they are relatively easy to lose.

--
https://www.greenend.org.uk/rjk/

Re: Formatting USB stick

<ubki6f$3mg8s$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11672&group=comp.os.linux.misc#11672

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Thu, 17 Aug 2023 08:28:15 +0100
Organization: A little, after lunch
Lines: 32
Message-ID: <ubki6f$3mg8s$7@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 07:28:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b774bcc341983c44d21192c1beaaeeba";
logging-data="3883292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Zi5GMULNbQ2ybgBu5CwH+h58ZUwtmGog="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:6EK/CEZLvmzjdBEbHhDehOPxJzw=
Content-Language: en-GB
In-Reply-To: <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
 by: The Natural Philosop - Thu, 17 Aug 2023 07:28 UTC

On 17/08/2023 08:19, Richard Kettlewell wrote:
> 2) It will write a relatively small number of blocks to create an empty
> filesystem on the partition. This will overwrite old data from the
> point of view of normal IO operations, but leave most of the
> partition unaffected.

Ah, but will it?

If the disk now 'knows' that e.g. block X has no valid data on it, will
it actually return it's contents if asked?

I.e. if the consider that the disk interface is in terms of logical
sectors that have a random and unknown relationship with actual flash
blocks, that is controlled by the disk internal smarts, than if a read
to a sector the drive *has not actually mapped at all* is requested,
what happens? The data may be in a block, but if the block is marked
'empty' or 'not been written' by the disk firmware..

I think you are assuming more about how the drive responds to formatting
than is necessarily true.

--
Of what good are dead warriors? … Warriors are those who desire battle
more than peace. Those who seek battle despite peace. Those who thump
their spears on the ground and talk of honor. Those who leap high the
battle dance and dream of glory … The good of dead warriors, Mother, is
that they are dead.
Sheri S Tepper: The Awakeners.

Re: Formatting USB stick

<wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11676&group=comp.os.linux.misc#11676

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Thu, 17 Aug 2023 18:34:07 +0100
Organization: terraraq NNTP server
Message-ID: <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="80466"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:9HaRU92zt4+RNC37EA3RW++Nl+A=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Thu, 17 Aug 2023 17:34 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> I think you are assuming more about how the drive responds to
> formatting than is necessarily true.

No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from the
possible use of TRIM, it’s all normal IO.

--
https://www.greenend.org.uk/rjk/

Re: Formatting USB stick

<UeGdnVkeX7c7Y0P5nZ2dnZfqnPudnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11677&group=comp.os.linux.misc#11677

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 18 Aug 2023 05:16:22 +0000
Subject: Re: Formatting USB stick
Newsgroups: comp.os.linux.misc
References: <ubidso$39n1d$1@dont-email.me>
<kfucne_VYe8wMED5nZ2dnZfqn_udnZ2d@earthlink.com>
<kk5vgpF9l8tU1@mid.individual.net>
From: 540k.1...@qtq7.net (540k.1055)
Organization: hickory tangential
Date: Fri, 18 Aug 2023 01:15:37 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <kk5vgpF9l8tU1@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <UeGdnVkeX7c7Y0P5nZ2dnZfqnPudnZ2d@earthlink.com>
Lines: 16
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.212.127.63
X-Trace: sv3-fHJKkohNmViVXtL7hU82xqwc3dg0SIPcJodfB3DGqBA2jfGC0RilT7bU3QBmNU33PzKexlMV5er+Dpo!xghcxxo/pXSfi2V9MblJwHAiMoBTARc90el6yZd5nPTDu08fvVE/UUwd3xcDpJBtdUPrJV4ZWvHn!wgQo0dS8fqsEmpvREAJb
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 540k.1055 - Fri, 18 Aug 2023 05:15 UTC

On 8/17/23 3:11 AM, Andy Burns wrote:
> 540k.1055 wrote:
>
>>    Winders can deal with FAT32 or NTFS.
>
> FAT32 can deal with large devices, but tops out at 4GB files.

I thought I noted that. Not 100% sure what kind of
files the OP has in mind. 4gb might be way beyond
the idea of "big" - or not.

The best general rule is to stick to FAT32 with USB
sticks unless it's just impossible. Alas writing 4+gb
files to a stick, even with USB3+, is NOT very quick.
Sticks are also rather untrustworthy. Might last many
years, might last a few hours .....

Re: Formatting USB stick

<ubn6tm$5vqa$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11678&group=comp.os.linux.misc#11678

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 08:34:14 +0100
Organization: A little, after lunch
Lines: 14
Message-ID: <ubn6tm$5vqa$4@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me> <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Aug 2023 07:34:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7179f08ab2177105fecc6bec380e59d6";
logging-data="196426"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9ja6V9RPpl9QH52xGaaPwewqE/Yu27g4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:SIS+O+MI71WkRh5istk1YInJ26M=
In-Reply-To: <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 18 Aug 2023 07:34 UTC

On 17/08/2023 18:34, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> I think you are assuming more about how the drive responds to
>> formatting than is necessarily true.
>
> No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from the
> possible use of TRIM, it’s all normal IO.
>

But how does the drive respond to 'normal IO?'

--
No Apple devices were knowingly used in the preparation of this post.

Re: Formatting USB stick

<ubo3o3$ahb0$1@tor.dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11679&group=comp.os.linux.misc#11679

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!tor.dont-email.me!.POSTED!not-for-mail
From: jmc...@magnetar.jmcunx.com (John McCue)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 15:46:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <ubo3o3$ahb0$1@tor.dont-email.me>
References: <ubidso$39n1d$1@dont-email.me>
Reply-To: jmclnx@SPAMisBADgmail.com
Injection-Date: Fri, 18 Aug 2023 15:46:11 -0000 (UTC)
Injection-Info: tor.dont-email.me; posting-host="81e43e2bf2d6480177e0f5614b0546be";
logging-data="345440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rv5ZRrLwv47uvznCVcbYs"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.118 (x86_64))
Cancel-Lock: sha1:IaQ2wgVDb9cWsBvPmh8Ds4C6dGI=
X-OS-Version: Slackware 15.0 x86_64
 by: John McCue - Fri, 18 Aug 2023 15:46 UTC

db <dieterhansbritz@gmail.com> wrote:
> How do I best (and fastest) format a USB stick with a format
> that will allow copying files of any size onto it?

File of any size ?? You will be limited by disk space.
But if you mean files larger than 4G, read on.
This assumes you do not want an encrypted file system.

> Preferably using a typed in command from the console.
> I run Kubuntu 23.04.

??? Is the device
Be VERY CAREFUL you do not destroy
your hard disk. Login as root.

Plugin the flash drive dmesg(1) should should print
the device as /dev/???.

fdisk /dev/???
You should create 1 partition and set it to type 83
remove whatever partition happens to be there.

mkfs.ext4 -O ^has_journal /dev/???x
'x' is probably the number 1, but that depends upon
what you did using fdisk. Since a usb flash drive,
no need for a journal

I chose ext4, but this will will be only readable on Linux.
ext4 will allow files larger than 4 gig. But any Linux
File System should do.

If you want a Windows type FS, I do not know of any that
will allow file sizes larger than 4 gig. But maybe they
exist now ?

You are done.
HTH

--
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars

Re: Formatting USB stick

<wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11680&group=comp.os.linux.misc#11680

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 17:04:07 +0100
Organization: terraraq NNTP server
Message-ID: <wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me> <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
<ubn6tm$5vqa$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="100236"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:APffdGIbm1p9lhuEOAFG/nsSy0Y=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Fri, 18 Aug 2023 16:04 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 17/08/2023 18:34, Richard Kettlewell wrote:
>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>> I think you are assuming more about how the drive responds to
>>> formatting than is necessarily true.
>> No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from
>> the possible use of TRIM, it’s all normal IO.
>
> But how does the drive respond to 'normal IO?'

You write a block to it, when you read that block back you get what you
wrote. It wouldn’t be very useful as a storage device if it did anything
else.

--
https://www.greenend.org.uk/rjk/

Re: Formatting USB stick

<ubo8te$ba35$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11681&group=comp.os.linux.misc#11681

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 18:14:22 +0100
Organization: A little, after lunch
Lines: 30
Message-ID: <ubo8te$ba35$1@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me> <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
<ubn6tm$5vqa$4@dont-email.me> <wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Aug 2023 17:14:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7179f08ab2177105fecc6bec380e59d6";
logging-data="370789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nu9nE/AaQpidiUIiIHih6GLgxSJMAWmQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:WksRwkIkZxDWQIVKX6BqLEIthhI=
Content-Language: en-GB
In-Reply-To: <wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>
 by: The Natural Philosop - Fri, 18 Aug 2023 17:14 UTC

On 18/08/2023 17:04, Richard Kettlewell wrote:
> The Natural Philosopher <tnp@invalid.invalid> writes:
>> On 17/08/2023 18:34, Richard Kettlewell wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>>> I think you are assuming more about how the drive responds to
>>>> formatting than is necessarily true.
>>> No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from
>>> the possible use of TRIM, it’s all normal IO.
>>
>> But how does the drive respond to 'normal IO?'
>
> You write a block to it, when you read that block back you get what you
> wrote. It wouldn’t be very useful as a storage device if it did anything
> else.
>
Yes, but what does it do to blocks that it has *not* written to that the
format process has marked as irrelevant?

The question is whether writing and indeed reading a flash device will
alter data that has been written to *other* logical blocks that are not
marked as 'in use'

--
"Anyone who believes that the laws of physics are mere social
conventions is invited to try transgressing those conventions from the
windows of my apartment. (I live on the twenty-first floor.) "

Alan Sokal

Re: Formatting USB stick

<op.19vw7jh6a3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11682&group=comp.os.linux.misc#11682

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 14:19:57 -0400
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <op.19vw7jh6a3w0dxdave@hodgins.homeip.net>
References: <ubidso$39n1d$1@dont-email.me> <ubo3o3$ahb0$1@tor.dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="81a4a10fb452339b201900b91aa15712";
logging-data="388751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eg4NgdLNB6JnxS/alVz1JARve/enlzgM="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:L8YgOudywUj9pAfWS6M347BNyXU=
 by: David W. Hodgins - Fri, 18 Aug 2023 18:19 UTC

On Fri, 18 Aug 2023 11:46:11 -0400, John McCue <jmccue@magnetar.jmcunx.com> wrote:
<snip>
> I chose ext4, but this will will be only readable on Linux.
> ext4 will allow files larger than 4 gig. But any Linux
> File System should do.
>
> If you want a Windows type FS, I do not know of any that
> will allow file sizes larger than 4 gig. But maybe they
> exist now ?

From https://en.wikipedia.org/wiki/ExFAT
Max volume size 128 PB, 512 TB recommended
Max file size 128 PB

Regards Dave Hodgins

Re: Formatting USB stick

<uboh95$ceql$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11683&group=comp.os.linux.misc#11683

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 19:37:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uboh95$ceql$1@dont-email.me>
References: <ubidso$39n1d$1@dont-email.me> <ubo3o3$ahb0$1@tor.dont-email.me> <op.19vw7jh6a3w0dxdave@hodgins.homeip.net>
Injection-Date: Fri, 18 Aug 2023 19:37:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5c50874c62ac0227a93700479c79be53";
logging-data="408405"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R7cMCWNSFJ5ROODKXg8C9"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.117 (x86_64))
Cancel-Lock: sha1:+Ksh+c+GJdTkG8BpCstV1NvDw/A=
 by: Rich - Fri, 18 Aug 2023 19:37 UTC

David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Fri, 18 Aug 2023 11:46:11 -0400, John McCue <jmccue@magnetar.jmcunx.com> wrote:
> <snip>
>> I chose ext4, but this will will be only readable on Linux.
>> ext4 will allow files larger than 4 gig. But any Linux
>> File System should do.
>>
>> If you want a Windows type FS, I do not know of any that
>> will allow file sizes larger than 4 gig. But maybe they
>> exist now ?
>
> From https://en.wikipedia.org/wiki/ExFAT
> Max volume size 128 PB, 512 TB recommended
> Max file size 128 PB

UDF on a USB stick also works with Window and Linux machines (I have no
knowledge regarding it working with Mac's) , and the size limits of UDF
are:

Max volume size 2 TiB (with 512-byte sectors), 8 TiB (with 2 KiB
sectors, like most optical discs), 16 TiB (with 4 KiB sectors)

Max file size 16 EiB

(from https://en.wikipedia.org/wiki/Universal_Disk_Format)

And looking at those numbers above, it appears to allow a maximum file
size that is larger than its max volume size (or Wikipedia has an
error).

Re: Formatting USB stick

<64e01319@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11684&group=comp.os.linux.misc#11684

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <64e01319@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Formatting USB stick
Newsgroups: comp.os.linux.misc
References: <ubidso$39n1d$1@dont-email.me> <ubo3o3$ahb0$1@tor.dont-email.me> <op.19vw7jh6a3w0dxdave@hodgins.homeip.net> <uboh95$ceql$1@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 19 Aug 2023 10:55:54 +1000
Organization: Ausics - https://www.ausics.net
Lines: 13
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Sat, 19 Aug 2023 00:55 UTC

Rich <rich@example.invalid> wrote:
>
> UDF on a USB stick also works with Window and Linux machines (I have no
> knowledge regarding it working with Mac's)

Interesting, I hadn't seen that in a non CD/DVD content. It seems
you use "mkudffs" from udftools to create a UDF filesystem in
Linux (it took me a little while to work out that the command isn't
in mkfs.<filesystem> form).

--
__ __
#_ < |\| |< _#

Re: Formatting USB stick

<op.19wegwgpa3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11685&group=comp.os.linux.misc#11685

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Fri, 18 Aug 2023 20:32:46 -0400
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <op.19wegwgpa3w0dxdave@hodgins.homeip.net>
References: <ubidso$39n1d$1@dont-email.me> <ubo3o3$ahb0$1@tor.dont-email.me>
<op.19vw7jh6a3w0dxdave@hodgins.homeip.net> <uboh95$ceql$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="f61fcb77ec5f77cec08f98c095191558";
logging-data="679019"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5ModLBqdRCV+WWx0hCAW+KzBGf6uwYH4="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:cCjFPIgqxNR+6LYgptp1eANapVA=
 by: David W. Hodgins - Sat, 19 Aug 2023 00:32 UTC

On Fri, 18 Aug 2023 15:37:09 -0400, Rich <rich@example.invalid> wrote:

> David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>> On Fri, 18 Aug 2023 11:46:11 -0400, John McCue <jmccue@magnetar.jmcunx.com> wrote:
>> <snip>
>>> I chose ext4, but this will will be only readable on Linux.
>>> ext4 will allow files larger than 4 gig. But any Linux
>>> File System should do.
>>>
>>> If you want a Windows type FS, I do not know of any that
>>> will allow file sizes larger than 4 gig. But maybe they
>>> exist now ?
>>
>> From https://en.wikipedia.org/wiki/ExFAT
>> Max volume size 128 PB, 512 TB recommended
>> Max file size 128 PB
>
> UDF on a USB stick also works with Window and Linux machines (I have no
> knowledge regarding it working with Mac's) , and the size limits of UDF
> are:
>
> Max volume size 2 TiB (with 512-byte sectors), 8 TiB (with 2 KiB
> sectors, like most optical discs), 16 TiB (with 4 KiB sectors)
>
> Max file size 16 EiB
>
> (from https://en.wikipedia.org/wiki/Universal_Disk_Format)
>
> And looking at those numbers above, it appears to allow a maximum file
> size that is larger than its max volume size (or Wikipedia has an
> error).

I read the above as meaning a max file size of 128 PB or the size of the device,
whichever is smaller.

Regards, Dave Hodgins

Re: Formatting USB stick

<wwvcyzjqq82.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11686&group=comp.os.linux.misc#11686

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Sat, 19 Aug 2023 11:30:21 +0100
Organization: terraraq NNTP server
Message-ID: <wwvcyzjqq82.fsf@LkoBDZeT.terraraq.uk>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me> <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
<ubn6tm$5vqa$4@dont-email.me> <wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>
<ubo8te$ba35$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="116431"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:3mA0DWLrH1mWOhm7EfeP6ajyTY0=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sat, 19 Aug 2023 10:30 UTC

The Natural Philosopher <tnp@invalid.invalid> writes:
> On 18/08/2023 17:04, Richard Kettlewell wrote:
>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>> On 17/08/2023 18:34, Richard Kettlewell wrote:
>>>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>>>> I think you are assuming more about how the drive responds to
>>>>> formatting than is necessarily true.
>>>> No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from
>>>> the possible use of TRIM, it’s all normal IO.
>>>
>>> But how does the drive respond to 'normal IO?'
>> You write a block to it, when you read that block back you get what
>> you wrote. It wouldn’t be very useful as a storage device if it did
>> anything else.
>
> Yes, but what does it do to blocks that it has *not* written to that
> the format process has marked as irrelevant?

In the case where TRIM isn’t used or isn’t supported by the device, it
does nothing to them. mkfs doesn’t write to them so they do not change.

--
https://www.greenend.org.uk/rjk/

Re: Formatting USB stick

<kkcemhF8i6tU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=11687&group=comp.os.linux.misc#11687

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Formatting USB stick
Date: Sat, 19 Aug 2023 14:07:13 -0400
Lines: 34
Message-ID: <kkcemhF8i6tU2@mid.individual.net>
References: <ubidso$39n1d$1@dont-email.me> <ubihft$3a31f$1@dont-email.me>
<ubj0f9$3cicu$7@dont-email.me> <wwvmsyqi1am.fsf@LkoBDZeT.terraraq.uk>
<ubki6f$3mg8s$7@dont-email.me> <wwvmsypshdc.fsf@LkoBDZeT.terraraq.uk>
<ubn6tm$5vqa$4@dont-email.me> <wwv1qg09w20.fsf@LkoBDZeT.terraraq.uk>
<ubo8te$ba35$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net s5AWC6334pk2Sw9F1WNbyApcHJIBGzscZVoHwQ76k/WZ+T8X/A
Cancel-Lock: sha1:AjZhwVahDS1cf1dGKbc/uj6WSos= sha256:Es8z+JoFPtND1sUPp3YWtWR6gcPIVxpISGT75rM2A4s=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <ubo8te$ba35$1@dont-email.me>
 by: Carlos E. R. - Sat, 19 Aug 2023 18:07 UTC

On 2023-08-18 13:14, The Natural Philosopher wrote:
> On 18/08/2023 17:04, Richard Kettlewell wrote:
>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>> On 17/08/2023 18:34, Richard Kettlewell wrote:
>>>> The Natural Philosopher <tnp@invalid.invalid> writes:
>>>>> I think you are assuming more about how the drive responds to
>>>>> formatting than is necessarily true.
>>>> No, I’m not. ‘Formatting’ in this case just means mkfs. Apart from
>>>> the possible use of TRIM, it’s all normal IO.
>>>
>>> But how does the drive respond to 'normal IO?'
>>
>> You write a block to it, when you read that block back you get what you
>> wrote. It wouldn’t be very useful as a storage device if it did anything
>> else.
>>
> Yes, but what does it do to blocks that it has *not* written to that the
> format process has marked as irrelevant?
>
> The question is whether writing and indeed reading a flash device will
> alter data that has been written to *other* logical blocks that are not
> marked as 'in use'

For example, if i/o operations happens in blocks of 32K (arbitrary
number just for this example), and blocks are formatted in chunks of 512
bytes, the operating systems reads the 32K and gives the program just
the 512 bytes. The rest should be cached by the kernel. And when writing
the 512 bytes, the kernel actually writes the 32K.

--
Cheers,
Carlos E.R.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor