From: Brian J. W. <Bri...@hp...> - 2002-12-04 00:22:30
|
> If we have a separate /usr partition the use of /usr/sbin/chroot in > linuxrc will fail. How do we fix this ? Back in the days of NonStop Clusters for UnixWare, /usr had to be part of the root file system. I can't remember the precise reason why, but I doubt we need to have the same restriction on Linux. To solve the chroot problem, we could just copy it into /bin of the initrd and run it out of there. SSI-specific commands that might be run before /usr is mounted, such as cmount, should not be installed under /usr. They should be installed in /bin or /sbin. In the case of cmount, it should be installed in /bin, just like the mount command. > I have fixed some of the path issues in the CVS by removing the path and > just specifying the binary . ie instead of /usr/sbin/cmount i used > cmount. If it is not advisable to do the above please feel free to > modify. It's not a problem as long as the PATH variable is guaranteed to contain the command's path. Just to be safe, the PATH variable should be set at the top of a script if any commands outside of /bin are being called. BTW, does your new Cluster Tools build system support installing into a UML root image? I remember there were a few special things that needed to be done, like installing a pre-written /etc/clustertab. -Brian |