8.9. Mounting Kernel Filesystems

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-x86_64-Pure64

### Chapter 8. If You Are Going to Chroot

- Prev

  Creating the passwd, group, and log Files

- Next

  Building the CLFS System

- Up.
- Home

# 8.9. Mounting Kernel Filesystems

## 8.9.1. Mounting Additional Kernel Filesystems

Mount the proper virtual (kernel) file systems on the newly-created directories:

    mount -vt devpts -o gid=4,mode=620 none /dev/pts
    mount -vt tmpfs none /dev/shm

The mount commands executed above may result in the following warning message:

    can't open /etc/fstab: No such file or directory.

This file—`/etc/fstab`—has not been created yet but is also not required for the file systems to be properly mounted. As such, the warning can be safely ignored.

- Prev

  Creating the passwd, group, and log Files

- Next

  Building the CLFS System

- Up.
- Home.