linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] Unassociated ubd in sysfs?
Date: Tue, 25 Oct 2005 01:24:18 +0200	[thread overview]
Message-ID: <200510250124.21434.blaisorblade@yahoo.it> (raw)
In-Reply-To: <200510221318.00565.rob@landley.net>

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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2005-10-24 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-22 18:18 [uml-devel] Unassociated ubd in sysfs? Rob Landley
2005-10-24 23:06 ` Blaisorblade
2005-10-24 23:24 ` Blaisorblade [this message]
2005-10-25  2:03   ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510250124.21434.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=rob@landley.net \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox