cat > /etc/fstab << "EOF" # Begin /etc/fstab # filesystem mount-point fs-type options dump fsck-order /dev/*LFS* / *fs-type* defaults 1 1 /dev/*swap* swap swap pri=1 0 0 proc /proc proc defaults 0 0 # End /etc/fstab EOF |
When adding a reiserfs partition, the 1 1 at the end of the line should be replaced with 0 0.
For more information on the various fields which are in the fstab file, see man 5 fstab.
devpts /dev/pts devpts gid=4,mode=620 0 0 |
Another example is a line to use if you intend to use USB devices:
usbdevfs /proc/bus/usb usbdevfs defaults 0 0 |
Both of these options will only work if you have the relevant support compiled into your kernel.