Am 2008-04-25 01:21:39, schrieb Rafael Fontenelle:
> Strange. I set a virtual machine with an extra harddisk and I just ran 'cat
> /dev/null > /dev/hdd' as root with /dev/hdd3 umounted in the first attempt
> and then mounted in the second, but nothing happened with my partition or
> the whole virtual disk. See the output below:
>
> rffdebian01:/# cat /dev/null > /dev/hdd
> rffdebian01:/# cd /mnt/hdd3/
> rffdebian01:/mnt/hdd3# ls
> file
> rffdebian01:/mnt/hdd3#
>
> It seems that /dev/null really returned _nothing_. Very different from 'cat
> /dev/zero > /dev/hdd'. This one really formated the virtual harddisk,
> cleaning incl. the partition table (I had to remake the partitions with
> cfdisk). Also displayed a message after completing the harddisk with zeros.
>
> rffdebian01:/# umount /dev/hdd3 && cat /dev/zero > /dev/hdd
> cat: write error: No space left on device
> rffdebian01:/#
dd if=/dev/zero of=/dev/hdd bs=1M
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature