public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: Re: [gentoo-user] How to shred without deleting /dev/*
@ 2005-08-29 12:59 Michael Kintzios
  2005-08-29 13:09 ` Sergio Polini
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Kintzios @ 2005-08-29 12:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

> From:: Renat Golubchyk <ragermany@gmx.net>
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] How to shred without deleting /dev/*
> Date: Mon, 29 Aug 2005 14:35:28 +0200
> 
> Why was it deleted? Did you run the command as root?

Well, yes because when I run it as a plain user I am denied access:
====================
$ shred -u -v /dev/fd0
shred: /dev/fd0: Permission denied
====================

> What's wrong with good old dd? How about
>   $ dd if=/dev/zero of=/dev/fd0
> You can also use /dev/random if it has to be more secure. For even more
> security run it multiple times in a loop.

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.
-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at mail.lycos.co.uk

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-user] How to shred without deleting /dev/*
@ 2005-08-29 12:01 Michael Kintzios
  2005-08-29 12:35 ` Renat Golubchyk
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michael Kintzios @ 2005-08-29 12:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

Hi All,

I was blanking a floppy but when I ran:
====================
$ shred -u -v /dev/fd0
====================
/dev/fd0 was dully deleted after the shred operation finished.  Rebooting the machine relaunched udev which recreated fd0 (is there another way to avoid having to reboot)?

On the second floppy I thought of avoiding unwittingly deleting the fd0 node so I tried:
====================
$ shred -u -v /dev/fd0/
shred: /dev/fd0/: Not a directory
====================
Or:
====================
$ shred -u -v /dev/fd0/
shred: /dev/fd0/*: Not a directory
====================

Is there a way of shredding a complete floppy (not just a file at a time) without removing the /dev/fd0 node?
-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at mail.lycos.co.uk

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-30  4:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 12:59 Re: [gentoo-user] How to shred without deleting /dev/* Michael Kintzios
2005-08-29 13:09 ` Sergio Polini
  -- strict thread matches above, loose matches on Subject: below --
2005-08-29 12:01 Michael Kintzios
2005-08-29 12:35 ` Renat Golubchyk
2005-08-29 14:12 ` Jason Cooper
2005-08-30  4:23 ` Chris Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox