Re: strange output of "ls -l"

From: mjt (mjtobler_at_removethis_mail.ru)
Date: 05/16/05


Date: Mon, 16 May 2005 13:56:04 -0500


("sudip" <sudip.k.chatterjee@gmail.com>) scribbled:

> Many apologies if i'm posing a silly question!...i'm only 15 days
> old to Linux, and using Fredora Core 2. When I use the long listing
> command ls -l on my system, the output on on the screen shows all the
> directories as having 4096/4K characters/bytes...
> Why is this so?..

... basically, in *nix, everything is treated as a file and
a directory is no exception. a directory is nothing more than
a [special] file itself that has a list of files for that
directory. depending on the filesystem and the allocation
specified for it will determine its block size, so if the
default block size is 4k, then it is initially created to
hold 4k data, even though it might be less.

-- 
<<  http://michaeljtobler.homelinux.com ()  >>
Demand the establishment of the government in its rightful home at Disneyland.


Relevant Pages

  • Re: classic deficiancy in both windows and linux ?
    ... Hey, Linux is Perfect!!! ... You must be an Evil Windows Troll!!! ... > Can you figure out a way to get a listing of a directory (folder in ... What's wrong with the command line? ...
    (Debian-User)
  • Re: strange output of "ls -l"
    ... On 2005-05-16, Vilmos Soti wrote: ... >> old to Linux, and using Fredora Core 2. ... When I use the long listing ...
    (comp.os.linux.misc)
  • Re: strange output of "ls -l"
    ... and using Fredora Core 2. ... When I use the long listing ... > command ls -l on my system, the output on on the screen shows all the ... That's the standard for vfat filesystem. ...
    (comp.os.linux.misc)
  • Re: strange output of "ls -l"
    ... > old to Linux, and using Fredora Core 2. ... When I use the long listing ... > command ls -l on my system, the output on on the screen shows all the ...
    (comp.os.linux.misc)
  • Re: Libraries
    ... How can I know which libraries are installed in linux? ... will give you a listing of all the 'known' libraries ...
    (comp.os.linux.misc)