Date: Mon, 20 Mar 2000 08:28:37 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_conf.c src/sys/sys conf.h Message-ID: <200003201628.IAA57542@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 2000/03/20 08:28:37 PST
Modified files:
sys/kern vfs_conf.c
sys/sys conf.h
Log:
Split the logic of
static int setrootbyname(char *name);
out into
dev_t getdiskbyname(char *name);
This makes it easy to create a new DDB command, which is the big reason
for the change. You can now do the following in DDB:
Example rc.conf entry:
dumpdev="/dev/ad0s1b" # Device name to crashdump to (if enabled).
db> show disk/ad0s1b
dev_t = 0xc0b7ea00
db> p *dumpdev
c0b7ea00
Revision Changes Path
1.50 +49 -12 src/sys/kern/vfs_conf.c
1.106 +2 -1 src/sys/sys/conf.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003201628.IAA57542>
