Page 1 of 1

fstab: how do devices get mounted at boot?

PostPosted: Wed Jul 17, 2019 3:07 pm
by bees10001
I am not understanding how filesystems are mounted at boot time:

Code: Select all
root@LaCie-CloudBox:/ # cat /etc/fstab
none                   /proc           proc    rw
none                   /sys            sysfs   rw
none                   /               ext3    rw
nfsd /proc/fs/nfsd nfsd auto,defaults 0 0

... none?

Code: Select all
root@LaCie-CloudBox:/ # mount
/dev/sda2 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/sda7 on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@LaCie-CloudBox:/ #


so, /dev/sda8 looks like it constitutes all of my sharepoints. Neat. I want to see if I can control how it mounts and possibly to mount loop devices. Am I missing something easy here or is there a document that I probably should have been reading?

Re: fstab: how do devices get mounted at boot?

PostPosted: Wed Jul 17, 2019 8:19 pm
by fvdw
Hi there are running boot scripts at boot time which are mounting the file systems we need including specific options.

The cron scheduler menu from web interface contains an option boot jobs there you can enable a feature to run bash, sh or php scripts at boot time, this could be mounting filesystem (we don't use fstab)
Read the help text belonging to that page of the web interface for more info