Overwriting a 4096 byte sector harddisk drive with random data
- From: yudi v <yudi.tux@xxxxxxxxx>
- Date: Thu, 21 Jul 2011 19:48:42 +1000
Hi
I need to write random data to a partition before encrypting it. Suggested
way is to use urandom:
#dd if=/dev/urandom of=/dev/sda2
What is the use of operand "bs" in the following case? I see the above
command executed as follows sometime:
#dd if=/dev/urandom of=/dev/sda2 bs=1M
For the hard drive I got, should I use the following command:
#dd if=/dev/urandom of=/dev/sda2 bs=4096
blocks, the second one in 1MB blocks, and the third in 4096 byte blocks.From what I understand, the first command above will write data in 512 byte
Right?
I am a bit confused about the usage of this operand in this case.
--
Kind regards,
Yudi
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
- Follow-Ups:
- Re: Overwriting a 4096 byte sector harddisk drive with random data
- From: Gilboa Davara
- Re: Overwriting a 4096 byte sector harddisk drive with random data
- Prev by Date: gdm WM chooser
- Next by Date: Re: Overwriting a 4096 byte sector harddisk drive with random data
- Previous by thread: gdm WM chooser
- Next by thread: Re: Overwriting a 4096 byte sector harddisk drive with random data
- Index(es):
Relevant Pages
|