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


Groups > sci.electronics.design > #410363 > unrolled thread

Verifying SD Cards

Started byrickman <gnuarm@gmail.com>
First post2016-05-03 10:54 -0400
Last post2016-05-11 21:19 +0100
Articles 20 on this page of 110 — 30 participants

Back to article view | Back to sci.electronics.design


Contents

  Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 10:54 -0400
    Re: Verifying SD Cards David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-05-03 17:52 +0100
    Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-03 19:17 +0200
      Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 14:34 -0400
        Re: Verifying SD Cards "Dr. Dynamite" <ka-bang@mail.com> - 2016-05-03 12:26 -0700
          Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 16:31 -0400
            Re: Verifying SD Cards "Dr. Dynamite" <ka-bang@mail.com> - 2016-05-03 20:40 -0700
              Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 00:44 -0400
                Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 03:50 -0400
                  Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-04 09:25 +0100
                    Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:06 -0400
                      Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:22 -0400
                      Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 18:41 +0100
                        Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:15 -0400
                          Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:21 -0400
                            Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:46 -0400
                              Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 12:24 -0700
                                Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 17:03 -0400
                                  Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 14:36 -0700
                                    Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 18:44 -0400
                                      Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 19:08 -0400
                                        Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-04 18:17 -0500
                                          Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 21:47 -0400
                                      Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-04 21:35 -0400
                                        Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 07:47 +0100
                                          Re: Verifying SD Cards Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-05-05 14:30 +0200
                                            Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 08:47 -0400
                                              Re: Verifying SD Cards Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-05 13:19 +0000
                                            Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 20:19 +0100
                                              Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-05 19:51 -0500
                                                Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 21:55 -0400
                                            Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-05 20:16 -0400
                                      Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 18:45 -0700
                                        Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 11:28 +1000
                                          Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 23:05 -0400
                                            Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 14:12 +1000
                                              Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 01:45 -0400
                                              Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 07:11 -0400
                                            Re: Verifying SD Cards John Doe <always.look@message.header> - 2016-05-06 05:25 +0000
                                              Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-06 02:45 -0400
                                                Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-06 05:10 -0400
                                          Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 20:18 -0700
                                        Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 00:33 -0400
                                  Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 09:02 +1000
                                  Re: Verifying SD Cards alister <alister.ware@ntlworld.com> - 2016-05-05 12:17 +0000
                                    Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 08:43 -0400
                                      Re: Verifying SD Cards The Natural Philosopher <tnp@invalid.invalid> - 2016-05-05 13:45 +0100
                                        Re: Verifying SD Cards alister <alister.ware@ntlworld.com> - 2016-05-05 15:32 +0000
                                  Re: Verifying SD Cards Rob <nomail@example.com> - 2016-05-05 17:00 +0000
                                    Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 15:23 -0400
                                      Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-05 20:37 +0100
                                      Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-06 03:09 +0100
                                    Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 21:53 -0400
                                      Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-06 03:23 +0100
                                        Re: Verifying SD Cards Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-05-05 19:32 -0700
                                        Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 22:39 -0400
                                      Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-06 10:39 +0000
                                        Re: Verifying SD Cards The Natural Philosopher <tnp@invalid.invalid> - 2016-05-06 13:14 +0100
                                          Re: Verifying SD Cards Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-05-06 15:35 +0300
                                            Re: Verifying SD Cards George Neuner <gneuner2@comcast.net> - 2016-05-06 13:29 -0400
                                          Re: Verifying SD Cards Ahem A Rivet's Shot <steveo@eircom.net> - 2016-05-06 18:26 +0100
                                          Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-06 22:39 +0000
                                            Re: Verifying SD Cards Rob <nomail@example.com> - 2016-05-07 07:20 +0000
                                              Re: Verifying SD Cards Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-07 08:18 +0000
                                                Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 04:38 -0400
                                                  Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-07 11:29 +0000
                                                    Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 07:52 -0400
                                                      Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-07 13:04 +0100
                                                        Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 08:49 -0400
                                                        Re: Verifying SD Cards JW <none@dev.null> - 2016-05-11 09:54 -0400
                                                          Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-11 10:50 -0400
                                                          Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-11 18:59 +0100
                                              Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-07 10:06 +0100
                                                Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 08:48 -0400
                                              Re: Verifying SD Cards Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-05-07 12:01 +0200
                                                Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-08 15:29 -0500
                                Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-04 16:03 -0500
                            Re: Verifying SD Cards Martin Riddle <martin_rid@verizon.net> - 2016-05-04 15:42 -0400
                            Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-04 23:17 +0200
                          Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 20:37 +0100
                            Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-04 23:21 +0200
                          Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 07:41 +0100
                        Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-04 21:20 -0400
                          Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 00:40 -0400
                          Re: Verifying SD Cards Bryan Hogan <spam@nowhere.invalid> - 2016-05-07 02:30 +0100
                            Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-06 22:03 -0400
    Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 13:42 -0700
      Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 17:33 -0400
        Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 20:43 -0700
          Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 00:02 -0400
            Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 21:40 -0700
              Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 01:12 -0400
                Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 23:55 -0700
                  Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 03:46 -0400
          Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 11:45 +0100
            Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:09 -0400
        Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 02:24 -0700
          Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 08:08 -0400
            Re: Verifying SD Cards Ahem A Rivet's Shot <steveo@eircom.net> - 2016-05-04 14:40 +0100
              Re: Verifying SD Cards "Kerr Mudd-John" <admin@127.0.0.1> - 2016-05-04 15:14 +0100
                Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:25 -0400
              Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:18 -0400
          Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:14 -0400
    Re: Verifying SD Cards Martin Riddle <martin_rid@verizon.net> - 2016-05-03 16:50 -0400
      Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:15 -0400
    Re: Verifying SD Cards David Brown <david.brown@hesbynett.no> - 2016-05-04 10:17 +0200
    Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-11 14:58 -0400
      Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-11 12:08 -0700
        Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-11 21:06 +0100
      Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-11 21:19 +0100

