While going through the old SUN docs, it occured to me that the run level initiating scripts /sbin/rc0,rc5 and rc6 have the same inode number. I understand they perform the same fuction (call /etc/rc0.d/K* and S* scripts) but still they are three different files and not linked to each other. They all also lie in the same partition. So, how come three different files in the same partition use the same inode number?? Am I missing something here?
Observe that rc0, rc5 and rc6 have the same inode number 33682 and the link count is 3.
I have never used Solaris. But, those seem like hard links. Hard links will have the same inode number. All those 3 names will be referring to the same physical location on disk. Basically, you use the 3 names to refer to the same thing. This is esp. used when you want something (script,etc.) to do different things and these "different" things do not differ much and so it does not warrant creation of separate scripts for the "different" things. So, you use only 1 copy and do these "different" things depending on the name the script is called with.
Last edited by elixir_sinari; 09-22-2012 at 09:01 AM..
Hi guys,
need your help on this since i dont know much about solaris.
the problem is i need to increase inodes space on /export/home/
root@BRF-DANCCM1 # /usr/ucb/df -i
Filesystem iused ifree %iused Mounted on
/dev/vx/dsk/bootdg/rootvol
53026 1162206 ... (7 Replies)