From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Tip of the day...
Date: Mon, 26 Nov 2007 07:48:16 -0500 [thread overview]
Message-ID: <584d4c782bb352ee1d75be20ea93fbf6@quanstro.net> (raw)
In-Reply-To: <b3e8b81b2deb32f1d8c4186ea01e4239@proxima.alt.za>
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
next prev parent reply other threads:[~2007-11-26 12:48 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 [this message]
2007-11-26 17:18 ` Antonin Vecera
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=584d4c782bb352ee1d75be20ea93fbf6@quanstro.net \
--to=quanstro@quanstro.net \
--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).