Page 2 of 6 — ← Prev page 1 [2] 3 4 5 6  Next page →


#410547

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-04 19:08 -0400
Message-ID<c50lib1c6jqanfd9hcgo4h7sfico95c96p@4ax.com>
In reply to#410544
On Wed, 4 May 2016 18:44:24 -0400, rickman <gnuarm@gmail.com> Gave us:

>You've lost me.  There is no rule that you can't use a FAT32 volume over 
>32 GB under windows.  You just can't easily make it.  I formatted my 64 
>GB SDXC card in one partition with FAT32.  I'm not sure what you are 
>trying to say.  Where is the down side?
>

  Windows being able to recognize and actually read files written past
that point on the drive.  Doh!

[toc] | [prev] | [next] | [standalone]


#410552

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-05-04 18:17 -0500
Message-ID<6k0lib9k1monbucfsbng5pmrp4tnqa1aes@4ax.com>
In reply to#410547
On Wed, 04 May 2016 19:08:13 -0400, DecadentLinuxUserNumeroUno
<DLU1@DecadentLinuxUser.org> wrote:

>On Wed, 4 May 2016 18:44:24 -0400, rickman <gnuarm@gmail.com> Gave us:
>
>>You've lost me.  There is no rule that you can't use a FAT32 volume over 
>>32 GB under windows.  You just can't easily make it.  I formatted my 64 
>>GB SDXC card in one partition with FAT32.  I'm not sure what you are 
>>trying to say.  Where is the down side?
>>
>
>  Windows being able to recognize and actually read files written past
>that point on the drive.  Doh!


AFAIK, Windows has no problem reading FAT32 volumes up to 2TB.  It's
just that recent versions of FDISK (or equivalent) won't let you
create one bigger than 32GB.  The FDISK from Win98 had no such
restriction.  Third party versions can do that as well.

[toc] | [prev] | [next] | [standalone]


#410582

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-04 21:47 -0400
Message-ID<gf9libtui6fv541uve4petjdgi9g9ek0lo@4ax.com>
In reply to#410552
On Wed, 04 May 2016 18:17:33 -0500, Robert Wessel
<robertwessel2@yahoo.com> Gave us:

