Brian Feldman 16aae9cbc0 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
2000-03-20 16:28:35 +00:00
..
1999-11-21 12:38:21 +00:00
1999-11-14 13:54:44 +00:00
1999-11-21 19:03:20 +00:00
2000-03-20 16:28:35 +00:00
2000-03-20 16:28:35 +00:00