> > 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. -- meem
