Re: PATCH to support dotted base directory names

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Fri, 9 Jul 1999 14:20:18 +0200


On Fri, Jul 09, 1999 at 05:56:50AM -0400, Rick Hohensee wrote:
> execve("/etc/init",argv_init,envp_init);
> execve("/bin/init",argv_init,envp_init);
> execve("/bin/sh",argv_init,envp_init);
> - panic("No init found. Try passing init= option to kernel.");
> + execve("/.sbi/init",argv_init,envp_init);
> + execve("/.bi/bash",argv_init,envp_init);
> + panic("No init or shell found. Try passing init=</path/to/command>"
> + " to the kernel with your bootloader.");

I don't see why we need this in the kernel. Your distribution can
(as you evidently know) pass `init=/.sbi/init' to the kernel, so why
do we need this? Is there actually a good reason we have /etc/init
and /bin/init in there still? Has any distribution in the last 5
years not put init in /sbin?

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/