kern/99290: mount_ntfs ignorant of cluster sizes

Paul Schiro pauls at amersel.com
Thu Jun 22 07:20:20 UTC 2006


>Number:         99290
>Category:       kern
>Synopsis:       mount_ntfs ignorant of cluster sizes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 22 07:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Paul Schiro
>Release:        6.1-STABLE x86
>Organization:
American Select
>Environment:
FreeBSD x.x.x 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 21 19:14:51 MDT 2006     root at x.x.x:/usr/obj/usr/src/sys/FLUX  i386

>Description:
It appears that when accessing a mounted NTFS filesystem (via mount_ntfs) with a non-default (default is 4096) cluster size, FreeBSD has problems listing directories on said filesystem.  /bin/ls errors with "Argument list too long" while listing directories containing any amount of files (from what I can tell).  I experienced this problem on a filesystem with 16k clusters.  Booted into WinXP and used PartitionMagic to resize to 4096 (from the 8192 I was using previously on that particular filesystem), and was able to once again list files in FreeBSD without any problem.  I was unable to find any related bugs in the database.
>How-To-Repeat:
Resize an NTFS partition to 8192, 16384, etc.; boot into FreeBSD 6.x; issue "ls" in any dir which contains any number of "normal" files and/or subdirs.  You should see "<filename/directory>: Argument list too long" repeated several times.
>Fix:
Resize NTFS clusters to 4096.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list