Subject: Re: mbr for wd1
To: P Kozberski <pkoz@adam.com.au>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 09/17/2003 15:29:57
On Wed, Sep 17, 2003 at 10:06:51AM +0000, P Kozberski wrote:
> On Tue 16 Sep, P Kozberski wrote:
...
> > If I can't disklabel wd1 how can I access it via a mount_ntfs?
> > 
> > # /dev/rwd1d:
> > type: ESDI
> > disk: ST340810A       
> > label: fictitious
           ^^^^^^^^^^
           ^^^^^^^^^^
in other words this label lives in the kernel, and not on the disk.

> >   d: 78165360        0     unused        0     0         # (Cyl.    0 - 77544)
> >   e: 78140097       63       NTFS                        # (Cyl.    0*- 77519)

which means that you can just mount -t ntfs /dev/wd1e /mnt (in fact now even
the -t ntfs isn't necessary) without needing to actually write that label
onto the disk.

> > I'm confused between partition and label.
you're not the only one :)
> > Does the label live in the unused space before ntfs space?
it lives in the kernel
> > If I 'disklabel -i -I wd1e' and W "write" it should I then be able to
> > mount_ntfs ? 
and that isn't necessary.

Just so you know: ntfs is read only!

Cheers,

Patrick