9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] usb flash drive with ext2
Date: Thu, 12 Jan 2012 12:05:03 +0000	[thread overview]
Message-ID: <a07fd993b6a3ab2731fdf137e38b59a8@hamnavoe.com> (raw)
In-Reply-To: <CA+N-5bagNq17-rBcMUU1soTi7n=3pyg+6Adaf0BNdOzZVc2PRQ@mail.gmail.com>

> you can enable debug diagnostics for devices by using the usbd ctl file.

Sorry, I wasn't aware of that.  usbd(4) does describe setting
environment variables in plan9.ini to change the arguments for usb
drivers (I wasn't aware of that either), but doesn't mention that you
can also do it dynamically via usbdctl.  For example

  echo diskargs -d >/dev/usbdctl

before plugging in the device (or -dd, -ddd etc for more verbosity).
You may need to study the source of usb/disk to make sense of the
output.




      reply	other threads:[~2012-01-12 12:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  9:45 Rudolf Sykora
2012-01-11 10:06 ` Richard Miller
2012-01-11 10:15   ` Rudolf Sykora
2012-01-12  9:44   ` Rudolf Sykora
2012-01-12 10:07     ` Richard Miller
2012-01-12 10:21       ` Rudolf Sykora
2012-01-12 10:26         ` Richard Miller
2012-01-12 10:40           ` Rudolf Sykora
2012-01-12 11:25             ` Richard Miller
2012-01-12 11:30               ` Francisco J Ballesteros
2012-01-12 12:05                 ` Richard Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a07fd993b6a3ab2731fdf137e38b59a8@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).