Re: LANANA: To Pending Device Number Registrants

Richard Gooch
2001-05-14T23:39:37Z

Alan Cox writes:
> > Oh, _that_ one. <shrug> pass rootname=driver!name (or whatever syntax
> > you prefer) to the kernel and call do_mount() instead of sys_mknod() in
> > prepare_namespace() (rootfs patch). BFD.
>
> Yet another 2.5 project. If Linus wants to go play with name driven
> devices and you want to help him great, but if he'd care to put out
> linux-2.5.0.tar.gz _before_ starting that would be good for all of
> us

I use LILO and I pass a devfs name for the ROOT fs. You just need to
pass the name as a string. If you type it at the LILO prompt, it gets
passed as a string (and thus devfs will use it to descend the tree).
Also, you can put in /etc/lilo.conf:
append = "root=/dev/scsi/host0/bus0/target0/lun0/part2"

and it will pass the string. Works nicely.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca