Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2002 19:51:49 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        Garance A Drosihn <drosih@rpi.edu>, arch@FreeBSD.ORG
Subject:   Re: Proposed patch: kern.bootdev* sysctl variables 
Message-ID:  <48207.1015613509@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 08 Mar 2002 10:26:56 PST." <20020308102656.A9076@iguana.icir.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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