9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Streaming on venti
Date: Fri,  6 Jun 2008 11:53:49 -0400	[thread overview]
Message-ID: <ee9e417a0806060853q7fec4caeu7df8739fe16e7acc@mail.gmail.com> (raw)
In-Reply-To: <slrng4idu8.hnr.wb@vestein.arb-phys.uni-dortmund.de>

>  - Using venti for backing up a streaming application is not a good idea.
>  - Contiguous storage areas may be better.

So far I agree with you.

>  - One potential method to provide access to contiguous
> disk space may be a rich partitioning system, e.g. GPT.

I can't believe what a terrible idea this is.  I honestly thought
that PC architecture couldn't get any worse; congratulations.
We were running out of 1-byte partition types so now we're
going to use random 16-byte identifiers that no one can
remember or even read?

>  - Plan9 does not support the last idea.

No, Plan 9 transcends the idea.

As Erik pointed out, Plan 9 couldn't care less what bizarro world
your disks come from.  To keep architecture-specific disk format goo
from infecting the kernel, the disk device presents a very simple
interface that can be used to implement any partitioning scheme
you care to invent, even ones as disgusting as GPT.
You write a simple user-level program that opens the raw disk
device, reads the partition table, and then creates the partitions
by writing commands like

  part linux 63 11425234

to the disk's ctl file.  A GPT implementation would be only a few
hundred lines confined to a single user-space program, if anyone
cared to write it.

Russ


  parent reply	other threads:[~2008-06-06 15:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 11:24 Enrico Weigelt
2008-06-05 12:19 ` ron minnich
2008-06-05 13:38   ` Enrico Weigelt
2008-06-05 13:47     ` erik quanstrom
2008-06-05 14:01 ` Russ Cox
2008-06-05 14:42   ` Enrico Weigelt
2008-06-05 15:40     ` Wilhelm B. Kloke
2008-06-05 15:57       ` erik quanstrom
2008-06-06  8:33         ` Wilhelm B. Kloke
2008-06-06  8:40           ` Francisco J Ballesteros
2008-06-06  9:44             ` Wilhelm B. Kloke
2008-06-06 12:59               ` erik quanstrom
2008-06-06 12:08           ` erik quanstrom
2008-06-06 13:16             ` Wilhelm B. Kloke
2008-06-06 14:06               ` erik quanstrom
2008-06-06 15:53               ` Russ Cox [this message]
2008-06-09  8:51                 ` Wilhelm B. Kloke
2008-06-10  1:56                 ` ron minnich
2008-06-10  2:38                   ` erik quanstrom
2008-06-07  1:23     ` ron minnich

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=ee9e417a0806060853q7fec4caeu7df8739fe16e7acc@mail.gmail.com \
    --to=rsc@swtch.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).