Hi,
I just found out something strange. Try it out for yourselves. Here
goes. Search for any directories under /boot:
# find /boot/ -type d
/boot/
/boot/grub
/boot/lost+found
So far so good. Now execute a detailed listing on the results:
# find /boot/ -type d -exec ls -l \{} \;
total 6203
-rw-r--r-- 1 root root 68663 sep 3 2009 config-2.6.18-164.el5
drwxr-xr-x 2 root root 1024 avr 6 10:40 grub
-rw------- 1 root root 3228842 avr 6 10:30 initrd-2.6.18-164.el5.img
drwx------ 2 root root 12288 avr 6 10:19 lost+found
-rw-r--r-- 1 root root 80032 mar 12 2009 message
-rw-r--r-- 1 root root 107405 sep 3 2009 symvers-2.6.18-164.el5.gz
-rw-r--r-- 1 root root 954947 sep 3 2009 System.map-2.6.18-164.el5
-rw-r--r-- 1 root root 1855924 sep 3 2009 vmlinuz-2.6.18-164.el5
total 257
-rw-r--r-- 1 root root 63 avr 6 10:40 device.map
-rw-r--r-- 1 root root 7584 avr 6 10:40 e2fs_stage1_5
-rw-r--r-- 1 root root 7456 avr 6 10:40 fat_stage1_5
-rw-r--r-- 1 root root 6720 avr 6 10:40 ffs_stage1_5
-rw------- 1 root root 655 avr 6 10:40 grub.conf
-rw-r--r-- 1 root root 6720 avr 6 10:40 iso9660_stage1_5
-rw-r--r-- 1 root root 8192 avr 6 10:40 jfs_stage1_5
lrwxrwxrwx 1 root root 11 avr 6 10:40 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root 6880 avr 6 10:40 minix_stage1_5
-rw-r--r-- 1 root root 9248 avr 6 10:40 reiserfs_stage1_5
-rw-r--r-- 1 root root 55808 mar 12 2009 splash.xpm.gz
-rw-r--r-- 1 root root 512 avr 6 10:40 stage1
-rw-r--r-- 1 root root 104988 avr 6 10:40 stage2
-rw-r--r-- 1 root root 7072 avr 6 10:40 ufs2_stage1_5
-rw-r--r-- 1 root root 6272 avr 6 10:40 vstafs_stage1_5
-rw-r--r-- 1 root root 8904 avr 6 10:40 xfs_stage1_5
total 0
Why does 'find' suddenly list everything... and not just the
directories?
I'm puzzled.
Niki