[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200703211920.l2LJKI1K019114@turing-police.cc.vt.edu>
Date: Wed, 21 Mar 2007 15:20:18 -0400
From: Valdis.Kletnieks@...edu
To: rol@...917.net
Cc: "'LKML'" <linux-kernel@...r.kernel.org>
Subject: Re: Why is /dev on a different filesystem ? [Kernel 2.6.20.3]
On Wed, 21 Mar 2007 20:13:50 BST, Paul Rolland said:
>
> So, obviously, tar is right...
> man 2 stat says :
> The st_dev field describes the device on which this file resides.
>
> and df -a reports :
> [root@...t-181 src]# df -a
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda1 7936256 3105556 4421048 42% /
> So, obviously, /dev is on /, but the stat(2) says no.
> Who is right, and where is the bug ?
Might want to 'cat /proc/mounts', and ponder the fact that a filesystem
can be mounted and not listed in /etc/mtab, and then see if your system
has 'udev' installed and enabled.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists