diff options
author | Roland McGrath <roland@gnu.org> | 1999-03-10 09:11:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-03-10 09:11:28 +0000 |
commit | 6250ead22e3d6dceb9c0532c469d8fc475cbd9de (patch) | |
tree | 6eab699cb6efdf5f7d0f0076d4902b06d3b876bc | |
parent | 3cbc9f6caa9361b1bb2bdfc6ebd9993ff140d2ee (diff) |
1999-03-10 Roland McGrath <roland@baalperazim.frob.com>
* boot.c (main): Only use real device name if root_store is for an
enforced single run starting at the beginning of the device.
-rw-r--r-- | boot/boot.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |