From owner-freebsd-stable@FreeBSD.ORG Mon Sep 4 14:00:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E25516A522 for ; Mon, 4 Sep 2006 14:00:51 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Received: from mailhost.graphdata.co.uk (mailhost.graphdata.co.uk [195.12.22.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE7D43D78 for ; Mon, 4 Sep 2006 14:00:44 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id B4A76114020 for ; Mon, 4 Sep 2006 15:00:42 +0100 (BST) X-Virus-Scanned: amavisd-new at graphdata.co.uk Received: from mailhost.graphdata.co.uk ([127.0.0.1]) by localhost (mailhost.graphdata.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ulFyjrfCHnor for ; Mon, 4 Sep 2006 15:00:40 +0100 (BST) Received: from [192.168.0.86] (gdc083.internal.graphdata.co.uk [192.168.0.86]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id 65BCB11401E for ; Mon, 4 Sep 2006 15:00:40 +0100 (BST) Message-ID: <44FC3188.5090104@goodforbusiness.co.uk> Date: Mon, 04 Sep 2006 15:00:40 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5.0.5 (X11/20060809) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Strange behaviour of Samba with md mounted NTFS disc image X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 14:00:52 -0000 Hello, I observed some odd behaviour with a hard disc image I made with g4u (NetBSD based ghost-a-like Live CD). The NTFS file system is mounted read-only in a md device from the file. The mount point has is shared to the network via Samba 3. The strange part is that browsing from a Windows box the directories within the image appear as empty files. From a shell on the system however they seem to be directories. Once a directory has been entered from some means other than Samba (find does the trick) they appear as directories properly when browsing from the Windows system. I have other Samba shares on the system which are not NTFS images and they work as expected. This could be a bug in FreeBSD or Samba, I suppose? I'll file a PR on the issue if this is not already known about, can't find anything in Gnats. Thanks, Dominic