mounting: create &fstab; conventional entity and use it

This commit is contained in:
Xi Ruoyao 2022-09-24 18:56:45 +08:00
parent f001ece905
commit ad9fbd14ae
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 3 additions and 2 deletions

View File

@ -47,9 +47,9 @@ mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/home</userinpu
<warning><para>The above instructions assume that you will not restart
your computer throughout the LFS process. If you shut down your system,
you will either need to remount the LFS partition each time you restart
the build process, or modify the host system's /etc/fstab file to automatically
the build process, or modify the host system's &fstab; file to automatically
remount it when you reboot. For example, you might add this line to your
/etc/fstab file:
&fstab; file:
<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable> /mnt/lfs ext4 defaults 1 1</screen>

View File

@ -121,6 +121,7 @@
<!ENTITY root "<systemitem class='username'>root</systemitem>">
<!ENTITY lfs-user "<systemitem class='username'>lfs</systemitem>">
<!ENTITY fstab "<filename>/etc/fstab</filename>">
<!ENTITY % packages-entities SYSTEM "packages.ent">
%packages-entities;