Re: strange output of "ls -l"
From: mjt (mjtobler_at_removethis_mail.ru)
Date: 05/16/05
- Next message: Alan Connor: "Re: strange output of "ls -l""
- Previous message: Grant Edwards: "Re: strange output of "ls -l""
- In reply to: sudip: "strange output of "ls -l""
- Next in thread: Alan Connor: "Re: strange output of "ls -l""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Alan Connor: "Re: strange output of "ls -l""
- Previous message: Grant Edwards: "Re: strange output of "ls -l""
- In reply to: sudip: "strange output of "ls -l""
- Next in thread: Alan Connor: "Re: strange output of "ls -l""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|