SUMMARY: ls directories 5th column

From: <egold_at_fsa.com>
Date: Thu Jul 10 2003 - 13:56:30 EDT
here is the answer I was looking for (and its NOT in the man page, I only
post here once in a while and I sometimes get flooded with boyscout emails
about my question being too easy, gimme a break!)

Hello,

In UNIX, directories are actually held on the filesystem as files. Those
files contain a list of files within it, so when you view a directory, it
just points at loads of other files.

Therefore, you never see the directory as a file, but it is actually
stored as one.

The 6444 means the number of bytes that directory file is, so the more
files you have in that directory, the bigger the number becomes, because
it's an index of the files "within" it. It's not the size of the files
within it, just the number of them, that increases the directory size.

Make sense??

Hope so :-)

thanks to all who answered!




----- Forwarded by Evan Gold/NYC/FSA on 07/10/2003 01:53 PM -----
|---------+---------------------------->
|         |           Evan Gold        |
|         |                            |
|         |           07/10/2003 12:53 |
|         |           PM               |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------|
  |                                                                                                              |
  |       To:       sunmanagers@sunmanagers.org                                                                  |
  |       cc:                                                                                                    |
  |       Subject:  ls directories 5th column                                                                    |
  >--------------------------------------------------------------------------------------------------------------|



when you do an ls -al and see directories what does the number in the 5th
column mean?

for example in the following what does "6144" mean?

regards!

drwxrwxr-x   6 root     bin         6144 Jun 27 15:20 sbin/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jul 10 13:59:55 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:16 EST