Date: Fri, 8 Sep 2006 14:41:27 +0100 (BST) From: Dominic Marks <dom@goodforbusiness.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/103035: Directories in NTFS mounted disc images appear as empty files in Samba export Message-ID: <20060908134127.7E96D1D011@gdc083.internal.graphdata.co.uk> Resent-Message-ID: <200609081350.k88DoNWD063137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060908134127.7E96D1D011>