Michael Kintzios ([EMAIL PROTECTED]) scribbled:
> 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?

# man shred

[snip]
       -u, --remove
              truncate and remove file after overwriting

       -v, --verbose
              show progress

       -x, --exact
              do not round file sizes up to the next full block;

              this is the default for non-regular files

       -z, --zero
              add a final overwrite with zeros to hide shredding
[snip]

don't use '-u' on devices.

hth,

cooper.

-- 
[email protected] mailing list

Reply via email to