Peter Memishian wrote: > > > dladm_set_rootdir() is already part of libdladm; see: > > > > > > http://www.opensolaris.org/os/community/arc/caselog/2006/517/mail > > > > > I see. But it doesn't answer my question: do we need to set rootdir back > to > > default after we are done? > > It's set for the process using libdladm; if that process needs to use a > different alternate root part way through, it would need to call > dladm_set_rootdir() again to change it again. But the current consumer > (dladm) would never do this, since "-R" applies to the entire subcommand > invocation. > I understand the current implementation. But unfortunately that it might not work in the new implementation - as there are persistence request comes both from libdladm and the kernel, we will use a daemon to do the persistence processing but the daemon won't know about the boundary of each subcommand invocation.
- Cathy
