* ub vs. ubd
[not found] ` <200409161753.i8GHrM2J003175@ccure.user-mode-linux.org>
@ 2004-09-16 17:34 ` Pete Zaitcev
2004-09-17 5:23 ` Jeff Dike
0 siblings, 1 reply; 3+ messages in thread
From: Pete Zaitcev @ 2004-09-16 17:34 UTC (permalink / raw)
To: Jeff Dike; +Cc: zaitcev, linux-kernel
On Thu, 16 Sep 2004 13:53:22 -0400
Jeff Dike <jdike@addtoit.com> wrote:
> UML doesn't use uba, it uses ubda.
It looks that the numerical syntax remains in ubd_kern.c in places.
For one, the help for ubd_setup recommends it.
Also, disk->disk_name is done with:
sprintf(disk->disk_name, "ubd");
Can you send me your /proc/partitions from a guest with a few UBDs
configured?
-- Pete
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ub vs. ubd
2004-09-16 17:34 ` ub vs. ubd Pete Zaitcev
@ 2004-09-17 5:23 ` Jeff Dike
2004-09-17 7:38 ` Pete Zaitcev
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2004-09-17 5:23 UTC (permalink / raw)
To: Pete Zaitcev; +Cc: linux-kernel
zaitcev@redhat.com said:
> Can you send me your /proc/partitions from a guest with a few UBDs
> configured?
usermode:~# more /proc/partitions
major minor #blocks name
98 0 1049600 ubda
98 16 1049600 ubdb
98 32 204801 ubdc
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ub vs. ubd
2004-09-17 5:23 ` Jeff Dike
@ 2004-09-17 7:38 ` Pete Zaitcev
0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2004-09-17 7:38 UTC (permalink / raw)
To: Jeff Dike; +Cc: linux-kernel, devices
On Fri, 17 Sep 2004 01:23:35 -0400
Jeff Dike <jdike@addtoit.com> wrote:
> zaitcev@redhat.com said:
> > Can you send me your /proc/partitions from a guest with a few UBDs
> > configured?
>
> usermode:~# more /proc/partitions
> major minor #blocks name
>
> 98 0 1049600 ubda
> 98 16 1049600 ubdb
> 98 32 204801 ubdc
I see. So, the appended patch should be appropriate.
-- Pete
--- linux-2.6.9-rc1/Documentation/devices.txt 2004-08-19 17:15:31.000000000 -0700
+++ linux-2.6.9-rc1-ub/Documentation/devices.txt 2004-09-17 00:35:36.996215488 -0700
@@ -1741,10 +1741,14 @@
See http://stm.lbl.gov/comedi or http://www.llp.fu-berlin.de/.
98 block User-mode virtual block device
- 0 = /dev/ubd0 First user-mode block device
- 1 = /dev/ubd1 Second user-mode block device
+ 0 = /dev/ubda First user-mode block device
+ 16 = /dev/ubdb Second user-mode block device
...
+ Partitions are handled in the same way as for IDE
+ disks (see major number 3) except that the limit on
+ partitions is 15.
+
This device is used by the user-mode virtual kernel port.
99 char Raw parallel ports
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-17 7:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1340.1095332981@www10.gmx.net>
[not found] ` <20040916084118.2441c38a@lembas.zaitcev.lan>
[not found] ` <200409161753.i8GHrM2J003175@ccure.user-mode-linux.org>
2004-09-16 17:34 ` ub vs. ubd Pete Zaitcev
2004-09-17 5:23 ` Jeff Dike
2004-09-17 7:38 ` Pete Zaitcev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®