Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13283 - typo in "dd" command in example "Code listing 6.1: Initializing first 1024 Sectors of HD"
Summary: typo in "dd" command in example "Code listing 6.1: Initializing first 1024 Se...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-05 04:28 UTC by Regor Atalante
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regor Atalante 2003-01-05 04:28:29 UTC
Example command in "Code listing 6.1" reads:
"# dd if=/dev/zero of=/dev/hdxy bs=1K"
yet if it is to do as the instructions say and only wipe the first 1024
sectors of the HD the command should be:
"# dd if=/dev/zero of=/dev/hdxy bs=1K count=1"

As written the command will wipe the entire hard drive. This shouldn't be
critical because the user would only zero out the partition table of a drive
on which nothing they wanted to keep existed. However, it still will take much
longer due to all the extra work to fill the drive.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-01-06 22:18:02 UTC
Thanks for the heads up, fixed in cvs.

Cheers,
//zhen