proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /run tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /run tmpfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
echo "Creating basic /etc/profile and /etc/profile.d"
install -v -m755 -d ${LFS}/etc/profile.d
cat > ${LFS}/etc/profile << "EOF"
echo "Creating basic /etc/profile and /etc/profile.d"
install -v -m755 -d ${LFS}/etc/profile.d
cat > ${LFS}/etc/profile << "EOF"
# The sort order of ls output is affected by the locale and
# can be overridden by the LC_COLLATE environment variable.
# The sort order of ls output is affected by the locale and
# can be overridden by the LC_COLLATE environment variable.
-export PATH MANPATH LANG LC_COLLATE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS
+# If this is not set, some characters (quotes) are not displayed correctly:
+LC_CTYPE=C
+
+export PATH MANPATH LANG LC_COLLATE LC_CTYPE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS
# Pour que la touche BACKSPACE fonctionne correctement lorsque Bash nous
# demande une confirmation (quand on veut effacer un fichier par exemple).
if tty --quiet ; then
# Pour que la touche BACKSPACE fonctionne correctement lorsque Bash nous
# demande une confirmation (quand on veut effacer un fichier par exemple).
if tty --quiet ; then