Disk: wd0       geometry: 12921/240/63 [195365520 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
*0: 07    0   1  1 - 6800 239 63 [          63:   102831057 ] HPFS/QNX/AUX
 1: 12 12270   0  1 - 12920 239 63 [   185522400:     9843120 ] Compaq Diag.
 2: A6 6801   0  1 - 12269 239 63 [   102831120:    82691280 ] OpenBSD
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused

Yup, for NTFS you'll have to add an entry like this:

--> l: 102831057 63 NTFS

Then you should be able to mount it:

--> mount -t ntfs -o ro /dev/wd0l /path/to/mount

Mount read-only coz read-write is still experimental. If you want
read-write, my understanding is that you must enable that option in
the kernel and recompile. Then you can remove the "-o ro" above and
mount read-write.

The Compaq Diag partition must be FAT32 I assume. If yes, you can add
an entry like this:

--> m: 9843120 185522400 MSDOS

Then mount:

--> mount -o ro /dev/wd0m /path/to/mount

If its not FAT32, then u'll get some error messages I guess. (The
reason I mount read-only above is as a precaution in case the file
system isn't FAT32 and we dont want it getting corrupted. Not sure if
that's necessary, I just do things that way. Once you are sure its
FAT32, you can omit to "-o ro").

Hope that helps.
Rakhesh

--
        NetBSD/i386 3.0 + pkgsrc-current | OpenBSD/i386 3.9
        http://search.gmane.org/?query=&group=gmane.os.netbsd.* (netbsd 
archives)
        http://search.gmane.org/?query=&group=gmane.os.openbsd.* (openbsd 
archives)
        http://man.netbsd.org/ | http://www.openbsd.org/cgi-bin/man.cgi 
(manpages)

Reply via email to