bin/123574: [unionfs] df(1) -t option destroys info for unionfs (and maybe other) mounts

Daichi GOTO daichi at freebsd.org
Tue May 20 20:35:46 UTC 2008


matteo at FreeBSD.org wrote:
> Synopsis: [unionfs] df(1) -t option destroys info for unionfs (and maybe other) mounts
(snip)
> User is running 6.3 which, IIRC, does not include the new unionfs implementation, but this
> bug may be present in the new one too. Daichi surely knows whether this is the case.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=123574

I suppose that this issue depends on implementation of df(1) not unionfs.

Most case df gets filesystem information by getmntinfo(3), but in "df -t"
case, it gets that by statfs(2). "df -t" uses statfs(2) with a target
mount point, so "df -t" prints top layer filesystem information
mount-count repeated.

I guess that to fix this issue, the change of df(1) implementations is
better way :)  Do you know who is better man to maintain df(1) implementation?
It seems that df(1) does not have active maintainer.

-- 
   Daichi GOTO, http://people.freebsd.org/~daichi


More information about the freebsd-bugs mailing list