Re: stdout and stdin in udev rule
- From: "David W. Hodgins" <dwhodgins@xxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2012 14:25:25 -0400
On Mon, 30 Apr 2012 08:36:17 -0400, Philipp Kraus <philipp.kraus@xxxxxxxxxxxx> wrote:
/bin/dd if=/dev/myusbsymlink bs=512 skip=4 count=4 status=noxfer
conv=notrunc,noerror | /sbin/cryptsetup --keyfile -
If I run this command on the command line, it works very well, but on a
script or direct within the RUN+= command
it does not work. I have tested the dd command only, so that dd write a
Try adding oflag=direct to the dd command. Just a guess on my part,
as I haven't tried it.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
.
- Follow-Ups:
- Re: stdout and stdin in udev rule
- From: Philipp Kraus
- Re: stdout and stdin in udev rule
- References:
- stdout and stdin in udev rule
- From: Philipp Kraus
- stdout and stdin in udev rule
- Prev by Date: Re: mount writeable for use
- Next by Date: Re: stdout and stdin in udev rule
- Previous by thread: stdout and stdin in udev rule
- Next by thread: Re: stdout and stdin in udev rule
- Index(es):