From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E9jXl-0002K6-UD for garchives@archives.gentoo.org; Mon, 29 Aug 2005 13:19:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7TDFx9N010714; Mon, 29 Aug 2005 13:15:59 GMT Received: from ms005msg.fastwebnet.it (ms005msg.fastwebnet.it [213.140.2.50]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7TDBD8O012936 for ; Mon, 29 Aug 2005 13:11:13 GMT Received: from [23.252.116.250] (23.252.116.250) by ms005msg.fastwebnet.it (7.2.060.2) (authenticated as sergio.polini) id 42F8C76100226467 for gentoo-user@lists.gentoo.org; Mon, 29 Aug 2005 15:13:09 +0200 From: Sergio Polini To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to shred without deleting /dev/* Date: Mon, 29 Aug 2005 15:09:36 +0200 User-Agent: KMail/1.8.1 References: <7925530655061@lycos-europe.com> In-Reply-To: <7925530655061@lycos-europe.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Message-Id: <200508291509.37270.sp_rm_it@yahoo.it> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7TDBD8O012936 X-Archives-Salt: 60a30f26-acd3-4193-af43-3c9eb0f08950 X-Archives-Hash: fcec5720378f5535d6a2fd8e7d912ab6 Michael Kintzios: > There's nothing wrong with dd, but I see no reason to create my own > script to extend the basic dd functionality. I would rather use > shred which does everything I want it to do - if only I can avoid > the deletion if the device node itself. Why -u? >>From the man page: ======== Delete FILE(s) if --remove (-u) is specified. The default is not to remove the files because it is common to operate on device files like /dev/hda, and those files usually should not be removed. ======== BTW, which is your filesystem? From the man page again: ======== CAUTION: Note that shred relies on a very important assumption: that the filesystem overwrites data in place. This is the traditional way to do things, but many modern filesystem designs do not satisfy this assumption. The following are examples of filesystems on which shred is not effective: * log-structured or journaled filesystems, such as those supplied with AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.) ======== HTH Sergio -- gentoo-user@gentoo.org mailing list