>On Wed, 04 May 2016 19:08:13 -0400, DecadentLinuxUserNumeroUno
><DLU1@DecadentLinuxUser.org> wrote:
>
>>On Wed, 4 May 2016 18:44:24 -0400, rickman <gnuarm@gmail.com> Gave us:
>>
>>>You've lost me.  There is no rule that you can't use a FAT32 volume over 
>>>32 GB under windows.  You just can't easily make it.  I formatted my 64 
>>>GB SDXC card in one partition with FAT32.  I'm not sure what you are 
>>>trying to say.  Where is the down side?
>>>
>>
>>  Windows being able to recognize and actually read files written past
>>that point on the drive.  Doh!
>
>
>AFAIK, Windows has no problem reading FAT32 volumes up to 2TB.  It's
>just that recent versions of FDISK (or equivalent) won't let you
>create one bigger than 32GB.  The FDISK from Win98 had no such
>restriction.  Third party versions can do that as well.

  The biggest problem with FAT32 is the 4GB file size limitation.

  Handcuffs movie lovers and handcuffs iso image size as well.

[toc] | [prev] | [next] | [standalone]


#410579

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2016-05-04 21:35 -0400
Message-ID<na8libpbq6fdpgnsaofslofbnbakqqg0dp@4ax.com>
In reply to#410544
On Wed, 4 May 2016 18:44:24 -0400, rickman <gnuarm@gmail.com> declaimed the
following:


>Ok, how many are "small"?  Assuming each one wastes 16 kB, that's still 
>just 32 MB total.  Much less than 0.1% of a 32 GB SD card.

	Since 16kB is the cluster size for Windows on 32GB partitions...  NTFS
is only 4kB per cluster up to multiple TB partitions.

	But one may want to consider what the inherent SD card allocation unit
is (and if you can get the format to align the clusters with allocation
units).
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#410614

Fromdruck <news@druck.org.uk>
Date2016-05-05 07:47 +0100
Message-ID<ngeq40$1qb$1@dont-email.me>
In reply to#410579
On 05/05/2016 02:35, Dennis Lee Bieber wrote:
> On Wed, 4 May 2016 18:44:24 -0400, rickman <gnuarm@gmail.com> declaimed the
> following:
>
>
>> Ok, how many are "small"?  Assuming each one wastes 16 kB, that's still
>> just 32 MB total.  Much less than 0.1% of a 32 GB SD card.
>
> 	Since 16kB is the cluster size for Windows on 32GB partitions...  NTFS
> is only 4kB per cluster up to multiple TB partitions.

NTFS isn't good for SD cards, its a journalled filing system meaning a 
lot more writes, and would work very inefficiently if data was 
continually flushed to the card, if it isn't flushed it would corrupt 
frequently if not properly unmounted before removal.

> 	But one may want to consider what the inherent SD card allocation unit
> is (and if you can get the format to align the clusters with allocation
> units).

As with any flash, the it is only possible to write in large blocks, 
this can be anything from 4K to 256MB, which is why there is such there 
is such a large difference in random write performance between different 
cards.

---druck

[toc] | [prev] | [next] | [standalone]


#410641

FromHans-Bernhard Bröker <HBBroeker@t-online.de>
Date2016-05-05 14:30 +0200
Message-ID<dp0sn7F9v2pU1@mid.dfncis.de>
In reply to#410614
Am 05.05.2016 um 08:47 schrieb druck:

> NTFS isn't good for SD cards, its a journalled filing system meaning a
> lot more writes, and would work very inefficiently if data was
> continually flushed to the card, if it isn't flushed it would corrupt
> frequently if not properly unmounted before removal.

I believe you've got the latter aspect backwards.  Journalling exists 
precisely to avoid that kind of corruption.  Non-journalling file 
systems like FAT corrupt a whole lot more easily and more thoroughly 
than journalling ones.

[toc] | [prev] | [next] | [standalone]


