fstab mount Examples | Drupal 8

fstab mount Examples

Submitted by editor on Wed, 07/27/2016 - 10:22
Question

fstab mount basic examples.

Bind

#Bind normal www dir and mysql dir to another directory

/home/DATA/mysql/ /var/lib/mysql    none    bind
/home/DATA/www/ /var/www            none    bind

 

NoAuto and NoFail

All specified devices within /etc/fstab will be automatically mounted on startup and when the -a flag is used with mount unless the noauto option is specified. Devices that are listed and not present will result in an error unless the nofail option is used.

Tags

Add new comment