9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Wilhelm B. Kloke" <wb@arb-phys.uni-dortmund.de>
To: 9fans@9fans.net
Subject: Re: [9fans] Streaming on venti
Date: Fri,  6 Jun 2008 09:44:05 +0000	[thread overview]
Message-ID: <slrng4i1js.gkl.wb@vestein.arb-phys.uni-dortmund.de> (raw)
In-Reply-To: <8ccc8ba40806060140t62e84cddy9bf514d2cab9a7bb@mail.gmail.com>

Francisco J Ballesteros <nemo@lsub.org> schrieb:
> a gpt partitioned disk should have its mbr declaring mostly the disk
> in use, IIRC, plan 9 fdisk does not screw it up unless you decide
> to change the partitions in the mbr.

On a GPT partitioned disk the mbr has to be ignored, as there is no way
to make it look the same in every respect.

Plan9 (and other OSs, such as FreeBSD, NetBSD, OS/2, too) has
idiosyncratic ideas conflicting with my own idiosyncratic ideas how
to layout the MBR.  Every time I tried to add a new OS to some
working partition table I got some sort of bad experience, which
ranged from reordering the partion table to confusing sector
addressing styles.

Just not screwing up the partition table is not enough. I want to
access the data partitions outside the plan9 partition either
to store venti arenas on them, so that these are accessible
from other OSs (Plan9 from User Space, e.g.) or to store other
OS-independent file formats like multimedia, or a database.
IIRC this was not there in Plan9 at the time when I tried it.

But let me return to my main point: If you want to store and access
files bigger than the size of a normal venti arena or even a large
part of one, it looks like a bad use of venti to me.
In his paper about Foundation Russ Cox explains some circumstances
where you probably don't want venti to archive these files forever.
For these sort of files the services of other file systems are
overkill, too. You don't want write more than one at the same time mostly.
You don't need the ability to append to the file, once it is closed.
If you have files of several Gigabyte size you
probably want to have them contiguous. You cannot use BSD slices or
BSD partitions or plan9 partitions to store these, because there are too few
of them. The 128 partitions on a GPT are sufficient, because a 500GB
disk can be laid out to use one big chunk to host file systems and
several smaller chunks from 1GB to, say 20GB for multimedia files.
Of course, you need utilities to manage these.

A file system very suitable for this situation was that of DEC's
RT11 (if it were not limited to 16bit block adresses).  On this
system, every file was contiguous, there was a directory, which
looked mostly like a big partition table, because the directory had
only one level. A new file could be allocated either with a fixed
size in the 1st gap to fit, or to fill the biggest gap. The default
was to fill the maximum of the 2nd largest gap and half the largest
gap size.
--
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-373
PGP: http://vestein.arb-phys.uni-dortmund.de/~wb/mypublic.key



  reply	other threads:[~2008-06-06  9:44 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 [this message]
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
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=slrng4i1js.gkl.wb@vestein.arb-phys.uni-dortmund.de \
    --to=wb@arb-phys.uni-dortmund.de \
    --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).