From owner-svn-src-all@FreeBSD.ORG Wed Oct 27 21:48:22 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 46CF11065696; Wed, 27 Oct 2010 21:48:22 +0000 (UTC) Date: Wed, 27 Oct 2010 21:48:22 +0000 From: Alexander Best To: Doug Barton Message-ID: <20101027214822.GA82697@freebsd.org> References: <201010271848.o9RImNSR019344@svn.freebsd.org> <20101027212601.GA78062@freebsd.org> <4CC899C3.7040107@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CC899C3.7040107@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dag-Erling Smorgrav Subject: Re: svn commit: r214431 - head/bin/rm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 21:48:22 -0000 On Wed Oct 27 10, Doug Barton wrote: > On 10/27/10 14:26, Alexander Best wrote: > >are in fact COW fs the only exception where the -P flag won't work? before > >r213582 LFS was mentioned here and that the block size must be fixed. > >also the comment in rm.c says that -P won't work for any logging file > >systems. > >i'm not a fs expert, but i think mentioning that -P won't work for COW fs > >isn't > >enough. > > What may be a better approach is to confirm the fs' that DO work, list > them, and then add something to the effect of, "This feature is unlikely > to work on other file systems." i don't think that's a good approach, because then the rm(1) has to be changed everytime freebsd gets a new fs which works with the -P option. i think it's better to list which fs semantics DON'T work. so if freebsd gets a new fs, users simply have to know which semantics the new fs is based on and can decide for themselves whether the -P switch will work or not. so far the -P option doesn't seem to work for: - COW fs and/or - fs with a variable block size and/or - fs which do journaling please correct me if i got anything wrong. so i think having such a list in the rm(1) manual would be very nice (maybe improving the comment in rm.c too). cheers. alex > > > hth, > > Doug > > -- > > Nothin' ever doesn't change, but nothin' changes much. > -- OK Go > > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ > -- a13x