Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Why directories aren't files?
Date: Mon, 18 Sep 2006 10:09:50
Message-Id: 200609181159.47853.ext-dirk.heinrichs@nokia.com
In Reply to: [gentoo-user] [OT] Why directories aren't files? by Matteo Pillon
1 Am Montag, 18. September 2006 11:10 schrieb ext Matteo Pillon:
2
3 > I was wondering why Linux doesn't treat directories like files, as many
4 > other unix implementations do.
5
6 It's not Linux, but the applications.
7
8 > For example, in Linux, you can't do 'cat .' while on FreeBSD you can.
9 > Why? There is a practical reason?
10
11 Because one is GNU cat and one is BSD cat. "less ." and "vi ." work just
12 fine, while "more ." doesn't (even though more is less on Linux).
13
14 Bye...
15
16 Dirk
17 --
18 Dirk Heinrichs | Tel: +49 (0)162 234 3408
19 Configuration Manager | Fax: +49 (0)211 47068 111
20 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
21 Hambornerstraße 55 | Web: http://www.capgemini.com
22 D-40472 Düsseldorf | ICQ#: 110037733
23 GPG Public Key C2E467BB | Keyserver: www.keyserver.net