From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <8055D71E-EEAA-4812-AB39-518A9F70F21C@corpus-callosum.com> Date: Mon, 19 Jul 2010 15:52:12 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] installing on a usb disk Topicbox-Message-UUID: 4086a208-ead6-11e9-9d60-3106f5b1d025 Ok. Then it's as expected. In this usbdb, usb/disk is built into usbd. That means that usbd will spawn a driver for disk as soon as it sees a disk plugged in. If you run usb/disk on your own, there will be no unhand= led disks left for it and it should say that there are no disks and exit. Regarding the mount, yes, the fs from usbd is to be mounted also at /dev for usbfat and others to use. You might add an entry to your namespace file if it's not mounted by default. On Mon, Jul 19, 2010 at 3:48 PM, Jeff Sickel wrot= e: > > On Jul 19, 2010, at 3:33 AM, Francisco J Ballesteros wrote: > >>> >>> If I do: >>> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0usb/disk >>> >>> I get "no device found". =C2=A0But if instead the command is: >>> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0usb/usbfat: >>> >>> I get /dev/sdU0.0 and /dev/sdU0.1 with plausible trees (ctl data raw). = =C2=A0The sdU0.0 corresponds to a usb/probe that returns: >>> >> >> Are you running usbd with embedded disks? In that case the disks are own= ed by >> the usb/disk linked into usbd, and the one you start by hand should >> see no disks, as it happens. >> I'd like to confirm this, just to know if it's a bug. > > That question made me go back to the man page and dig through the sources= again. =C2=A0It's the default/most recent configuration from yesterday's l= ive CD. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0cpu% cat usbdb > =C2=A0 =C2=A0 =C2=A0 =C2=A0# only kb, =C2=A0disk, and ether =C2=A0are pre= pared for embedding. > =C2=A0 =C2=A0 =C2=A0 =C2=A0# others are not yet converted to sit in the u= sbd device driver library > =C2=A0 =C2=A0 =C2=A0 =C2=A0embed > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0kb =C2=A0 =C2=A0 = =C2=A0csp=3D0x010103 csp=3D0x020103 =C2=A0 =C2=A0 =C2=A0 args=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0disk =C2=A0 =C2=A0= class=3Dstorage =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 args=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ether =C2=A0 class= =3D255 csp=3D0x00ffff =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0args=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0serial =C2=A0class= =3D255 csp=3D0xffffff vid=3D0x9e88 did=3D0x9e8f =C2=A0 =C2=A0args=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0# =C2=A0 =C2=A0 =C2=A0 wifi =C2=A0 =C2=A0class= =3D0 csp=3D0 vid=3D0x0bda did=3D0x8192 =C2=A0 =C2=A0 args=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0# =C2=A0 =C2=A0 =C2=A0 wifi =C2=A0 =C2=A0class= =3D0 csp=3D0 vid=3D0x148f did=3D0x2870 =C2=A0 =C2=A0 args=3D > > > Another side note: I had to explicitly do the following for anything to s= how up: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0cat% mount /srv/usb /n/usb > > > >