Re: find inodes of a dir

2020-08-16 Thread Bernhard Voelker
On 2020-08-16 15:01, Andrei Enshin via Bug reports for the GNU find utilities wrote: > > The longer entries are seems to be on different filesystems: > > dev:801 ino:2 name:/ > dev:6 ino:2 name:/dev > dev:18 ino:2 name:/run > dev:3c ino:2 > name:/var/lib/docker/containers/e1c046bb5a81c469a8df15

Re: find inodes of a dir

2020-08-16 Thread Bernhard Voelker
On 2020-08-15 18:56, Andrei Enshin via Bug reports for the GNU find utilities wrote: > The full out of find is: > $ sudo find / -xdev -inum 2 2>/dev/null   > / > /dev > /run > /var/lib/docker/containers/e1c046bb5a81c469a8df15d2120ef0279c00537034d12b16ecf662b8ee373965/mounts/shm > /var/lib/docker/c

Re: find inodes of a dir

2020-08-15 Thread Martin Schulte
Hi Andrei! > I’m trying to identify all hard links pointing to my root directory: > $ sudo ls -lid / > 2 drwxr-xr-x 23 root root 4096 Aug 11 20:58 / > > The inode number is 2 and count of hard links is 23. > > Then I run find: > > $ sudo find / -xdev -inum 2 2>/dev/null | wc -l > 15 I'm rather

Re: find inodes of a dir

2020-08-15 Thread Tavian Barnes
On Sat, 15 Aug 2020 at 11:56, Andrei Enshin via Bug reports for the GNU find utilities wrote: > > > Hello, > > I’m trying to identify all hard links pointing to my root directory: > $ sudo ls -lid / > 2 drwxr-xr-x 23 root root 4096 Aug 11 20:58 / > > The inode number is 2 and count of hard links i