On 12/09/12 17:13, Camaleón wrote:
Thanks, I had seen #12 but not #74 (I realised Launchpad was hiding it??) which seems very detailed and a good starting point.On Tue, 11 Sep 2012 23:15:51 +0200, Lorenzo Sutton wrote: (...)Googling provided a solution which seems to work [1][2] which consists in setting max_sectors to 128 istead of the default 240. I can do that as root manually but I'd like to have it done automatically when the device is mounted. My understanding is that a udev rule has to be created, I would appreciate some help on:The second link you sent provides some hints for the udev rule (see comment #12 and/or #74), you may only have to accomodate the rule for your Debian version.
- Where to put the ruleUdev rules go under "/etc/udev/rules.d/".
Ok
- What to put as the vendor (link [2] mentions vendor) and how to discover it so that the rule only applies to that very device.(...) You can use something like "udevadm info --query=all --path=/sys/block/ sdb | grep -i vendor" to find out. More info about udev: http://wiki.debian.org/udev Greetings,
Thanks for your help. Lorenzo.