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



Je Mon, 20 Jul 2009 13:47:24 +0200 Brad du Plessis <bradd%cat.co.za@localhost>
scribis:

> 
> 
> Adam Hoka wrote:
> > mbrlabel it?
> 
> I'm not that familiar with mbrlabel(8). Is this what one would expect
> to see:
> 
> # mbrlabel 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)
> 
> Not updating disk label.
> 

man mbrlabel:

"""
     By default, the proposed changed disk label will be displayed and
no disk label update will occur.
"""

and:

"""
     -w         Update the in-core label if it has been changed.

     -r         In conjunction with -w, also update the on-disk label.
"""

Try first with -w, if that will work, try -w -r then.

Daniel


-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl
HAIL ERIS!


Home | Main Index | Thread Index | Old Index