On Mar 2, 2011, at 9:08 PM, Yuwen Dai wrote: > Dear all, > > I always run a command like this when I plug a USB disk: > > echo 1024 > /sys/block/sdb/device/max_sectors > > however, the disk is not always `sdb'. Can I write a udev rule according to > the UUID of the disk?
Do you mean a specific USB drive you have, or any time a USB drive is plugged in? Hal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2941a649-eb2d-4e7f-986f-e856c2d80...@halblog.com