Click to See Complete Forum and Search --> : What does the 1 mean?


7
03-16-2001, 08:32 AM
I have no idea. I cant find info about it anywhere!

Priss:~# ls -l
total 1
-rw------- 1 root root 103 Jan 25 12:22 DEADJOE


Anyone know?

nopun
03-16-2001, 08:55 AM
It's the number of hard links to that file. Or to put it another way, how many names is this file known by?
To create a hard link type

ln DEADJOE DEADJOE2

You will now see that you have two files with "2" against them. If you type "ls -il" to see inode information, you will see that the two files share the same inode - ie they are the same file.