Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 1998 08:06:20 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        peter@sweda.com.hk (Peter Kok)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: directory
Message-ID:  <199809231306.IAA00468@horton.iaces.com>
In-Reply-To: <3608F5DE.1CC8D865@sweda.com.hk> from Peter Kok at "Sep 23, 98 09:21:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Peter Kok said:
> Hello
> 
> i type ls -l, it lists file type, access right, time and size
> 
> there is different size for directory, some are
> 
> drwxr-xr-x        2    bin    bin            512    sep 16:00    bin
> 
> drwxr-xr-x        4    root    wheel        9728    sep 19    dev
> 
> in fact, what is the meaning of  2 or 4
> and the size of directory 512 and 9728
> 

2 & 4 is the number of links pointing to the file or directory. The size
of the directory is based on how many inodes the directory needs to point
to all the files in that directory.

-- 
Never attribute to malice that which is adequately explained by stupidity.
                                        --Grant R. Gainey

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809231306.IAA00468>