|
From: Bruce S. <bw...@ar...> - 2006-10-06 17:49:13
|
> > We could start portmap and mount.nfs right after the network, before > > anything else starts. > > You'll need to modify the inserv config file, I think we had that in > > build/scripts/config/ OK, I added a /etc/init.d/nfs script for NFS mounts in /etc/fstab. The script also does a mkdir on all the directories before the mount, just in case they don't exist. I'm not sure what you wanted me to change in the insserv.conf file. Are there any other scripts that should "require" the nfs script first? > If you're going to make it easier to do NFS mounts, you should > also consider making it easier to create mount points in a > logical place. > > Unless I'm missing something, it doesn't appear that you can > create new directories under /mnt since the filesystem is > read only. Perhaps /mnt should be made a link to /shm/mnt, > like /etc and /var, to allow new directories to be created > under /mnt. That is probably a good idea, but what is that going to break? Do any of the standard scripts make use of /mnt now? (save-config? -- appears NOT to use /mnt, but what else?) BTW, I ran a little test mounting a directory that is really a symlink to another directory, and it seems to work fine. - BS |