aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/fstab.xml
blob: 8ecd88e2f50873a06f7a9bb8f84b0b4b3a0bc399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>
<sect1 id="ch-bootable-fstab">
<title>Creating the /etc/fstab file</title>
<?dbhtml filename="fstab.html"?>


<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
# Begin /etc/fstab

# file system  mount-point  fs-type  options         dump  fsck-order

/dev/<replaceable>[xxx]</replaceable>     /            <replaceable>[fff]</replaceable>    defaults        1     1
/dev/<replaceable>[yyy]</replaceable>     swap         swap     pri=1           0     0
proc           /proc        proc     defaults        0     0
sysfs          /sys         sysfs    defaults        0     0
devpts         /dev/pts     devpts   gid=4,mode=620  0     0
shm            /dev/shm     tmpfs    defaults        0     0
# End /etc/fstab
EOF</userinput></screen>

</sect1>