#410646

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-05 08:47 -0400
Message-ID<s0gmibplvu2917jmt12c3vcjtageo7b5vi@4ax.com>
In reply to#410641
On Thu, 5 May 2016 14:30:11 +0200, Hans-Bernhard Bröker
<HBBroeker@t-online.de> Gave us:

>Am 05.05.2016 um 08:47 schrieb druck:
>
>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>> lot more writes, and would work very inefficiently if data was
>> continually flushed to the card, if it isn't flushed it would corrupt
>> frequently if not properly unmounted before removal.
>
>I believe you've got the latter aspect backwards.  Journalling exists 
>precisely to avoid that kind of corruption.  Non-journalling file 
>systems like FAT corrupt a whole lot more easily and more thoroughly 
>than journalling ones.

  The whole reason for a journaling file system is so that an
unanticipated data I/O channel disconnect or power feed outage has less
potential to yield data losses.

[toc] | [prev] | [next] | [standalone]


#410647

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2016-05-05 13:19 +0000
Message-ID<ngfh8k$a9k$1@dont-email.me>
In reply to#410646
On Thu, 05 May 2016 08:47:05 -0400, DecadentLinuxUserNumeroUno wrote:

> On Thu, 5 May 2016 14:30:11 +0200, Hans-Bernhard Bröker
> <HBBroeker@t-online.de> Gave us:
> 
>>Am 05.05.2016 um 08:47 schrieb druck:
>>
>>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>>> lot more writes, and would work very inefficiently if data was
>>> continually flushed to the card, if it isn't flushed it would corrupt
>>> frequently if not properly unmounted before removal.
>>
>>I believe you've got the latter aspect backwards.  Journalling exists
>>precisely to avoid that kind of corruption.  Non-journalling file
>>systems like FAT corrupt a whole lot more easily and more thoroughly
>>than journalling ones.
> 
>   The whole reason for a journaling file system is so that an
> unanticipated data I/O channel disconnect or power feed outage has less
> potential to yield data losses.
>
Quite, and there is a clue that journalling might be a good idea on SD 
cards since the default Raspbian partition types are VFAT and ext4.

IIRC the initial boot partition has to be FAT for hardware-related 
reasons, but main partition can be any native Linux fs, so if non-
journalling was a good idea the Raspbian maintainers would presumably 
have used ext2, but instead they went for ext4 which uses journalling.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#410681

Fromdruck <news@druck.org.uk>
Date2016-05-05 20:19 +0100
Message-ID<ngg65t$9cq$1@dont-email.me>
In reply to#410641
On 05/05/2016 13:30, Hans-Bernhard Bröker wrote:
> Am 05.05.2016 um 08:47 schrieb druck:
>
>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>> lot more writes, and would work very inefficiently if data was
>> continually flushed to the card, if it isn't flushed it would corrupt
>> frequently if not properly unmounted before removal.
>
> I believe you've got the latter aspect backwards.  Journalling exists
> precisely to avoid that kind of corruption.  Non-journalling file
> systems like FAT corrupt a whole lot more easily and more thoroughly
> than journalling ones.
>
No, NTFS only journals filing system meta data, so while it can 
automatically recover what looks like a valid filing system, the 
contents of the files may be corrupted.

This is actually a lot more insidious than with FAT where if it is 
corrupted the filing system is broken and it will usually tell you 
straight away, and you can restore from backup.

---druck

[toc] | [prev] | [next] | [standalone]


#410721

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-05-05 19:51 -0500
Message-ID<jbqnibphfj23ha69a33d6cf1n4jji6c6vi@4ax.com>
In reply to#410681
On Thu, 5 May 2016 20:19:38 +0100, druck <news@druck.org.uk> wrote:

