mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
52313679f6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@149 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
19 lines
544 B
Plaintext
19 lines
544 B
Plaintext
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para>
|
|
<userinput>sed "s/# 9/9/" MAKEDEV >/dev/MAKEDEV:</userinput> By
|
|
default the Makedev script only creates the hda1-hda8 and hdb1-hdb8
|
|
devices. By replacing "# 9" by "9"'s in the MAKEDEV script, it will
|
|
create hda1-hda20, hdb1-hdb20 and possible others (like hdc and hdd)
|
|
</para>
|
|
|
|
<para>
|
|
<userinput>chmod 754 /dev/MAKEDEV:</userinput> This sets the permissions
|
|
of the MAKEDEV script to mode 754 which makes it executable only for
|
|
owner and group and readable by everybody.
|
|
</para>
|
|
|
|
</sect2>
|
|
|