9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] p9p venti w/ raw partitions
Date: Tue, 24 Jun 2008 07:47:45 -0400	[thread overview]
Message-ID: <20080624114619.0E7421E8C35@holo.morphisms.net> (raw)
In-Reply-To: <f23f111d7379c49e081cc878b9608dee@9srv.net>

> Is anyone running venti with raw disk partitions on Unix? I've got a
> nice large disk to dedicate to it, and would like to do it without
> needlessly imposing another fs, if possible, but am running into
> problems. The blocker now is fmtarenas is complaining that it
> "can't determine size of partition" for raw disk partitions.

I've used raw disk partitions on FreeBSD recently,
and raw disk partitions on Linux a while back.
What OS are you running, and what does

	9 ls -l /dev/your-disk

print?  Assuming it prints a size of 0, you need to figure
out how to get the real disk size out of the kernel.
See /usr/local/plan9/src/lib9/_p9dir.c.

Russ



  reply	other threads:[~2008-06-24 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  2:34 a
2008-06-24 11:47 ` Russ Cox [this message]
2008-06-24 12:16   ` a
2008-06-24 12:57     ` Pietro Gagliardi
2008-06-25  1:14   ` a
2008-06-25 10:45     ` Russ Cox
2008-06-24 12:38 erik quanstrom

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=20080624114619.0E7421E8C35@holo.morphisms.net \
    --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).