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 <news...@lava.net> wrote:
>> I'm trying to partition a usb thumb drive in plan9:
>>
>>  % disk/fdisk -baw /dev/sdU4.0/data
>>  adding part failed: plan9: permission denied
>>  ?warning: partitions could not be updated in devsd
>>
>> I get similar issues when trying to use prep.  If 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..  and now it seems worse
>  - when I plug in device it no longer prints "usb/disk..."
>    or whatever it used to print
>  - 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)...  is anyone else using thumb drives with current
> plan9 sources successfully?
>
> Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
>
>
>

Reply via email to