UFS Question on rc.d mount scripts using fstab

The script /etc/rc.d/root mounts the root filesystem.
The script /etc/rc.d/mountlate mounts the filesystems in fstab with late options.
But which script mounts the other filesystems in fstab,i.e.the ones which are not the root filesystem nor have the explicit late option.
[ And what if the mount fails in this script ? , how is the fstab pass 2 option handled ?]
 
AFAIK there is a nice diff&merge for these files during upgrade...
So, obviousely, somebody thinks people might modify them.
I for my part try to avoid that and try to accomplish things mostly ba changing the order these files are executed, but, well, that does not work in all cases.
 
I modified , /etc/rc.d/root ; /etc/rc.d/mountcritlocal ; /etc/rc.subr a bit
That does beg the question, why? What's missing? What can't you get working without the modifications?

I for my part try to avoid that and try to accomplish things mostly ba changing the order these files are executed, but, well, that does not work in all cases.
He might have a good reason for it yes, that makes the reason more interesting to know. Most of the time however it's a simple case of not understanding what can be done with the existing scripts.
 
  • Like
Reactions: PMc
Back
Top