fstab: how do devices get mounted at boot?

fstab: how do devices get mounted at boot?

Postby bees10001 » Wed Jul 17, 2019 3:07 pm

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?
bees10001
Donator VIP
Donator VIP
 
Posts: 2
Joined: Wed Jul 17, 2019 12:42 am

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

Postby fvdw » Wed Jul 17, 2019 8:19 pm

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
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 13 guests