source: BOOK/bootable/alpha/fstab.xml@ 74c6a83

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 74c6a83 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-bootable-fstab">
9 <?dbhtml filename="fstab.html"?>
10
11 <title>Creating the /etc/fstab File</title>
12
13 <indexterm zone="ch-bootable-fstab">
14 <primary sortas="e-/etc/fstab">/etc/fstab</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/fstab.xml"
19 xpointer="xpointer(//*[@os='a'])"/>
20
21<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
22<literal># Begin /etc/fstab
23
24# file system mount-point type options dump fsck
25# order
26
27/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
28/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
29proc /proc proc defaults 0 0
30sysfs /sys sysfs defaults 0 0
31devpts /dev/pts devpts gid=10,mode=620 0 0
32shm /dev/shm tmpfs defaults 0 0
33# End /etc/fstab</literal>
34EOF</userinput></screen>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/fstab.xml"
38 xpointer="xpointer(//*[@os='b'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../common/fstab.xml"
42 xpointer="xpointer(//*[@os='c'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/fstab.xml"
46 xpointer="xpointer(//*[@os='d'])"/>
47
48</sect1>
Note: See TracBrowser for help on using the repository browser.