From 6250ead22e3d6dceb9c0532c469d8fc475cbd9de Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 10 Mar 1999 09:11:28 +0000 Subject: 1999-03-10 Roland McGrath * boot.c (main): Only use real device name if root_store is for an enforced single run starting at the beginning of the device. --- boot/boot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boot/boot.c') diff --git a/boot/boot.c b/boot/boot.c index 66810fbe..b2a5a377 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -481,7 +481,9 @@ main (int argc, char **argv, char **envp) mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_PORT_SET, &receive_set); - if (root_store->class == &store_device_class && root_store->name) + if (root_store->class == &store_device_class && root_store->name + && (root_store->flags & STORE_ENFORCED) + && root_store->num_runs == 1 && store->runs[0].start == 0) /* Let known device nodes pass through directly. */ bootdevice = root_store->name; else -- cgit v1.2.3