NetBSD-Users archive

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

Re: Flash drive fstype reported as 4.2BSD instead of MSDOS



On Mon, Jul 20, 2009 at 03:59:36PM +0200, Brad du Plessis wrote:
> Daniel Horecki wrote:
> >Try first with -w, if that will work, try -w -r then.
> 
> Thanks for your reply. Are the results below expected?
> 
> Tried -w:
> 
> # mbrlabel -w sd0
> Found unknown partition; size 168689522 (82367 MB), offset 1869771365
>  adding unknown partition to slot b.
> Found unknown partition; size 1869881465 (913028 MB), offset 1701519481
>  adding unknown partition to slot c.
> Found unknown partition; size 0 (0 MB), offset 2573
>  adding unknown partition to slot e.
> 
> 5 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
> a:   4029440         0     4.2BSD      0     0     0  # (Cyl.      0 -  15739)
> b: 168689522 1869771365    unknown                    # (Cyl. 7303794+-  
> 7962737+)
> c: 1869881465 1701519481    unknown                    # (Cyl. 6646560+-  
> 13950784+)
> d:   4029440         0     unused      0     0        # (Cyl.      0 -   
> 15739)
> 
> Updating in-core disk label.

I wonder if this is a partitionless "superfloppy", with the filesystem
starting at the beginning of the device.  what does

        file /dev/rsd0d

return?  are you able to mount with "mount -t msdos /dev/sd0d /mnt"?

if windows doesn't find a partition table on a USB device at format
time, it won't add one.

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | 
agrier%poofygoof.com@localhost


Home | Main Index | Thread Index | Old Index