From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 22 Nov 2009 10:58:02 +0100 Message-ID: <8ccc8ba40911220158o571d0f47rb96b3a54b6695efe@mail.gmail.com> 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] usb disks in plan9 Topicbox-Message-UUID: 9e131bd2-ead5-11e9-9d60-3106f5b1d025 Usb disks don't know how to handle partitions. You have to use partfs IIRC or some other tool to partition it. Regarding the problem with current sources, it's weird. What do you see in #u/usb/ctl when you plug your disk into? What does usbd say when you run it with debug enabled? Is there any message in the console? On Sun, Nov 22, 2009 at 7:01 AM, Tim Newsham wrote: >> I'm trying to partition a usb thumb drive in plan9: >> >> =C2=A0% disk/fdisk -baw /dev/sdU4.0/data >> =C2=A0adding part failed: plan9: permission denied >> =C2=A0?warning: partitions could not be updated in devsd >> >> I get similar issues when trying to use prep. =C2=A0If I rerun >> fdisk or prep it seems to read the previously configured >> data back, and other systems (ie. winxp) see the partitions >> I edited in plan9, but my /dev/sdU4.0 directory does not >> get "plan9" or other partition files (just ctl, data, raw). >> What gives? > > it occurred to me that I am using a slightly old dist and > usb has churned a bit, so I did a pull, then rebuilt my kernel, > installed it and rebooted using it.. =C2=A0and now it seems worse > =C2=A0- when I plug in device it no longer prints "usb/disk..." > =C2=A0 =C2=A0or whatever it used to print > =C2=A0- when I mount /srv/usb I only see usbctl, no sd* > > this is in vmware, so its possible vmware is acting up (it happens > at times)... =C2=A0is anyone else using thumb drives with current > plan9 sources successfully? > > Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com > > >