First of all, I am doing from inside a C code. Also, the system needs to remember that this is done temporarily and has to revert back to original state before signing off.
-Narendra On 9/25/07, David Bustos <David.Bustos at sun.com> wrote: > > Quoth Narendra Kumar S.S on Wed, Sep 19, 2007 at 12:47:24PM +0530: > > I am working on a fix related to patching/packaging tools. > > When the system is in single user mode and if there are any local zones > > installed on filesystems other than root fs, > > the patch and packaging tools will fail to install on local zones. > > The reason is, non-root filesystems are not mounted since the service > > "svc:/system/filesystem/local:default" is "disabled" in single user > mode. > > The solution, that I am proposing is to bring this service "online" > > temporarily and put it back to "diabled" state after the patch/pkg tools > are > > completed. > > > > Now, by default the service "svc:/system/filesystem/local:default" will > be > > "disabled" in single-user mode. > > If the service is in any other state, then it must be due to some > problem or > > the user could have done it on purpose. > > So, do I need to bring the service "online" only in case of "disabled" > state > > or should I try to do this even in non-defaults states? > > If you want to mount the local filesystems, why not just use mountall? > > > David > -- Warm Regards, Narendra Visit my blogs at: http://ssnarendrakumar.blogspot.com/ ___ ___ __ _ / __/ / __/ / | / / _\ \ _ \ \ / /| |/ / \___/ \___/ /_/ |__/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070925/573d5c94/attachment.html>