> 
> % unmount /n/usb
> % unmount /n/disk
> 
> But have no idea if that's the right way to go about it. Additionally
> if I eject it in this manner the next time I try to mount it using the
> first two commands I get a bunch of usb errors.

you have to restart usbd.  usbd doesn't handle device ejection as far
as i can tell.

> Also, why is the disk only available from the rc window that I used to
> mount it? In any other rc window I can't access the /n/usb mountpoint.
> I realize I'm probably missing something fundamental about plan 9
> (newbie here).

this is because rio puts each window in a sepeate namespace.  there are
two ways around this.  first, start this before you start rio.  (alternatively
use the plumber to give all new windows access.  plumb a string like
        Local 'cmd for everyone to see' 
) alternatively, you can use /srv to post the fd.

- erik

Reply via email to