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
2000-02-28 06:36:45 +00:00
2000-02-15 08:49:57 +00:00
1999-12-29 05:07:58 +00:00
2000-02-25 11:43:08 +00:00
2000-01-19 06:02:31 +00:00
1999-12-15 23:02:35 +00:00
2000-01-19 06:07:34 +00:00
2000-03-20 14:09:06 +00:00
2000-01-23 15:47:46 +00:00
2000-01-21 06:57:52 +00:00
1999-11-24 01:03:08 +00:00
2000-01-20 07:12:52 +00:00
2000-01-10 04:09:05 +00:00
1999-12-06 11:13:50 +00:00
2000-02-12 13:41:56 +00:00
2000-01-10 08:00:58 +00:00
1999-12-15 23:02:35 +00:00
1999-12-15 23:02:35 +00:00
2000-03-16 08:51:55 +00:00
1999-11-16 16:28:58 +00:00
2000-03-14 14:58:04 +00:00
2000-02-12 13:41:56 +00:00
2000-03-20 14:09:06 +00:00
2000-03-20 11:29:10 +00:00
2000-02-08 19:54:15 +00:00
2000-01-16 16:34:26 +00:00
2000-03-20 14:09:06 +00:00
2000-02-15 09:02:07 +00:00
2000-01-12 17:26:42 +00:00
1999-12-15 23:02:35 +00:00
2000-03-02 22:03:49 +00:00
2000-03-13 10:47:24 +00:00
2000-03-20 14:09:06 +00:00
2000-03-20 14:09:06 +00:00
1999-12-27 10:22:09 +00:00
1999-12-24 15:33:36 +00:00
1999-12-24 15:33:36 +00:00
1999-12-24 15:33:36 +00:00
2000-01-27 01:22:06 +00:00
1999-11-22 14:40:04 +00:00
1999-11-14 13:54:44 +00:00
1999-12-19 06:08:07 +00:00
1999-12-29 05:07:58 +00:00
2000-01-19 06:07:34 +00:00
2000-03-16 08:51:55 +00:00
2000-03-16 09:32:59 +00:00
2000-03-20 10:44:49 +00:00
2000-03-09 12:40:41 +00:00
2000-03-20 12:34:21 +00:00
2000-03-20 12:34:21 +00:00
2000-03-20 10:44:49 +00:00
1999-11-16 16:28:58 +00:00
1999-12-12 05:52:51 +00:00
1999-11-16 16:28:58 +00:00
1999-11-24 01:03:08 +00:00
2000-01-13 09:09:02 +00:00
2000-03-02 22:03:49 +00:00
2000-02-20 13:36:26 +00:00
1999-12-26 13:04:52 +00:00
1999-11-21 19:03:20 +00:00
2000-01-19 06:02:31 +00:00
2000-01-19 06:01:07 +00:00
2000-03-13 23:00:08 +00:00
2000-03-10 09:11:24 +00:00
2000-01-30 10:14:13 +00:00
2000-01-25 09:20:08 +00:00
2000-02-09 03:32:11 +00:00
1999-11-18 06:39:47 +00:00
2000-01-28 17:11:07 +00:00
1999-12-28 06:35:57 +00:00
2000-03-03 11:13:12 +00:00
2000-03-03 11:13:12 +00:00
2000-03-18 08:56:56 +00:00
1999-12-12 05:52:51 +00:00
2000-03-09 15:15:27 +00:00
2000-01-19 06:07:34 +00:00
2000-03-20 11:29:10 +00:00
2000-03-20 11:29:10 +00:00
2000-02-14 06:09:01 +00:00
2000-03-20 10:44:49 +00:00
2000-03-20 16:28:35 +00:00
2000-03-20 10:44:49 +00:00
2000-03-20 11:29:10 +00:00
2000-01-10 00:08:53 +00:00
1999-12-12 16:30:34 +00:00
1999-12-15 23:02:35 +00:00
2000-03-20 16:28:35 +00:00
2000-03-20 11:29:10 +00:00
2000-01-10 00:08:53 +00:00
2000-01-10 12:04:27 +00:00
1999-12-12 16:43:05 +00:00
1999-12-19 06:08:07 +00:00