Subject: Re: Mount NTFS4
To: None <port-i386@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: port-i386
Date: 10/25/2001 15:10:28
Quoting Brian Seklecki (24-Oct-01 04:13:44):

>> > Is it possible to mount a NTFS4 (WinNT) filesystem within
>> > NetBSD/i386
>> > (NetBSD 1.5)?

> Try:

> $ man 8 mount_ntfs

> ...after you get it installed!

Thanks!

Next step ... after reading through the disklabel man pages and the
NetBSD mailinglist (i386), I didn't find any usable information how to
mount my logical NTFS partitions, located inside an extended
partition.

Here my disklabel and fdisk information of wd0:

----- cut here -----
dimension# disklabel wd0
# /dev/rwd0d:
type: ESDI
disk: Maxtor 91728D8  
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 33750864
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0       # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  d: 33750864        0     unused        0     0         # (Cyl.    0 - 33482)
  e:  4192902       63     unused        0     0         # (Cyl.    0*- 4159*)
  f: 25350570  8385930     unused        0     0         # (Cyl. 8319*- 33468*)
  g:  4192965  4192965      MSDOS                        # (Cyl. 4159*- 8319*)
dimension# fdisk wd0
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)

Partition table:
0: sysid 23 (OS/2 BM: hidden IFS)
    start 63, size 4192902 (2047 MB), flag 0x0
    beg: cylinder    0, head   1, sector  1
    end: cylinder  260, head 254, sector 63
1: sysid 15 (Ext. partition - LBA)
    start 8385930, size 25350570 (12378 MB), flag 0x0
    beg: cylinder  522, head   0, sector  1
    end: cylinder 1023, head 254, sector 63
2: sysid 11 (Primary DOS with 32 bit FAT)
    start 4192965, size 4192965 (2047 MB), flag 0x80
    beg: cylinder  261, head   0, sector  1
    end: cylinder  521, head 254, sector 63
3: <UNUSED>
----- cut here -----

disk 2 is FAT32 and can be mounted with msdos - no problem here!

disk 0 is a primary partition with NTFS - how can I mount this
partition?

disk 1 is a extended partition with a logical NTFS partition - same
question ... how can I mount this one?

TIA

-- 
Cu  Georges Heinesch, Luxembourg
    geohei@geohei.lu
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... Only happy at FL 370, Mach 0.76