Re: udev rule writing help needed

2007-06-14 Thread Don Hayward
Hi Graham, On Mon, 11 Jun 2007, Graham Evans wrote: On Sun, 10 Jun 2007 19:30:16 +0200, Don Hayward wrote: ---snip So my questions are: 1) what string substitution do I use to get the needed bit into my command? 2) do I need quoting in the rule? 3) can this work anyway? Thanks for any hel

Re: udev rule writing help needed

2007-06-13 Thread Zach
Sheesh talk about jumping through hoops. Udev was supposed to be so great and make life easier? haha that sure turned out great eh? Give me back devfs! I seriously hope kernel architects drop udev in the future (Please Lord) and go back to the devfs extensions which were already in the pipeline

Re: udev rule writing help needed

2007-06-11 Thread Graham Evans
On Sun, 10 Jun 2007 19:30:16 +0200, Don Hayward wrote: > I have a new Seagate FreeAgent usb hard drive. After install, it spins > down and when one tries to write to it, it gets marked read only. This > can be prevented by running the following command line: > > echo 1 > /sys/class/scsi_disk/14\

udev rule writing help needed

2007-06-10 Thread Don Hayward
I have a new Seagate FreeAgent usb hard drive. After install, it spins down and when one tries to write to it, it gets marked read only. This can be prevented by running the following command line: echo 1 > /sys/class/scsi_disk/14\:0\:0\:0/allow_restart where this bit^^^