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, but I
> was under the impression I could associate them from "mount" as well..? I
> don't have any ubd nodes to associate anything with unless they show up in
> sysfs first...
Well, I _do_ remember seeing ubd devices in /sys/block.
> By the way, on the 2.6.13 command line it wants ubd0=blah.img, which shows
> up as ubda inside UML. (Was this fixed in 2.6.14 already?)
The "ubda" syntax is correct - I remember that sometimes the cmd line was
fixed to accept ubda too, possibly for 2.6.14.
--
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