Subject: mount_ntfs: Argument list too long?
To: None <netbsd-users@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: netbsd-users
Date: 04/07/2002 16:41:39
I have a problem mounting an NTFS partition under
1.5.3. I have been able to do that sometime in the past
but now it doesn't seem to work -- where's the catch?

Please cc me as I don't subscribe to this list.

Thanks beforehand,
Teemu

Here's what I have:

[root@d800 /]# uname -a
NetBSD d800 1.5.3 NetBSD 1.5.3 (D800) #0: Sat Apr  6 15:33:14 EEST 2002
root@d800:/usr/src/sys/arch/i386/compile/D800 i386

[root@d800 /]# fdisk
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 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
    start 63, size 20482812 (10001 MB), flag 0x80
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head 254, sector 63
1: sysid 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
    start 20482875, size 21013020 (10260 MB), flag 0x0
        beg: cylinder 1023, head   0, sector  1
        end: cylinder 1023, head 254, sector 63
2: sysid 169 (NetBSD)
    start 41495895, size 18539010 (9052 MB), flag 0x0
        beg: cylinder 1023, head   0, sector  1
        end: cylinder 1023, head 254, sector 63
3: <UNUSED>

[root@d800 /]# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: netbsd
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 60036480
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/sgs]
  a: 18011385 41495895     4.2BSD     1024  8192    16   # (Cyl. 41166*-
  b:   527625 59507280       swap                        # (Cyl. 59035 -
  c: 18539010 41495895     unused        0     0         # (Cyl. 41166*-
  d: 60036480        0     unused        0     0         # (Cyl.    0 -
  e: 20482812       63       NTFS                        # (Cyl.    0*-
  f: 21013020 20482875       NTFS                        # (Cyl. 20320*-

[root@d800 /]# mount /dev/wd0e /c
mount_ntfs: /dev/wd0e on /c: Argument list too long

[root@d800 /]# mount -t ntfs /dev/wd0e /c
mount_ntfs: /dev/wd0e on /c: Argument list too long