So, I found a dir whose absolute path is /var/cache with the following stat info:
Code:
File: '/var/cache'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 803h/2051d Inode: 3850482 Links: 17
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2016-01-05 22:39:57.751115545 -0500
Modify: 2016-01-19 23:01:47.215809957 -0500
Change: 2016-01-19 23:01:47.215809957 -0500
Birth: -
I wanted to move the said dir to another file system. The problem is that I can't figure out where it links to. The file system it's on is ext4 (don't know if it makes a difference.)
I executed
Code:
find /etc /usr /var /run /bin /sbin /lib64 /tmp /opt -samefile /var/cache; find -L /etc /usr /var /run /bin /sbin /lib64 /tmp /opt -samefile /var/cache
I also tried the same with the inode number.
I see simmilar for other dirs too / has 27 links.
Perhaps these are in proc?