From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 15 09:48:23 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C47616A404; Sat, 15 Apr 2006 09:48:23 +0000 (UTC) (envelope-from bms@spc.org) Received: from mindfull.spc.org (mindfull.spc.org [83.167.185.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1E3943D93; Sat, 15 Apr 2006 09:48:22 +0000 (GMT) (envelope-from bms@spc.org) Received: from arginine.spc.org ([83.167.185.2]) by mindfull.spc.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1FUhO6-0002js-V1; Sat, 15 Apr 2006 10:48:18 +0100 Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id BB85965499; Sat, 15 Apr 2006 10:48:20 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27993-03-10; Sat, 15 Apr 2006 10:48:20 +0100 (BST) Received: by arginine.spc.org (Postfix, from userid 1078) id EA62A653F9; Sat, 15 Apr 2006 10:48:19 +0100 (BST) Date: Sat, 15 Apr 2006 10:48:19 +0100 From: Bruce M Simpson To: Joe Marcus Clarke Message-ID: <20060415094819.GI94628@spc.org> References: <1145077545.83050.15.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1145077545.83050.15.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.1i Organization: Incunabulum X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mindfull.spc.org X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - spc.org X-Source: X-Source-Args: X-Source-Dir: Cc: hackers@FreeBSD.org Subject: Re: User mounting take 2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 09:48:23 -0000 On Sat, Apr 15, 2006 at 01:05:45AM -0400, Joe Marcus Clarke wrote: > Finally, in testing this, I found a problem with smbfs, msdosfs, and > ntfs relating to the statfs(2) f_flags field. smbfs always set this to > 0, msdosfs didn't set this at all, and ntfs set this to all flags (not > just those visible to statfs(2)). By fixing this, umount(8) works > properly on relative paths to user mount points for those three file > systems. Very very cool. I've seen this behaviour before and it was annoying because it meant having to sudo to do user SMB mounts in my home directory. Thanks muchly for doing this work. BMS