NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Prob with 'disklabel'
It worked; had to play with newfs...
Thanks
On Wed, Aug 13, 2025 at 7:25 AM Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
>
> Ya, I know about c and d sections -- but disklabel does
> not save them for me. I dont know what my prob is.
>
> On Wed, Aug 13, 2025 at 1:30 AM Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> >
> > tgruhn2%gmail.com@localhost (Todd Gruhn) writes:
> >
> > >I am trying to use SanDisk.
> >
> > >When I do 'dislabel -I -e' of this SanDisk, I see
> > >5 partitaions:
> > > d: ...
> > > e: ...
> >
> > >My NetBSD SanDisk says:
> > >4 partitions:
> > > a: ... 4.2BSD
> > > d: ... unused
> >
> > >Why cant I change the non-UNIX SanDisk, and
> > > make it look like the NetBSD SanDisk?
> >
> >
> > You can just do that. On the other hand, partitions a to c (and d on x86)
> > have a special meaning (a is root, b is swap, ..). So if you want to
> > parition a "data disk", then using e and following is better.
> >
> >
> > >Can I get a label from one SanDisk, and write it
> > >to the other SanDisk?
> >
> > You can do something like:
> >
> > disklabel sd0 > mylabel
> > disklabel -R sd1 mylabel
> >
> > That requires that these are disks with identical geometry.
> > You also may want to have meaningful 'disk' and 'label'
> > fields. None of that is ensured when you copy a label.
> >
Home |
Main Index |
Thread Index |
Old Index