Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 11:42:48 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI <delphij@freebsd.org>, Dmitry Morozovsky <marck@rinet.ru>
Subject:   Re: svn commit: r213398 - head/bin/rm
Message-ID:  <20101004114248.GA16641@freebsd.org>
In-Reply-To: <20101004104257.GH7322@garage.freebsd.pl>
References:  <201010040617.o946HkOO002409@svn.freebsd.org> <20101004092559.GB7322@garage.freebsd.pl> <20101004095845.GA99361@freebsd.org> <alpine.BSF.2.00.1010041435200.95088@woozle.rinet.ru> <20101004104257.GH7322@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon Oct  4 10, Pawel Jakub Dawidek wrote:
> On Mon, Oct 04, 2010 at 02:35:54PM +0400, Dmitry Morozovsky wrote:
> > On Mon, 4 Oct 2010, Alexander Best wrote:
> > 
> > AB> On Mon Oct  4 10, Pawel Jakub Dawidek wrote:
> > AB> > On Mon, Oct 04, 2010 at 06:17:46AM +0000, Xin LI wrote:
> > AB> > > Author: delphij
> > AB> > > Date: Mon Oct  4 06:17:45 2010
> > AB> > > New Revision: 213398
> > AB> > > URL: http://svn.freebsd.org/changeset/base/213398
> > AB> > > 
> > AB> > > Log:
> > AB> > >   Clarify the combination effect of -P and -f to make it clear.
> > AB> > 
> > AB> > While you're at it, it would be nice to add a note that this doesn't
> > AB> > work with all file systems. In case of eg. ZFS the data won't be
> > AB> > overwritten.
> > AB> 
> > AB> isn't this detail already being covered by the existing note in the BUGS
> > AB> section?
> > AB> 
> > AB>      "The -P option assumes that the underlying file system is a fixed-block
> > AB>      file system.  UFS is a fixed-block file system, LFS is not.  In addition,
> > AB>      only regular files are overwritten, other types of files are not."
> > 
> > Maybe s/LFS/ZFS/ then, as LFS is no more relevant for FreeBSD users while ZFS 
> > now is?
> 
> That's what I thought too.

good point. ZFS should really be added to the list and LFS should go away. are
there any other relevant filesystems without a fixed-block size that need to be
mentioned? what about afs? or tmpfs?

also: is this really something belonging into a BUGS section? personally i
think the BUGS section in rm(1) should be renamed to CAVEATS.

cheers.
alex

> 
> -- 
> Pawel Jakub Dawidek                       http://www.wheelsystems.com
> pjd@FreeBSD.org                           http://www.FreeBSD.org
> FreeBSD committer                         Am I Evil? Yes, I Am!



-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101004114248.GA16641>