From ad9fbd14ae3081faf42dd60a60c56df13752c4d8 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 24 Sep 2022 18:56:45 +0800 Subject: [PATCH] mounting: create &fstab; conventional entity and use it --- chapter02/mounting.xml | 4 ++-- general.ent | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 69a52c04d..f222fb052 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -47,9 +47,9 @@ mount -v -t ext4 /dev/<yyy> $LFS/homeThe 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: /dev/<xxx> /mnt/lfs ext4 defaults 1 1 diff --git a/general.ent b/general.ent index f378f7e20..82d69cf08 100644 --- a/general.ent +++ b/general.ent @@ -121,6 +121,7 @@ root"> lfs"> +/etc/fstab"> %packages-entities;