>On 05/05/2016 13:30, Hans-Bernhard Bröker wrote:
>> Am 05.05.2016 um 08:47 schrieb druck:
>>
>>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>>> lot more writes, and would work very inefficiently if data was
>>> continually flushed to the card, if it isn't flushed it would corrupt
>>> frequently if not properly unmounted before removal.
>>
>> I believe you've got the latter aspect backwards.  Journalling exists
>> precisely to avoid that kind of corruption.  Non-journalling file
>> systems like FAT corrupt a whole lot more easily and more thoroughly
>> than journalling ones.
>>
>No, NTFS only journals filing system meta data, so while it can 
>automatically recover what looks like a valid filing system, the 
>contents of the files may be corrupted.
>
>This is actually a lot more insidious than with FAT where if it is 
>corrupted the filing system is broken and it will usually tell you 
>straight away, and you can restore from backup.


That's a bit silly.  Neither FAT or NTFS guarantee writes to file
data, and both will allow silent corruption of a written-to open file
in the event of a crash (as in lost writes).

NTFS at least largely prevent crashes from corrupting files that were
not being written to at the time of the crash.

[toc] | [prev] | [next] | [standalone]


#410731

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-05 21:55 -0400
Message-ID<t8uniblep1rd6fhu4kbkbrvt297nrkg4k6@4ax.com>
In reply to#410721
On Thu, 05 May 2016 19:51:24 -0500, Robert Wessel
<robertwessel2@yahoo.com> Gave us:

>On Thu, 5 May 2016 20:19:38 +0100, druck <news@druck.org.uk> wrote:
>
>>On 05/05/2016 13:30, Hans-Bernhard Bröker wrote:
>>> Am 05.05.2016 um 08:47 schrieb druck:
>>>
>>>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>>>> lot more writes, and would work very inefficiently if data was
>>>> continually flushed to the card, if it isn't flushed it would corrupt
>>>> frequently if not properly unmounted before removal.
>>>
>>> I believe you've got the latter aspect backwards.  Journalling exists
>>> precisely to avoid that kind of corruption.  Non-journalling file
>>> systems like FAT corrupt a whole lot more easily and more thoroughly
>>> than journalling ones.
>>>
>>No, NTFS only journals filing system meta data, so while it can 
>>automatically recover what looks like a valid filing system, the 
>>contents of the files may be corrupted.
>>
>>This is actually a lot more insidious than with FAT where if it is 
>>corrupted the filing system is broken and it will usually tell you 
>>straight away, and you can restore from backup.
>
>
>That's a bit silly.  Neither FAT or NTFS guarantee writes to file
>data, and both will allow silent corruption of a written-to open file
>in the event of a crash (as in lost writes).
>
>NTFS at least largely prevent crashes from corrupting files that were
>not being written to at the time of the crash.


  Hey!  Who said you have a right to talk about writes and then write it
in here?!  It's just not right.  It is not the write thing to do.

[toc] | [prev] | [next] | [standalone]


#410719

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2016-05-05 20:16 -0400
Message-ID<m6onibhb307io6ra0q7ofrkih3i8nuinj4@4ax.com>
In reply to#410641
On Thu, 5 May 2016 14:30:11 +0200, Hans-Bernhard Bröker
<HBBroeker@t-online.de> declaimed the following:

>Am 05.05.2016 um 08:47 schrieb druck:
>
>> NTFS isn't good for SD cards, its a journalled filing system meaning a
>> lot more writes, and would work very inefficiently if data was
>> continually flushed to the card, if it isn't flushed it would corrupt
>> frequently if not properly unmounted before removal.
>
>I believe you've got the latter aspect backwards.  Journalling exists 
>precisely to avoid that kind of corruption.  Non-journalling file 
>systems like FAT corrupt a whole lot more easily and more thoroughly 
>than journalling ones.

	The problem, in the case of flash memory, is that the journal will
increase the number of write operations -- and on a card with, say, only
two open allocation unit capability, the card may be swapping allocation
units every for every small I/O operation -- and each allocation swap
requires copying partial data from an old AU to the new one, freeing the
old AU and erasing it so it is ready in the available pool. Cards with
around 6 AU capability can keep the data file, inode entry (for Linux),
bitmap, and journal "live" without closing AUs and assigning new ones from
the pool.

	IOWs; journaling file system on an SD card may 1) result in much slower
