From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <01044970cb30fd41a02e19818ead294e@coraid.com> From: erik quanstrom Date: Thu, 3 Apr 2008 18:17:42 -0400 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Unmount a USB stick? Topicbox-Message-UUID: 880f86d8-ead3-11e9-9d60-3106f5b1d025 > > % 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