Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52117 - udev-guide: minor correction needed
Summary: udev-guide: minor correction needed
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Camille Huot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 11:22 UTC by Tuan Van (RETIRED)
Modified: 2004-05-27 09:29 UTC (History)
2 users (show)

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


Attachments
patch for udev-guide.xml (udev-guide.patch,664 bytes, patch)
2004-05-27 01:18 UTC, Gregorio Guidi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tuan Van (RETIRED) gentoo-dev 2004-05-26 11:22:34 UTC
quoted from http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3 :
[quote]
Code Listing 3.1: Listing device nodes available at boot

# mkdir test
# mount --bind / test
# cd test/dev
# ls

The devices needed for a successful boot are /dev/null and /dev/console. If they didn't show up in the previous test, you have to create them manually. Issue the following commands in the test/ directory created previously:

Code Listing 3.2: Creating necessary device node files

# mknod -m 660 dev/console c 5 1
# mknod -m 660 dev/null c 1 3

When you're finished, don't forget to unmount the test/ directory:

Code Listing 3.3: Unmounting the test/ directory

# umount test
[/quote]

If I follow the step word by word I will get:
# umount test
umount: test: not found
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-27 01:18:13 UTC
Created attachment 32127 [details, diff]
patch for udev-guide.xml

This patch should do it.
Comment 2 Camille Huot (RETIRED) gentoo-dev 2004-05-27 04:09:04 UTC
Fixed with:

 <pre caption="Creating necessary device node files">
-# <i>mknod -m 660 dev/console c 5 1</i>
-# <i>mknod -m 660 dev/null c 1 3</i>
+# <i>mknod -m 660 console c 5 1</i>
+# <i>mknod -m 660 null c 1 3</i>
 </pre>

[...]

 <pre caption="Unmounting the test/ directory">
+# <i>cd ../..</i>
 # <i>umount test</i>
+# <i>rmdir test</i>
 </pre>

Thanks.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-27 08:42:12 UTC
Camille, add this too:

- Issue the following commands in the test/ directory created previously:
+ Issue the following commands in the test/dev/ directory created previously:

Thanks.
Comment 4 Camille Huot (RETIRED) gentoo-dev 2004-05-27 09:29:28 UTC
Done