Is there any difference between this:
block umount && block mount;
(taken from here)
And this:
/etc/init.d/fstab boot
(taken from here)
And this one:
/etc/init.d/fstab reload
(the way I usually do when reloading configs)
After importing basic USB device configurations using block detect | uci import fstab
, the command /etc/init.d/fstab boot
threw an error: block: hotplug-call call failed
. I tried /etc/init.d/fstab reload
and it worked. Haven't tried the first command though.
So, what is the correct what to reload fstab
configuration after changing the content of /etc/config/fstab
?
Btw, if both option device
and uuid
are used. Which one is prioritized?
config mount
option device '/dev/sda1'
option uuid '0473b9d7-3e50-4ca3-9fb7-5b7009ad08ff'
option target '/mnt/usb'
option options 'rw,sync'
option enabled 1