From owner-svn-src-all@FreeBSD.ORG Mon Oct 4 16:34:16 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA865106564A; Mon, 4 Oct 2010 16:34:16 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E81C08FC08; Mon, 4 Oct 2010 16:34:15 +0000 (UTC) Received: by bwz15 with SMTP id 15so5011567bwz.13 for ; Mon, 04 Oct 2010 09:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qb8tCAYXX+BDzVbd4uXo2qXm2dlt5P1XlnwGHIuUXp8=; b=WMT9i4cmovYx4VD9qA+cm1MU1ocGvCp2WTaYV3AqFleCqIa8yytDN5+iarrL6EbGkN NzWjHyuPCateo18mS45Lv7SvQJcJcqLUWNNX+OeqkFlD3IlFMn4EgQ1nsR8p7l39N8B8 xGNP+8Y3FGlkmEWuttY7mnrtLCneeY0+6OvVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZsQiDDOWBIObU6GRfFP/poAM/4eXG50Q3HCxEF7QGJSp18vb4r5wstysgiq6W2GAfe u2G72m6w1SMWfDRqIieAzydbH4vbpPqLiWDdxsSavOK6FJ+r/wJzz0m227t6f4YB4Puv TUw033IWyUw+u0dWJcSinOQszdX8uy+6cMbdQ= MIME-Version: 1.0 Received: by 10.204.117.136 with SMTP id r8mr7198977bkq.119.1286208200665; Mon, 04 Oct 2010 09:03:20 -0700 (PDT) Received: by 10.220.192.196 with HTTP; Mon, 4 Oct 2010 09:03:20 -0700 (PDT) In-Reply-To: <20101004114248.GA16641@freebsd.org> References: <201010040617.o946HkOO002409@svn.freebsd.org> <20101004092559.GB7322@garage.freebsd.pl> <20101004095845.GA99361@freebsd.org> <20101004104257.GH7322@garage.freebsd.pl> <20101004114248.GA16641@freebsd.org> Date: Mon, 4 Oct 2010 12:03:20 -0400 Message-ID: From: Ben Kaduk To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r213398 - 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: Mon, 04 Oct 2010 16:34:17 -0000 On Mon, Oct 4, 2010 at 7:42 AM, Alexander Best wrote: > On Mon Oct =A04 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> =A0 =A0 =A0"The -P option assumes that the underlying file system = is a fixed-block >> > AB> =A0 =A0 =A0file system. =A0UFS is a fixed-block file system, LFS i= s not. =A0In addition, >> > AB> =A0 =A0 =A0only regular files are overwritten, other types of file= s are not." >> > >> > Maybe s/LFS/ZFS/ then, as LFS is no more relevant for FreeBSD users wh= ile 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? I'm not fully up-to-speed on the AFS fileserver backend, but it is certainly the case that AFS cannot guarantee that rm -P will actually overwrite the data on-disk. There are probably several mechanisms by which this could happen, the easiest to see of which would be if a filesystem like ZFS was used as the backing store for the fileserver partitions. > > also: is this really something belonging into a BUGS section? personally = i > think the BUGS section in rm(1) should be renamed to CAVEATS. BUGS is easier to find than CAVEATS, though I guess rm(1) is short enough that we can expect people to read the whole thing. -Ben Kaduk