Bug 103035 - [ntfs] Directories in NTFS mounted disc images appear as empty files in Samba export
Summary: [ntfs] Directories in NTFS mounted disc images appear as empty files in Samba...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 14:50 UTC by Dominic Marks
Modified: 2014-08-11 18:42 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Marks 2006-09-08 14:50:23 UTC
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.

Fix: 

Unknown.
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-05-18 05:26:59 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 joeb1 2014-07-12 11:14:38 UTC
Close this pr.
ntfs has been removed from 10.0 base see
http://svnweb.freebsd.org/base/head/sbin/Makefile?view=log&pathrev=247665
Comment 3 John Baldwin freebsd_committer freebsd_triage 2014-08-11 18:42:52 UTC
NTFS support has been removed from the base system.