Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2011 14:50:37 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= <kes-kes@yandex.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Re[4]: How to check where space is LOST
Message-ID:  <CA%2BtpaK2M3jBsjrrdQUQkFFXecLdy7b29jgmK2zfbYnQ=hzGV-g@mail.gmail.com>
In-Reply-To: <1479400055.20110912223943@yandex.ru>
References:  <955223604.20110912012332@yandex.ru> <CA%2BtpaK0Oy-dKvJ6sTnYbP11LukNFiQVz50DQZQdnTG7D%2BuGZ4w@mail.gmail.com> <1395681231.20110912084617@yandex.ru> <CA%2BtpaK1efLVwOYj7ZaAWLCc-8px=K2oKYZN0iYk0x9%2BydNfP_w@mail.gmail.com> <1479400055.20110912223943@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/9/12 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA <kes-kes@yandex.ru>
>
> # fstat -f /var
>
> USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
>
> root     snmpd      20545    3 /var      47141 -rw-------  37217152  w
>
> root     snmpd      20545    8 /var      47159 -rw-r-----     728  r
>
> root     cron       20455   wd /var      47105 drwxr-x---     512  r
>
> ...
>
>
> # find /var -inum 47141 -ls
>
You find the inode number with fstat then use find to translate it to a
filename.  It works fine here, if it doesn't work for you perhaps you have =
a
user error or there is some other sort of bug.


--=20
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2M3jBsjrrdQUQkFFXecLdy7b29jgmK2zfbYnQ=hzGV-g>