Date: Tue, 22 Feb 2005 13:39:46 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_stats.c Message-ID: <200502221339.j1MDdkBh041141@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2005-02-22 13:39:46 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_stats.c
Log:
Neuter linux_ustat() until somebody finds time to try to fix it.
The fundamental problem is that we get only the lower 8 bits of the
minor device number so there is no guarantee that we can actually
find the disk device in question at all.
This was probably a bigger issue pre-GEOM where the upper bits
signaled which slice were in use.
The secondary problem is how we get from (partial) dev_t to vnode.
The correct implementation will involve traversing the mount list
looking for a perfect match or a possible match (for truncated
minor).
Revision Changes Path
1.66 +9 -4 src/sys/compat/linux/linux_stats.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502221339.j1MDdkBh041141>
