Subject: Re: bug#6816: df bug on 64-bit Solaris (need to use getextmntent)

From: Assaf Gordon <[email-masked]>
Date: Mon, 29 Oct 2018 23:01:44 -0600

Hello Bruno,

On 2018-10-12 10:17 a.m., Bruno Haible wrote:
> David Wood wrote:
>>>> At this point, me->me_dev contains a wrongly packed (32-bit) device
>>>> number, which forces the find_mount_point() code path (causing other
>>>> unpleasantries).  The following patch against coreutils v8.5 fixes the
>>>> problem:
> 
> This problem description was to the point, but I needed a bit of time to
> understand the issue entirely.
[...]
> So, really, we need to avoid the wrongly encoded dev_t values, and
> this means to follow the advice from the mnttab.4 man page.
> 
> 
> 2018-10-12  Bruno Haible  <[email-masked]>
> 
> 	mountlist: Improve support for Solaris in 64-bit mode.
> 	Reported by David Wood <[email-masked]> in
> 	<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=6816>.
> 	* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): On Solaris 8 or
> 	newer, define MOUNTED_GETEXTMNTENT instead of MOUNTED_GETMNTENT2.
> 	* lib/mountlist.c: Add code for MOUNTED_GETEXTMNTENT case.

Did this solve the issue (any reports from Solaris users)?
can this bug be closed?

-assaf