kern/103035: Directories in NTFS mounted disc images appear as
empty files in Samba export
Dominic Marks
dom at goodforbusiness.co.uk
Fri Sep 8 13:50:36 UTC 2006
>Number: 103035
>Category: kern
>Synopsis: Directories in NTFS mounted disc images appear as empty files in Samba export
>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: Fri Sep 08 13:50:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dominic Marks
>Release: FreeBSD 6.1-STABLE i386
>Organization:
-
>Environment:
>Description:
We have NTFS disc images we would like to be able to export via Samba.
There seems to be a bug in the NTFS code which causes directories to appear
as zero byte files to Samba initially. However, once they have been entered
via some other method such as with `find /mount/point -type -d` they then
correctly show up as directories and can be browsed through Samba.
The same process with non-NTFS disc images works as expected first time.
>How-To-Repeat:
# mdconfig -a -t vnode -f /image/file
# mount_ntfs -o ro /dev/md0s1 /mount/point
# -- export /mount/point with samba
-- try and browse the share, directories will appear as empty files
# find /mount/point -type d
-- try and browse the share, directories will appear properly
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list