Actually.... 7 is correct.
If you do "ls -lai /proc/fs" you will find that there are two entries with inode 1...
[code]
$ ls -lai /proc/fs
total 0
4026531846 dr-xr-xr-x. 7 root root 0 Aug 25 17:50 .
1 dr-xr-xr-x. 488 root root 0 Aug 25 17:50 ..
4026532040 dr-xr-xr-x. 5 root root 0 Oct 6 15:05 ext4
4026532041 dr-xr-xr-x. 5 root root 0 Oct 6 15:05 jbd2
4026532184 dr-xr-xr-x. 2 root root 0 Oct 6 15:05 lockd
4026532236 dr-xr-xr-x. 2 root root 0 Oct 6 15:05 nfs
1 drwxr-xr-x. 2 root root 0 Aug 25 17:50 nfsd
4026532206 dr-xr-xr-x. 2 root root 0 Oct 6 15:05 xfs
[/quote]
.. in the usual way...
nfsd - which is a mount point.
Take a look at ls -lai /:
Code:
ls -lai /
total 32
96 dr-xr-xr-x. 18 root root 245 Sep 3 17:33 .
96 dr-xr-xr-x. 18 root root 245 Sep 3 17:33 ..
754 lrwxrwxrwx. 1 root root 7 Feb 3 2016 bin -> usr/bin
2 dr-xr-xr-x. 6 root root 4096 Sep 28 07:14 boot
1025 drwxr-xr-x. 20 root root 4600 Sep 11 06:20 dev
134329377 drwxr-xr-x. 186 root root 12288 Oct 5 11:11 etc
2 drwxr-xr-x. 10 root root 4096 Apr 7 18:21 home
106 lrwxrwxrwx. 1 root root 7 Feb 3 2016 lib -> usr/lib
108 lrwxrwxrwx. 1 root root 9 Feb 3 2016 lib64 -> usr/lib64
134330127 drwxr-xr-x. 2 root root 6 Feb 3 2016 media
201327258 drwxr-xr-x. 3 root root 20 Jul 3 07:04 mnt
67616889 drwxr-xr-x. 2 root root 6 Jul 4 14:05 mnt2
113 drwxr-xr-x. 3 root root 20 Jun 29 18:25 opt
1 dr-xr-xr-x. 485 root root 0 Aug 25 17:50 proc
201326689 dr-xr-x---. 11 root root 4096 Oct 6 15:13 root
11767 drwxr-xr-x. 56 root root 1620 Sep 30 11:57 run
759 lrwxrwxrwx. 1 root root 8 Feb 3 2016 sbin -> usr/sbin
67109823 drwxr-xr-x. 2 root root 6 Feb 3 2016 srv
1 dr-xr-xr-x. 13 root root 0 Aug 25 17:50 sys
17882 drwxrwxrwt. 26 root root 660 Oct 6 15:02 tmp
103 drwxr-xr-x. 13 root root 155 Jun 29 11:27 usr
101 drwxr-xr-x. 23 root root 4096 Aug 25 17:50 var
Again, a mismatch (two mount points... home and sys)
Find does not have an exception for /proc. It works just fine.
The problem is WHEN find reads directories. Entries in /proc change while find is even reading them.
Within directories that are relatively static (/proc/fs doesn't change except when you load a new filesystem type) - no issues.
Even on a regular filesystem, if you delete a directory before find has processed it, but after find starts processing you will get an error.