[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[8ba6ad8] | 8 | <sect1 id="ch-scripts-fstab">
|
---|
[3f8be484] | 9 | <?dbhtml filename="fstab.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Creating the /etc/fstab File</title>
|
---|
| 12 |
|
---|
[8ba6ad8] | 13 | <indexterm zone="ch-scripts-fstab">
|
---|
[3f8be484] | 14 | <primary sortas="e-/etc/fstab">/etc/fstab</primary>
|
---|
[8ba6ad8] | 15 | <secondary>system config</secondary>
|
---|
[3f8be484] | 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 19 | href="../common/fstab.xml"
|
---|
| 20 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 21 |
|
---|
| 22 | <screen><userinput>cat > /etc/fstab << "EOF"
|
---|
| 23 | <literal># Begin /etc/fstab
|
---|
| 24 |
|
---|
| 25 | # file system mount-point type options dump fsck
|
---|
| 26 | # order
|
---|
| 27 |
|
---|
| 28 | /dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
|
---|
| 29 | /dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
|
---|
| 30 | proc /proc proc defaults 0 0
|
---|
| 31 | sysfs /sys sysfs defaults 0 0
|
---|
[c26be85] | 32 | devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
|
---|
[3f8be484] | 33 | shm /dev/shm tmpfs defaults 0 0
|
---|
[97a96f1] | 34 | tmpfs /run tmpfs defaults 0 0
|
---|
| 35 | devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
|
---|
[3f8be484] | 36 | none /proc/openprom openpromfs defaults 0 0
|
---|
| 37 | # End /etc/fstab</literal>
|
---|
| 38 | EOF</userinput></screen>
|
---|
| 39 |
|
---|
[dabbced] | 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 41 | href="../common/fstab.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 43 |
|
---|
| 44 | </sect1>
|
---|