performance on the 2-AU type card (optimized for streaming video on a FAT
system: bitmap and data each taking an AU) and 2) much more wear leveling
operations leading to premature card failure.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#410581

Frommike <ham789@netzero.net>
Date2016-05-04 18:45 -0700
Message-ID<nge8gc$m13$1@dont-email.me>
In reply to#410544
On 5/4/2016 3:44 PM, rickman wrote:
> On 5/4/2016 5:36 PM, mike wrote:
>> On 5/4/2016 2:03 PM, rickman wrote:
>>> On 5/4/2016 3:24 PM, mike wrote:
>>>> On 5/4/2016 11:46 AM, rickman wrote:
>>>>> On 5/4/2016 2:21 PM, rickman wrote:
>>>>>> On 5/4/2016 2:15 PM, rickman wrote:
>>>>>>>
>>>>>>> I assume the SDHC cards topped out at 32 GB because they used FAT32
>>>>>>> which also tops out at 32 GB.  Rather than switch the format used,
>>>>>>> they
>>>>>>> just worked within that limit and postponed the bigger change for
>>>>>>> SDXC
>>>>>>> cards until later.
>>>>>>
>>>>>> I'm a bit confused.  I just looked it up and FAT32 has an upper
>>>>>> limit of
>>>>>> 2 TB!  So why can't FAT32 be used for one partition holding all of
>>>>>> a 64
>>>>>> or 128 GB SD card?
>>>>>
>>>>> I did a little digging and there is some sort of functional limit to
>>>>> FAT32 at 32 GB but it seems to mostly be Microsoft's laziness by not
>>>>> supporting the creation of larger partitions with their built in
>>>>> tools,
>>>>> or maybe just some of them.  I found a utility that let me format
>>>>> the 64
>>>>> GB SDXC card to FAT32.
>>>>>
>>>>> So will I be able to boot a raspberry Pi from this SDXC card this way?
>>>>>
>>>>> http://arius.com/photos/FAT32_64GB.png
>>>>>
>>>> Isn't the FAT32 limit due to address space limitations?
>>>> If you want bigger partitions, you need to have bigger allocation
>>>> units.
>>>> Wastes a lot of space if you have many small files.
>>>
>>> That's not a limit.  That's a tradeoff.
>>
>> OK, but it's a tradeoff made by Microsoft.  You don't get to pick the
>> standard.
>> You can choose to circumvent it and deal with any consequences.
>>
>> It's like the highway speed limit.
>> Somebody else set that arbitrary limit well below the capabilities
>> of most automobiles.
>> Those who stay below it experience fewer undesirable
>> consequences than those who don't.
>
> You've lost me.  There is no rule that you can't use a FAT32 volume over
> 32 GB under windows.  You just can't easily make it.  I formatted my 64
> GB SDXC card in one partition with FAT32.  I'm not sure what you are
> trying to say.  Where is the down side?

If you can make what you want and the result makes you happy, there's no 
downside for you.
If you expect broad support by the industry so that everything just works,
that's another issue.
MS cares about the latter.
>
>
>>> I suppose if you had millions
>>> of small files it would waste a lot of space.
>>
>> My win7 C: drive has 987,441 files.
>
> Ok, how many are "small"?  Assuming each one wastes 16 kB, that's still
> just 32 MB total.  Much less than 0.1% of a 32 GB SD card.

I think we had different math teachers...
10e6 x 16 x 10e3 = 16 x 10e9 bytes
>
>
>> Up to that point it's a
>>> macht nichts or mox nix, your choice.
>>>
>>> The point is there is nothing to prevent the use of a single bootable
>>> partition on SDXC cards.
>> There's nothing to prevent YOU doing anything you want.
>> There are compatibility and marketing forces driving MS offerings.
>
> I have no idea what you are talking about here.
I concur.
>

[toc] | [prev] | [next] | [standalone]


#410587

