9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] files vs. directories
Date: Thu,  3 Feb 2011 14:40:16 +0100	[thread overview]
Message-ID: <201102031440.16555.dexen.devries@gmail.com> (raw)
In-Reply-To: <6067898fb2c004aedabecd83cd0be2ac@brasstown.quanstro.net>

On Thursday, February 03, 2011 02:05:02 pm erik quanstrom wrote:
> > why do we keep distinction between files and directories? Does it provide
> > any extra value over model with unified file/directory?
> 
> yes.  the advantage is that it's easy to tell the difference
> between a file and a directory.

no comments ;-)


> and we have a lot of code
> that works with the current model.

That was my first objection, too; stuff like acme(1) could become strange: I 
can't imagine how to present mixed bytestream+subfiles/subdirectories in a 
reasonable way. Unless the user left the one of the forks empty, that is...
tar(1) would become confused beyond imagination.

How about 8c(1)? would it be too confusing to issue:
8c foo.c
if `foo.c' contained some C code, AND `foo.c/bar.h' contained some more C 
code?

rc(1)? How could `. foo.rc'  handle situation when also `foo.rc/bar.rc/baz.rc' 
exists?


The model seems somewhat sensible in regard to user-oriented documents, 
especially multi-part ones.

`mail/1' could hold body of an email message nr 1, and `mail/1/1' its first 
MIME part.

Perhaps /dev/sd0, /dev/sd0/p0, /dev/sd0/p0/p0 could make some sense in regard 
to drives, partitions etc.?



Perhaps my whole confusion stems from the fact I've never used any record-
oriented filesystem -- otherwise I'd understand pains related to it, as some of 
them would apply in case of my question.


-- 
dexen deVries

[[[↓][→]]]

> how does a C compiler get to be that big? what is all that code doing?

iterators, string objects, and a full set of C macros that ensure
boundary conditions and improve interfaces.

ron minnich, in response to Charles Forsyth

http://9fans.net/archive/2011/02/90



  reply	other threads:[~2011-02-03 13:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 11:45 dexen deVries
2011-02-03 13:05 ` erik quanstrom
2011-02-03 13:40   ` dexen deVries [this message]
2011-02-03 13:59     ` erik quanstrom
2011-02-03 13:36 ` roger peppe
2011-02-03 13:40   ` erik quanstrom
2011-02-03 13:44   ` dexen deVries
2011-02-03 14:15     ` roger peppe
2011-02-03 14:27       ` dexen deVries
2011-02-03 18:42         ` smiley
2011-02-03 22:33           ` dexen deVries
2011-02-04  1:42           ` Robert Ransom
2011-02-04  1:49             ` erik quanstrom
2011-02-04  3:30               ` Robert Ransom
2011-02-04  4:11                 ` Eric Van Hensbergen
2011-02-04  4:17                   ` andrey mirtchovski
2011-02-04  5:36                   ` erik quanstrom
2011-02-03 14:35       ` dexen deVries
2011-02-03 16:58 ` Bakul Shah
2011-02-03 23:13   ` Eric Van Hensbergen
2011-02-04  0:24     ` smiley
2011-02-04  0:45       ` Skip Tavakkolian
2011-02-04  1:29         ` Nick LaForge
2011-02-04 18:26 Lucio De Re
2011-02-04 18:28 Lucio De Re
2011-02-04 18:31 Lucio De Re
2011-02-04 18:41 ` Lucio De Re
2011-08-21 17:33 ` Enrico Weigelt
2011-02-04 18:38 Lucio De Re

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201102031440.16555.dexen.devries@gmail.com \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).