29 |
echo -e ${COLOREDSTAR}"Recording existing mounts in /etc/mtab ..." |
echo -e ${COLOREDSTAR}"Recording existing mounts in /etc/mtab ..." |
30 |
> /etc/mtab |
> /etc/mtab |
31 |
mount -f / && mount -f /proc |
mount -f / && mount -f /proc |
|
# add /dev above if you use devfs |
|
32 |
|
|
33 |
#records devfs if mounted |
#records devfs if mounted |
34 |
if [ "$(get_mounted devfs)" == devfs ] |
if [ "$(get_mounted devfs)" == devfs ] |
62 |
# below. All file systems that are added to the variable in the |
# below. All file systems that are added to the variable in the |
63 |
# form of no<filesystem> will be skipped. |
# form of no<filesystem> will be skipped. |
64 |
|
|
|
#NO_FS="nonfs,nosmbfs,noproc" |
|
65 |
NO_FS="nonfs,nosmbfs,noproc,nocoda,noncpfs,noshm" |
NO_FS="nonfs,nosmbfs,noproc,nocoda,noncpfs,noshm" |
66 |
echo -e ${COLOREDSTAR}"Mounting remaining file systems ..." |
echo -e ${COLOREDSTAR}"Mounting remaining file systems ..." |
67 |
mount -a -t $NO_FS |
mount -a -t $NO_FS |