I can recreate my system from backup in
Seconds Minutes Hours Days Weeks Never tested Never backed up ( 482 votes ~ 6 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article Card Readers and USB keys using udev:
#1 Re: Card Readers and USB keys using udev Posted by Anonymous (212.135.xx.xx) on Thu 5 May 2005 at 18:59 One problem with this is when you have a card reader that provides no notification to the kernel of media insertion events. So, when you plug the card reader in, udev happily creates /dev/sd_reader, but when you subsequently plug a card into the reader, the kernel doesn't see it, and you can't mount /dev/sd_reader1 until the kernel has re-scanned the partition table. You can solve this with a udev rule like this:- BUS="usb", KERNEL="sd*", SYSFS{manufacturer}="SanDisk Corporation", SYSFS{product}="ImageMate CompactFlash USB", NAME="sandisk_cf%n", OPTIONS="all_partitions" The "all_partitions" bit makes udev create device nodes for all possible partitions on the device, so when you plug a card in and try to mount /dev/sd_reader1, the kernel sees a read on a non-existent device and re-scans the partition table for you, making the mount work. This makes handling dumb card readers much nicer, though you do get a few extraneous device nodes.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account