The Real Bev schrieb am 2016-04-13 um 21:14:
> On 04/13/2016 02:46 AM, Marob Katon wrote:
>> nospam wrote:
>>
>>> actually they aren't.
>>> erasing is done by formatting.
>>
>> At this point, saying erasing and formatting are the same is only
>> to say that they mean the same thing on Android, but they don't
>> mean the same thing in, say, Windows.
>>
>> I learned what a format was from my experience of Windows, and it's
>> definitely not the same thing there as an erase.
>
> To me, 'format' means 'completely destroy the structure (and contents)
> that was there and lay down a new one which might be completely
> different from the old one'. 'Delete' means 'remove one or more files',
> but they might or might not be recoverable depending on how the deletion
> occurs. 'Erase' might mean either of those things, they should be more
> explicit, but I would have thought it was closer to 'delete' than
> 'format'.
In the good old days when I was a young man ;-), there was only magnetic
storage and punched cards and punched tape (ok - the punched tape was
about to fade away - but I remember the daily use of punched cards when
I was a young boy ;-)). And the harddiscs these days didn't come with
servo tracks but only used mechanical stepper motors. The same was true
for floppy discs. To store data on this kind of storage you needed to
write a magnetic sector structure first - this was called "formatting".
To erase a medium you could just use strong magnets - and "format" it again.
But this did not last very long. Above about 40 MB per harddisc the
mechanical precision of stepper motors was not good enough to address
individual tracks - and so the idea of "servo" tracks and the use of
voice coils instead of stepper motors was invented. The manufacturer did
the "formatting" during the manufacturing process where specialized
machines created the servo tracks and the sector structure (trough a
hole from the outside of the harddisc case which was then sealed
afterwards - you can sometimes still can see the sticker on the side
which covers the service hole).
When the harddisc is used a controller moves the read/write head in a
fluid motion without any steps at all along the disc surface and tries
to find the signal of a "servo" track to lock on. A real "format"
procedure was not possible any longer. "Formatting" was the procedue to
check if all existing sectors between the servo tracks are readable and
to record the damaged parts in a "bad sector table", so they did not get
used any longer.
The latter one is what Windows does when "formatting" a harddisc - just
reading all sectors and recording the bad ones in the FAT or MFT so they
don't get used by accident when writing a file and recording the good
sectors as "free" in the FAT or MFT. And even this is not precise any
longer since modern harddisc always present all sectors as "OK" and do
the defect management with spare sectors on their own.
When "formatting" a flash memory you even don't check sectors any longer
- you just create a new logical file system. There may be bad flash
cells, but it is the responsibility of the flash controller to skip
those cells and use sectors from the "spare" section - that's the reason
why SSDs have a certain amount of "spare" area and why SD cards just
fail sometimes - because SD cards are much simpler than SSDs and there
is no sophisticated defect management, since SD cards where never
intented as reliable mass storage like harddiscs or SSDs (don't get
fooled by the "secure digital" - "secure" means "secure data by copy
protection" not "secure storage").
But back to the end users perspective:
How many smartphone users could really explain the difference between
"format" and "erase"? And if Android only offers one function anway to
format/erase an SD card - what would be more understandable for end
users? "format SD card"? "erase SD card"?