From: "Antonin Vecera" <antonin.vecera@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Tip of the day...
Date: Mon, 26 Nov 2007 18:18:04 +0100 [thread overview]
Message-ID: <10b109140711260918w793c5935p4be53bd856f078d7@mail.gmail.com> (raw)
In-Reply-To: <584d4c782bb352ee1d75be20ea93fbf6@quanstro.net>
On Nov 26, 2007 1:48 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> how about
>
> #!/bin/rc
> # turn dma on with abandon
>
> # only sdata drives do this dma thing.
> # only tweek drives on this system (hence #S).
> d=`{awk '$2 == "ata" {print $1}'<'#S/sdctl'}
>
> for(i in '#S'/^$d^*/ctl)
> awk '$6 > 0 && $8 == 0 {print "echo dma on > " ENVIRON["i"]}'<$i |
> sed 's/#/''#''/g' |
> rc
>
> - erik
>
/bin/dmaon
Antonin
next prev parent reply other threads:[~2007-11-26 17:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-26 9:18 lucio
2007-11-26 12:13 ` roger peppe
2007-11-26 20:18 ` lucio
2007-11-26 12:48 ` erik quanstrom
2007-11-26 17:18 ` Antonin Vecera [this message]
2013-02-02 5:34 [9fans] tip " cinap_lenrek
2013-02-02 5:42 ` andrey mirtchovski
2013-02-02 5:50 ` cinap_lenrek
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=10b109140711260918w793c5935p4be53bd856f078d7@mail.gmail.com \
--to=antonin.vecera@gmail.com \
--cc=9fans@cse.psu.edu \
/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).