]>
Raphaƫl G. Git Repositories - distgen/blob - lib/root.sh
6 # Mount slash filesystem
7 mount
/dev
/mapper
/${DATANAME} ${MOUNTPOINT}
9 # Make boot, home, mail, mysql in mount point
10 mkdir -p ${MOUNTPOINT}/{boot
,home
,var
/spool
/mail,var
/lib
/mysql
}
12 # Mount boot filesystem
13 mount
/dev
/md
/${MDBOOT} ${MOUNTPOINT}/boot
15 # Mount home filesystem
16 mount
-o subvol
=/home
/dev
/mapper
/${DATANAME} ${MOUNTPOINT}/home
18 # Mount mail filesystem
19 mount
-o subvol
=/mail /dev
/mapper
/${DATANAME} ${MOUNTPOINT}/var
/spool
/mail
21 # Mount mysql filesystem
22 mount
-o subvol
=/mysql
/dev
/mapper
/${DATANAME} ${MOUNTPOINT}/var
/lib
/mysql