From: Robert C. <rw...@al...> - 2004-05-18 00:47:27
|
Hello Sean, On Monday, May 17, 2004, at 19:00 US/Central, Sean Covel wrote: > I'd appreciate any information you have. I'm on Win2k, coLinux=20 > 20040509, and the Gentoo "delux" image. I can't find my notes anywhere. Off the top of my head, you need to=20 get the tool called dmdiag.exe. IIRC, you get this from Microsoft but=20= google to be sure. Install it and run it. Then insert your USB stick=20= and run it again. Here's an example when I use my USB stick. Here's a very abbreviated=20 portions of dmdiag.exe output before: ---------- Drive letter to device name, QueryDosDevice() ---------- D: \Device\CdRom0 A: \Device\Floppy0 C: \Device\HarddiskVolume1 Here's a very abbreviated portions of dmdiag.exe output after: ---------- Drive letter to device name, QueryDosDevice() ---------- D: \Device\CdRom0 E: \Device\Harddisk1\DP(1)0-0+3 A: \Device\Floppy0 C: \Device\HarddiskVolume1 =00 Notice the new device E:\. That's my USB stick. I then add this line=20= to my defaults.colinux.xml: =00 <block_device index=3D"2" path=3D"\Device\Harddisk1\DP(1)0-0+3"=20= enabled=3D"true" />=00 The index number will change depending on how many devices you already=20= have defined and will be accessible within colinux as /dev/cobd2 (as=20 in _co_linux _b_lock _d_evice 2. After I start colinux, I can mount=20 the usb stick like so: # mkdir /mnt/usb # mount /dev/cobd2 /mnt/usb UMSDOS 0.86k (compatibility level 0.4, fast msdos) # dir /mnt/usb/ total 2620 drwxr--r-- 3 root root 16896 Jan 1 1970 . drwxr-xr-x 5 root root 4096 May 18 00:32 ..=00 ... # umount /mnt/usb This is a simple way for Windows to communicate with coLinux. However,=20= only one system can be accessing the device at a time. So, you will=20 need to unmount before Windows can see it and all Windows or files that=20= are accessing the device must be closed on the Windows side before you=20= can mount it again. Hope this helps. The above is tested on a Win2K machine running=20 coLinux 20040509 with the Debian image. If you get USB to work for=20 you, I'd like to encourage you to write up your experiences and post=20 them on the wiki, especially if you are using a different host OS,=20 snapshot, or image. Regards, - Robert |