Re: ls /dev
On Thu, Jul 27, 2000 at 03:34:17PM +0200, Juli-Manel Merino Vidal wrote:
> Hi all,
>
> when doing an 'ls /dev', hurd starts automatically each transator of
> each device file. Why?
> This produces a delay before the directory contents is shown.
Because your ls is really an alias, and you are using
the -F or -l option, or some other option which calls
stat() on each file in the dir.
stat() requires a lot of information from the inode (file size,
ownership, permissions, etc) beside the file name. Those informations
are provided by the translator, not by the underlying node directly.
So, all translators have to start up. You asked them to do :)
Marcus
Reply to:
- Follow-Ups:
- Re: ls /dev
- From: Tomasz Wegrzanowski <maniek@beer.com>
- References:
- ls /dev
- From: Juli-Manel Merino Vidal <jmmv@mail.com>