FromClifford Heath <no.spam@please.net>
Date2016-05-05 11:28 +1000
Message-ID<572ab317$0$23289$b1db1813$65575428@news.astraweb.com>
In reply to#410581
On 05/05/16 11:45, mike wrote:
> I think we had different math teachers...
> 10e6 x 16 x 10e3 = 16 x 10e9 bytes

I agree. We obviously had different math teachers.

Hint: 10e6 is ten million. 10e3 is ten thousand.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#410588

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-04 23:05 -0400
Message-ID<j2elib9j0pmrbno8e7and9vbq7q5qhca91@4ax.com>
In reply to#410587
On Thu, 5 May 2016 11:28:15 +1000, Clifford Heath <no.spam@please.net>
Gave us:

>On 05/05/16 11:45, mike wrote:
>> I think we had different math teachers...
>> 10e6 x 16 x 10e3 = 16 x 10e9 bytes
>
>I agree. We obviously had different math teachers.
>
>Hint: 10e6 is ten million. 10e3 is ten thousand.
>
>Clifford Heath.


  Bwuahahahaha!

  Mike is at least an order of magnitude dumber than everyone in Usenet
as well.

[toc] | [prev] | [next] | [standalone]


#410607

FromClifford Heath <no.spam@please.net>
Date2016-05-05 14:12 +1000
Message-ID<572ad97a$0$48794$c3e8da3$f017e9df@news.astraweb.com>
In reply to#410588
On 05/05/16 13:05, DecadentLinuxUserNumeroUno wrote:
> On Thu, 5 May 2016 11:28:15 +1000, Clifford Heath <no.spam@please.net>
> Gave us:
>> On 05/05/16 11:45, mike wrote:
>>> I think we had different math teachers...
>>> 10e6 x 16 x 10e3 = 16 x 10e9 bytes
>> I agree. We obviously had different math teachers.
>> Hint: 10e6 is ten million. 10e3 is ten thousand.
>> Clifford Heath.
>    Bwuahahahaha!
>    Mike is at least an order of magnitude dumber than everyone in Usenet
> as well.

I wouldn't know...

But I do know that my IQ is a couple of dB lower on a bad day.

Oops. Not allowed to use dB that way :)

[toc] | [prev] | [next] | [standalone]


#410608

Fromrickman <gnuarm@gmail.com>
Date2016-05-05 01:45 -0400
Message-ID<ngemg3$nuv$1@dont-email.me>
In reply to#410607
On 5/5/2016 12:12 AM, Clifford Heath wrote:
> On 05/05/16 13:05, DecadentLinuxUserNumeroUno wrote:
>> On Thu, 5 May 2016 11:28:15 +1000, Clifford Heath <no.spam@please.net>
>> Gave us:
>>> On 05/05/16 11:45, mike wrote:
>>>> I think we had different math teachers...
>>>> 10e6 x 16 x 10e3 = 16 x 10e9 bytes
>>> I agree. We obviously had different math teachers.
>>> Hint: 10e6 is ten million. 10e3 is ten thousand.
>>> Clifford Heath.
>>    Bwuahahahaha!
>>    Mike is at least an order of magnitude dumber than everyone in Usenet
>> as well.
>
> I wouldn't know...
>
> But I do know that my IQ is a couple of dB lower on a bad day.
>
> Oops. Not allowed to use dB that way :)

Why not?  dB is relative power, in your case, "brain" power.

-- 

Rick C

[toc] | [prev] | [next] | [standalone]


#410629

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-05-05 07:11 -0400
Message-ID<hiamib9emqpsrul78geqsj0e43su7c760j@4ax.com>
In reply to#410607
On Thu, 5 May 2016 14:12:04 +1000, Clifford Heath <no.spam@please.net>
Gave us:

