From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] p9p venti w/ raw partitions From: "Russ Cox" Date: Tue, 24 Jun 2008 07:47:45 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080624114619.0E7421E8C35@holo.morphisms.net> Topicbox-Message-UUID: c5b1e2e2-ead3-11e9-9d60-3106f5b1d025 > 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