GNU bug report logs -
#6816
df bug on 64-bit Solaris (need to use getextmntent)
Previous Next
Reported by: "Wood, David" <David.Wood <at> deshaw.com>
Date: Fri, 6 Aug 2010 21:28:02 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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 <bruno <at> clisp.org>
>
> mountlist: Improve support for Solaris in 64-bit mode.
> Reported by David Wood <David.Wood <at> deshaw.com> 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
This bug report was last modified 6 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.