Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] [PATCH] Use getmntent_r(3) to parse /proc/mounts lines
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-03-12 02:45:30

Bert Wesarg wrote:
>> Ups, what about the fsroot_fd now? I think this has something to do if
>> /proc and /sys are not mounted at the root, for example in test mode,
>> right?
> I'm right. The only way out I see is to step aside from openat and use
> string operations to for this.
> I see that this would limit the test suit for debug builds, but I also
> don't see a need for a user to set the FSROOT in a production system
> either.

Yes, production systems can use a XML file if they really need a custom
topology. fsroot is only for debugging the Linux code.

I just fixed escaped characters and used your strsep loop for parsing
options. I'll keep your patch on the side in case we find a solution
that is compatible with fsroot. Thanks a lot.