On Saturday 22 October 2005 20:18, Rob Landley wrote:
> I'm trying to play with a system that doesn't have any hardwired
> major/minors in it, just an initscript doing "find /sys -name dev", a bit
> of sed work, and mknod.  (Eventually I'll get the full udev up, but for now
> a dumb little shell script works pretty well.)
>
> Unfortunately, it doesn't list any unassociated ubd devices when I do this.
>  I get loop devices, ttys, even /dev/zero and friends, but no ubd.

>  If I 
> associate one with a file from the command line, it shows up in sys,
Ah, ok, sorry for my previous email. Yes, this matches with what I remember. 
And this also makes sense - it's as for hd* - only present devices are shown.
> but I 
> was under the impression I could associate them from "mount" as well..?
Sorry, but __how__? And to _which purpose_?

The only way you have is:
*) ssh/(telnet) to the host
*) uml_mconsole
*) config ubd0=path (path relative to the UML cwdir at startup). Yes, this is 
hotplug. And it also works for network devices. It's as wonderful as it gets.

> I 
> don't have any ubd nodes to associate anything with unless they show up in
> sysfs first...

> Rob

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to