[lsb-discuss] Is getmntent() not in the standard?
Jiri Dluhos
jdluhos at suse.cz
Mon Oct 16 09:30:22 PDT 2006
On Monday 16 October 2006 16:52, you wrote:
> >I have tried to build coreutils with lsbcc and found that the
> >configure script is not able to find any system call to
> >determine the mounted filesystems; I believe this should be
> >getmntent() on Linux.
> >
> >And indeed, it is not in LSB headers. I even could not find it
> >in the specs; is it possible that this function is not part
> >of the standard? If it is, do we have any other way of
> >determining mounts?
>
> These can be answered very briefly: yes, and no. It is
> intentional, although personally I was not all that convinced
> by the reasoning (which was that "system administration" type
> utilities are the only ones that would need this, and they're
> not really part of the scope of LSB).
>
> -- mats
Oops, not exactly the answer I'd be happy to hear :-)
But thank you for information.
Is there a chance for changing this decision for the next spec?
I think enumerating mounted devices is not such a low-level task, I can
imagine normal applications that would use it (for example a filemanager).
Additionally, this makes building LSB-clean environment harder because I need
to build at least some tools outside, increasing the chances of error.
Best regards,
Jiri Dluhos
--
Jiri Dluhos, LSB development jdluhos at suse.cz
SUSE LINUX, s.r.o. http://www.suse.cz
Lihovarska 1060/12 +420 296 542 384
190 00 Praha 9
Czech Republic
More information about the lsb-discuss
mailing list