makedev-exp.xml 544 B

123456789101112131415161718
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para>
  4. <userinput>sed "s/# 9/9/" MAKEDEV &gt;/dev/MAKEDEV:</userinput> By
  5. default the Makedev script only creates the hda1-hda8 and hdb1-hdb8
  6. devices. By replacing "# 9" by "9"'s in the MAKEDEV script, it will
  7. create hda1-hda20, hdb1-hdb20 and possible others (like hdc and hdd)
  8. </para>
  9. <para>
  10. <userinput>chmod 754 /dev/MAKEDEV:</userinput> This sets the permissions
  11. of the MAKEDEV script to mode 754 which makes it executable only for
  12. owner and group and readable by everybody.
  13. </para>
  14. </sect2>