Gentoo Archives: gentoo-user

From: Matteo Pillon <matteo.pillon@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] Why directories aren't files?
Date: Mon, 18 Sep 2006 09:18:26
Message-Id: 20060918091057.GB23367@neptune.octopus
1 Hi all,
2
3 I was wondering why Linux doesn't treat directories like files, as many
4 other unix implementations do.
5 For example, in Linux, you can't do 'cat .' while on FreeBSD you can.
6 Why? There is a practical reason?
7
8 Forgive me this OT, I wasn't able to find a suitable list.
9
10 Thanks for replies.
11 Bye.
12
13 --
14 * Pillon Matteo
15 --
16 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Why directories aren't files? Roman Zilka <rzilka@××××.cz>
Re: [gentoo-user] [OT] Why directories aren't files? Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
Re: [gentoo-user] [OT] Why directories aren't files? Hans-Werner Hilse <hilse@×××.de>
Re: [gentoo-user] [OT] Why directories aren't files? Ryan Tandy <tarpman@×××××.com>