lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Why is /dev on a different filesystem ? [Kernel 2.6.20.3]
    From
    Date
    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@host-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.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2007-03-21 20:23    [W:6.625 / U:0.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site