Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 09:53:50 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.ORG>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Emiel Kollof <coolvibe@hackerheaven.org>, Peter Wemm <peter@wemm.org>, Poul-Henning Kamp <phk@critter.freebsd.dk>, n0go013 <ttz@blahdeblah.demon.co.uk>, current <freebsd-current@FreeBSD.ORG>
Subject:   Re: [ GEOM tests ] disklabel warnings and vinum drives lost
Message-ID:  <20021005002350.GR72541@wantadilla.lemis.com>
In-Reply-To: <Pine.NEB.3.96L.1021004200338.70577U-100000@fledge.watson.org>
References:  <3D9E0DD8.1C9526DE@mindspring.com> <Pine.NEB.3.96L.1021004200338.70577U-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday,  4 October 2002 at 20:07:11 -0400, Robert Watson wrote:
>
> On Fri, 4 Oct 2002, Terry Lambert wrote:
>
>> The assumption here is that the devfs will be available to the system
>> before the root is mounted transparently over it.  This is also doable
>> with an unmounted instance of the backing devfs, not yet mounted on
>> /dev, if a transparent mount of / over top of a preexiting / -> /dev is
>> not supported (i.e. devfs is mounted on /dev on the root FS, rather than
>> the root FS being mounted on a backing node on which defvfs is already
>> mounted on /, and the devices showing through as if they were on /).
>
> Actually, no -- Vinum doesn't know how to do that--the device name used in
> this code originates in a userland ioctl() configuration call for Vinum.
> However, here's a patch that makes Vinum use namei() to rely on devfs to
> locate requested devices instead of parsing the device name and guessing
> the device number (incorrectly with GEOM).  Unfortunately, I almost
> immediately run into a divide by zero due to a zero sector size.  Jeff
> Roberson mentioned to me he had a fix for this bug that he sent to Greg,
> but that was never committed.

FWIW, I've never seen this code.  The dates on the patch suggest that
it was made in the last quarter of an hour:

> --- vinumio.c	21 Aug 2002 23:39:51 -0000	1.75
> +++ vinumio.c	5 Oct 2002 00:03:09 -0000

However:

  RCS file: /home/ncvs/src/sys/modules/vinum/Makefile,v
  revision 1.18
  date: 2000/04/16 00:17:46;  author: grog;  state: Exp;  lines: +1 -3
  Remove MAINTAINER.

Since that point, this particular file has had 5 updates, only one
from me.  Jeff's a committer; he can commit it himself if he wants.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021005002350.GR72541>