tgru...@gmail.com (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.

Reply via email to