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


Groups > sci.electronics.design > #410907

Re: Verifying SD Cards

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups sci.electronics.design, comp.arch.embedded, comp.sys.raspberry-pi
Subject Re: Verifying SD Cards
Date 2016-05-07 11:29 +0000
Organization "JJ's own news server"
Message-ID <ngkji0$jis$1@gonzo.alcatraz> (permalink)
References (11 earlier) <ngi1rs$41u$3@news.albasani.net> <ngj6f4$3t3$1@gonzo.alcatraz> <slrnnir5p2.17r.nomail@xs9.xs4all.nl> <ngk8c9$udg$1@dont-email.me> <qt9ribd1g1tsikindnn34mf95tuk2geprb@4ax.com>

Cross-posted to 3 groups.

Show all headers | View raw


On 2016-05-07, DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> wrote:
> On Sat, 7 May 2016 08:18:17 -0000 (UTC), Martin Gregorie
><martin@address-in-sig.invalid> Gave us:
>
>>On Sat, 07 May 2016 07:20:02 +0000, Rob wrote:
>>
>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>> Kernel support exists for HPFS(IBM), NTFS(MS), HFS(Apple), XFS(SGI)
>>>> NFS(SUN), ZFS(SUN) etc. So by some measure these could also be
>>>> considered native.
>>> 
>>> It seems this word causes considerable confusion.
>>> As English is not my first language and I get vocabulary only by reading
>>> technical articles, it was my understanding that "native filesystem"
>>> means the filesystem the OS normally uses for full functionality.
>>> 
>>> i.e. NTFS for Windows, Ext* or similar for Linux, etc.
>>> 
>>> This as opposed to foreign filesystem support like NTFS for Linux, or
>>> legacy filesystem support like FAT for Windows.
>>> 
>>> But apparently this is incorrect.
>>
>>I use the term 'native filing system' pretty much the same way is you do, 
>>but, as often, the devil is in the details. For instance Linux also (used 
>>to) support reiserfs and (still supports) btrfs. As far as I can tell 
>>these have never been used with any other OS so should probably count as 
>>'native fs' too. I suppose a good working definition of 'native' is "can 
>>a program or user tell the difference when accessing files in the fs?". 
>>
>>By this measure FAT fails the test because its permission system won't 
>>map cleanly onto the UNIX/Linux rwxrwxrwx scheme. 'Read only' sort of 
>>works but the 'archive bit' has no equivalent and ends up being treated 
>>as something entirely different in some implementations, e.g SAMBA. I 
>>believe that ZFS maps directly onto POSIX permissions, etc. but I can't 
>>talk about HPFS, NTFS, XFS or NFS since I've never tried to mount them on 
>>a Linux box.
>>
>>'Native fs' takes on rather a different meaning, though, when you're 
>>dealing with a software emulator running under Linux and emulating some 
>>other hardware and/or filing system. A decent example is os9exec, which 
>>emulates Microware's OS-9/68000 (aka OSK) which ran on Motorola 68000 
>>hardware. Here 'native fs' means a collection of Linux files in a Linux 
>>directory hierarchy being made accessible to an OS-9 binary program 
>>running under os9exec, which lets programs running under it work equally 
>>well with a 'disk image', a large binary Linux file made by using dd to 
>>copy an OSK disk into a Linux file. IOW this contains OSK format files 
>>referenced by OSK directory structures sitting in 256 byte blocks that 
>>are binary images of OSK disk sectors. A lot of finangling is needed in 
>>the emulator when 'native' files and directories are being accessed 
>>because the emulator has to hide the different newlines (LF for Linux, CR 
>>for OSK) as well as doing on-the-fly directory entry remapping so that 
>>low-level OSK i/o functions in OSK programs can read and understand Linux 
>>directory entries.
>
>   I think it was an early version of Mandriva (Mandrake) which had a
> partition manager 'fdisk' application which allowed the operator to
> create a file system from a list of over 100 different ones.  Why that
> went away, I do not know.
0

still available for small disks


Welcome to fdisk (util-linux 2.28).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xe8caee2c.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-5530576, default 2048): 
Last sector, +sectors or +size{K,M,G,T,P} (2048-5530576, default 5530576): 

Created a new partition 1 of type 'Linux' and of size 2.7 GiB.

