Gentoo Archives: gentoo-user

From: Renat Golubchyk <ragermany@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to shred without deleting /dev/*
Date: Mon, 29 Aug 2005 12:41:57
Message-Id: 20050829143528.2269a522@mating-tux.renatik.de
In Reply to: [gentoo-user] How to shred without deleting /dev/* by Michael Kintzios
1 Hi!
2
3 On Mon, 29 Aug 2005 12:01:07 +0000 (GMT) "Michael Kintzios"
4 <michaelkintzios@××××××××.uk> wrote:
5 > I was blanking a floppy but when I ran:
6 > ====================
7 > $ shred -u -v /dev/fd0
8 > ====================
9 > /dev/fd0 was dully deleted after the shred operation finished.
10 > Rebooting the machine relaunched udev which recreated fd0 (is there
11 > another way to avoid having to reboot)?
12
13 Why was it deleted? Did you run the command as root?
14
15 > Is there a way of shredding a complete floppy (not just a file at a
16 > time) without removing the /dev/fd0 node? --
17
18 What's wrong with good old dd? How about
19 $ dd if=/dev/zero of=/dev/fd0
20 You can also use /dev/random if it has to be more secure. For even more
21 security run it multiple times in a loop.
22
23 Cheers,
24 Renat
25
26 --
27 Probleme kann man niemals mit derselben Denkweise loesen,
28 durch die sie entstanden sind.
29 (Einstein)
30 --
31 gentoo-user@g.o mailing list