mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
e0a04e86b2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<?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"?>
|
|
|
|
<indexterm zone="ch-bootable-fstab"><primary sortas="e-/etc/fstab">/etc/fstab</primary></indexterm>
|
|
|
|
<screen><userinput>cat > /etc/fstab << "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>
|