>On 05/05/16 13:05, DecadentLinuxUserNumeroUno wrote:
>> On Thu, 5 May 2016 11:28:15 +1000, Clifford Heath <no.spam@please.net>
>> Gave us:
>>> On 05/05/16 11:45, mike wrote:
>>>> I think we had different math teachers...
>>>> 10e6 x 16 x 10e3 = 16 x 10e9 bytes
>>> I agree. We obviously had different math teachers.
>>> Hint: 10e6 is ten million. 10e3 is ten thousand.
>>> Clifford Heath.
>>    Bwuahahahaha!
>>    Mike is at least an order of magnitude dumber than everyone in Usenet
>> as well.
>
>I wouldn't know...
>
>But I do know that my IQ is a couple of dB lower on a bad day.
>
>Oops. Not allowed to use dB that way :)

  Think of it as a ratio of mental age over physical age.

[toc] | [prev] | [next] | [standalone]


#410758

FromJohn Doe <always.look@message.header>
Date2016-05-06 05:25 +0000
Message-ID<ngh9se$338$5@dont-email.me>
In reply to#410588
A most persistent troll with a chronic ego problem...

-- 
DecadentLinuxUserNumeroUno <DLU1 DecadentLinuxUser.org> wrote in news:j2elib9j0pmrbno8e7and9vbq7q5qhca91 4ax.com:

> Path: eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail
> From: DecadentLinuxUserNumeroUno <DLU1 DecadentLinuxUser.org>
> Newsgroups: sci.electronics.design,comp.arch.embedded,comp.sys.raspberry-pi
> Subject: Re: Verifying SD Cards
> Date: Wed, 04 May 2016 23:05:42 -0400
> Organization: WeAreDecadatedDawtOrg
> Lines: 18
> Message-ID: <j2elib9j0pmrbno8e7and9vbq7q5qhca91 4ax.com>
> References: <ngbqv4$gli$1 gioia.aioe.org> <ngbugg$lrc$1 dont-email.me> <ngc9d1$orm$2 dont-email.me> <ngcbf8$goj$1 dont-email.me> <ngcvfc$51h$1 dont-email.me> <1lo*n0OYv news.chiark.greenend.org.uk> <ngde18$tru$1 dont-email.me> <ngdedd$v7p$1 dont-email.me> <ngdfr7$4k2$2 dont-email.me> <ngdi5c$ecf$1 dont-email.me> <ngdns3$4ag$1 dont-email.me> <ngdpsd$bca$1 dont-email.me> <ngdtpn$rqe$1 dont-email.me> <nge8gc$m13$1 dont-email.me> <572ab317$0$23289$b1db1813$65575428 news.astraweb.com>
> NNTP-Posting-Host: 5od13unTYZyfgRoF8vV/Hg.user.gioia.aioe.org
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> X-Complaints-To: abuse aioe.org
> X-Notice: Filtered by postfilter v. 0.8.2
> X-Newsreader: Forte Agent 1.91/32.564
> Xref: mx02.eternal-september.org sci.electronics.design:416857 comp.arch.embedded:43459 comp.sys.raspberry-pi:11601
> 
> On Thu, 5 May 2016 11:28:15 +1000, Clifford Heath <no.spam please.net>
> Gave us:
> 
>>On 05/05/16 11:45, mike wrote:
>>> I think we had different math teachers...
>>> 10e6 x 16 x 10e3 = 16 x 10e9 bytes
>>
>>I agree. We obviously had different math teachers.
>>
>>Hint: 10e6 is ten million. 10e3 is ten thousand.
>>
>>Clifford Heath.
> 
> 
>   Bwuahahahaha!
> 
>   Mike is at least an order of magnitude dumber than everyone in Usenet
> as well.
> 
> 

[toc] | [prev] | [next] | [standalone]


#410764

Fromrickman <gnuarm@gmail.com>
Date2016-05-06 02:45 -0400
Message-ID<ngheb0$iuf$2@dont-email.me>
In reply to#410758
On 5/6/2016 1:25 AM, John Doe wrote:
> A most persistent troll with a chronic ego problem...

It's not like you are bringing much to the party.

-- 

Rick C

[toc] | [prev] | [next] | [standalone]


Page 2 of 6 — ← Prev page 1 [2] 3 4 5 6  Next page →

Back to top | Article view | sci.electronics.design


csiph-web