Re: 2.6.9-rc2-mm4 stat -f sickness

From: Russell King
Date: Mon Oct 04 2004 - 17:39:47 EST


On Mon, Oct 04, 2004 at 02:46:39PM -0600, Jeff V. Merkey wrote:
> In 2.6.9-rc2-mm4 the command "stat -f /dev/<device>" always returns
> EXT2_SUPER_MAGIC and other bogus information even if other filesystems
> are mounted on the device.

Please read the statfs manpage carefully. You will find that statfs
does not report the filesystem type found inside the "path" you asked
for, but the filesystem type _containing_ the path.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/