From owner-freebsd-arch Fri Mar 8 10:52:13 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id E5D4837B400 for ; Fri, 8 Mar 2002 10:52:09 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g28IpnnK048208; Fri, 8 Mar 2002 19:51:50 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Luigi Rizzo Cc: Garance A Drosihn , arch@FreeBSD.ORG Subject: Re: Proposed patch: kern.bootdev* sysctl variables In-Reply-To: Your message of "Fri, 08 Mar 2002 10:26:56 PST." <20020308102656.A9076@iguana.icir.org> Date: Fri, 08 Mar 2002 19:51:49 +0100 Message-ID: <48207.1015613509@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020308102656.A9076@iguana.icir.org>, Luigi Rizzo writes: >> >(I know it can be perfected by not assuming that >> >any hard disk is /dev/ad, but you get the idea...) >> >... >> scsi hard drives), and I can also boot off of CD's. If something >> like this is added, I think it pretty much has to give the correct >> answer in all cases. If not, it should give a helpful clue, but > >you can get the correct major/minor numbers for the device >from kern/bootdev: > > # sysctl kern.bootdev > kern.bootdev: 2687500318 > >but the mapping to names of course is totally user-dependent. Uhm devname(3) ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message