Fandom

coLinux

LinuxCOBD

237pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

To access a virtual device imported into colinux, you must first have setup an appropriate block device in your /dev file system. By convention, these devices are named /dev/cobdN, where N in the index number of an element in the XML configuration file. Incidently, "cobd" stands for "Colinux Block Device."

The block device nodes should be existing, if you use a Linux image provided by the coLinux community.

If you do not yet have such devices on your system, you'll need to create them. This is done with the mknod command (running as root):

root$ mknod /dev/cobd0 b 117 0
root$ mknod /dev/cobd1 b 117 1
root$ mknod /dev/cobd2 b 117 2
...
root$ mknod /dev/cobd7 b 117 7

Alternatively, you can do them all at once like this:

root$ for i in 0 1 2 3 4 5 6 7; do  mknod /dev/cobd$i b 117 $i;  done

Once an appropriate block device is defined in /dev, you can now access the corresponding device number which is declared in your XML configuration file.

See also:


for 2.6 kernel users, you may want to replace /dev/cobd0 by /dev/cobd/0 and so on. in fact, you can create both set of devices, it wont hurt.


MassTranslated on Sun Apr 23 17:36:25 UTC 2006

Also on Fandom

Random Wiki