Command (m for help): t
Selected partition 1
Partition type (type L to list all types): l

 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        
 1  FAT12           27  Hidden NTFS Win 82  Linux swap / So c1  DRDOS/sec (FAT-
 2  XENIX root      39  Plan 9          83  Linux           c4  DRDOS/sec (FAT-
 3  XENIX usr       3c  PartitionMagic  84  OS/2 hidden or  c6  DRDOS/sec (FAT-
 4  FAT16 <32M      40  Venix 80286     85  Linux extended  c7  Syrinx         
 5  Extended        41  PPC PReP Boot   86  NTFS volume set da  Non-FS data    
 6  FAT16           42  SFS             87  NTFS volume set db  CP/M / CTOS / .
 7  HPFS/NTFS/exFAT 4d  QNX4.x          88  Linux plaintext de  Dell Utility   
 8  AIX             4e  QNX4.x 2nd part 8e  Linux LVM       df  BootIt         
 9  AIX bootable    4f  QNX4.x 3rd part 93  Amoeba          e1  DOS access     
 a  OS/2 Boot Manag 50  OnTrack DM      94  Amoeba BBT      e3  DOS R/O        
 b  W95 FAT32       51  OnTrack DM6 Aux 9f  BSD/OS          e4  SpeedStor      
 c  W95 FAT32 (LBA) 52  CP/M            a0  IBM Thinkpad hi ea  Rufus alignment
 e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a5  FreeBSD         eb  BeOS fs        
 f  W95 Ext'd (LBA) 54  OnTrackDM6      a6  OpenBSD         ee  GPT            
10  OPUS            55  EZ-Drive        a7  NeXTSTEP        ef  EFI (FAT-12/16/
11  Hidden FAT12    56  Golden Bow      a8  Darwin UFS      f0  Linux/PA-RISC b
12  Compaq diagnost 5c  Priam Edisk     a9  NetBSD          f1  SpeedStor      
14  Hidden FAT16 <3 61  SpeedStor       ab  Darwin boot     f4  SpeedStor      
16  Hidden FAT16    63  GNU HURD or Sys af  HFS / HFS+      f2  DOS secondary  
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fb  VMware VMFS    
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fc  VMware VMKCORE 
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid fd  Linux raid auto
1c  Hidden W95 FAT3 75  PC/IX           bc  Acronis FAT32 L fe  LANstep        
1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot    ff  BBT            
Partition type (type L to list all types): 


gdisk (the GPT equivalent of fdisk) shows a shorter list as it onlt
lists known GPT compatible operating systems.

Hex code or GUID (L to show codes, Enter = 8300): 

0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE          
3000 ONIE boot             3001 ONIE config           3900 Plan 9              
4100 PowerPC PReP boot     4200 Windows LDM data      4201 Windows LDM metadata
4202 Windows Storage Spac  7501 IBM GPFS              7f00 ChromeOS kernel     
7f01 ChromeOS root         7f02 ChromeOS reserved     8200 Linux swap          
8300 Linux filesystem      8301 Linux reserved        8302 Linux /home         
8303 Linux x86 root (/)    8304 Linux x86-64 root (/  8305 Linux ARM64 root (/)
8306 Linux /srv            8307 Linux ARM32 root (/)  8400 Intel Rapid Start   
8e00 Linux LVM             a500 FreeBSD disklabel     a501 FreeBSD boot        
a502 FreeBSD swap          a503 FreeBSD UFS           a504 FreeBSD ZFS         
a505 FreeBSD Vinum/RAID    a580 Midnight BSD data     a581 Midnight BSD boot   
a582 Midnight BSD swap     a583 Midnight BSD UFS      a584 Midnight BSD ZFS    
a585 Midnight BSD Vinum    a600 OpenBSD disklabel     a800 Apple UFS           
a901 NetBSD swap           a902 NetBSD FFS            a903 NetBSD LFS          
a904 NetBSD concatenated   a905 NetBSD encrypted      a906 NetBSD RAID         
ab00 Recovery HD           af00 Apple HFS/HFS+        af01 Apple RAID          
af02 Apple RAID offline    af03 Apple label           af04 AppleTV recovery    
af05 Apple Core Storage    bc00 Acronis Secure Zone   be00 Solaris boot        
bf00 Solaris root          bf01 Solaris /usr & Mac Z  bf02 Solaris swap        
bf03 Solaris backup        bf04 Solaris /var          bf05 Solaris /home       
bf06 Solaris alternate se  bf07 Solaris Reserved 1    bf08 Solaris Reserved 2  
Press the <Enter> key to see more codes: 
bf09 Solaris Reserved 3    bf0a Solaris Reserved 4    bf0b Solaris Reserved 5  
c001 HP-UX data            c002 HP-UX service         ea00 Freedesktop $BOOT   
eb00 Haiku BFS             ed00 Sony system partitio  ed01 Lenovo system partit
ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition 
f800 Ceph OSD              f801 Ceph dm-crypt OSD     f802 Ceph journal        
f803 Ceph dm-crypt journa  f804 Ceph disk in creatio  f805 Ceph dm-crypt disk i
fb00 VMWare VMFS           fb01 VMWare reserved       fc00 VMWare kcore crash p
fd00 Linux RAID            
Hex code or GUID (L to show codes, Enter = 8300): 

but neither will actually create a filesystem, it only creates a
partition tagged with that type, the partition will need to be
formatted before it is usable.


-- 
  \_(ツ)_

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web