9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Tim Newsham <newsham@lava.net>
Cc: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] playing music (was RSA)
Date: Mon, 31 Jan 2005 15:21:04 -0500	[thread overview]
Message-ID: <ee9e417a0501311221481b1e55@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSI.4.61.0501311003150.23562@malasada.lava.net>

> What I think would be nifty to see (although I don't use plan9port
> much, and am not volunteering to do myself ;-) would be to have
> all the filesystem operations get translated into 9p messages
> and have a server for accessing the native unix filesystem and
> servers for each of the devices that you'd want to access from
> plan9ports (ie. /dev/audio).

This sounds great until you try it, and then it's
like you're living in this bizarre alternate universe
where you have to keep traack of which programs are
"9p-ified" and which are not, so there's no difference
between

    9 cat /etc/passwd
    cat /etc/passwd

but there is a difference between

9 cat /mnt/plumb/rules
cat /mnt/plumb/rules

which is just weird.  And then maybe you change the
shell so it can cd into these directories-which-don't-really-exist,
and then you can run 9p-ified programs while in those 
directories but not normal ones.  And you can't run
any executables in those directories, because they're
not really directories.  Or maybe you don't change the shell,
in which case 

    9 cat /mnt/plumb/rules

works but cd /mnt/plumb does not.

I agree it's a great idea in principle, but to do it right you
really have to go all the way and put the support in the 
kernel (like Ron and Eric did for Linux).   And then you're
way more system-specific than just writing a few lines of
code to initialize the audio device.

If enough of this kind of system-specific code shows up,
then I will probably create a libsysgoo that at least 
isolates it from the rest of the system.  But right now it's
just the tty code in 9term, and the code in libthread
but that isn't possible to split out.  (Audio is not there,
since Juke isn't in plan9port.)

Russ


  reply	other threads:[~2005-01-31 20:21 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-06 21:47 [9fans] RSA + OAEP padding Paul Lalonde
2004-11-06 21:58 ` andrey mirtchovski
2004-11-06 22:01   ` boyd, rounin
2004-11-06 22:13     ` andrey mirtchovski
2004-11-06 22:37       ` Axel Belinfante
2004-11-06 22:56         ` Russ Cox
2004-11-06 23:00           ` boyd, rounin
2004-11-06 23:14           ` andrey mirtchovski
2004-11-07  0:35           ` Christopher Nielsen
2005-01-31  7:03           ` [9fans] playing music (was RSA) Russ Cox
2005-01-31  7:59             ` Kenji Okamoto
2005-01-31  8:05               ` Russ Cox
2005-01-31  8:08                 ` Kenji Okamoto
2005-01-31  8:32                   ` Russ Cox
2005-01-31  8:41                     ` Kenji Okamoto
2005-01-31 11:01                     ` Axel Belinfante
2005-01-31 17:59                       ` Russ Cox
2005-01-31 20:07                         ` Tim Newsham
2005-01-31 20:21                           ` Russ Cox [this message]
2005-01-31 20:30                           ` rog
2005-01-31 14:45                     ` Sape Mullender
2005-01-31 10:56             ` Axel Belinfante
2005-02-02  9:18               ` Kenji Okamoto
2005-02-03  7:54                 ` Kenji Okamoto
2005-02-03  8:00                   ` boyd, rounin
2005-02-03  9:06                     ` Kenji Okamoto
2005-02-03  9:16                       ` boyd, rounin
2005-02-03 15:28                   ` Sape Mullender
2005-02-04  1:08                     ` Kenji Okamoto
2005-02-04  1:17                       ` boyd, rounin
2005-02-04  1:20                         ` Kenji Okamoto
2005-02-04  1:24                           ` boyd, rounin
2005-02-04  1:27                             ` Kenji Okamoto
2005-02-04  1:36                               ` boyd, rounin
2005-05-07  8:59                                 ` Ralph Corderoy
2005-05-07 12:57                                   ` Russ Cox
2005-02-04  9:59                             ` Steve Simon
2005-02-04  1:19                       ` boyd, rounin
2005-02-04  1:22                       ` bs
2005-02-04 13:24                       ` Sape Mullender
2005-02-07  2:35                         ` Kenji Okamoto
2005-01-31 16:28             ` rog
2005-01-31 17:18               ` Russ Cox
2004-11-07  2:48 ` [9fans] RSA + OAEP padding William Josephson
2004-11-07  5:17   ` Paul Lalonde
2004-11-07  8:12     ` [9fans] venti httpaddr arisawa
2004-11-07 15:40       ` Russ Cox
2004-11-07 22:58         ` arisawa
2005-02-04  2:01 [9fans] playing music (was RSA) YAMANASHI Takeshi
2005-02-04  9:33 ` C H Forsyth

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=ee9e417a0501311221481b1e55@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    --cc=newsham@lava.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).