NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

disklabel generating wrong fstype



I have been using fuse-exfat to read large sdcards for some time
and it has worked great. I have what appears to be three identical
128G Samsung sdcards. Two of them mount fine, the third doesn't.

First two cards:

$ disklabel /dev/sd0
# /dev/sd0:
type: SCSI
disk: Flash Reader    
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 122112
total sectors: 250085376
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d: 250085376         0     unused      0     0        # (Cyl.      0 - 122111)
 e: 250052608     32768      MSDOS                     # (Cyl.     16 - 122111)
disklabel: boot block size 0
disklabel: super block size 0

Third:
$ disklabel /dev/sd0
# /dev/sd0:
type: SCSI
disk: Flash Reader    
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 122112
total sectors: 250085376
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d: 250085376         0     unused      0     0        # (Cyl.      0 - 122111)
 e: 250052608     32768       NTFS                     # (Cyl.     16 - 122111)
disklabel: boot block size 0
disklabel: super block size 0

Of course there is no disklabel on the cards. Why/how does the
third one come up as NTFS? It came that way from the factory and
I tried (long) formatting it as exfat on a couple of different
laptops and nothing changes the fstype.

Is there anything I can do to change it to MSDOS?
Thanks


Home | Main Index | Thread Index | Old Index