On Mon, 2003-02-17 at 13:12, Stuart Jansen wrote: > > My redhat 8 box usually adds the correct entry to fstab when I plug in > > my card reader. Comes to /mnt/flash. Maybe rh will do the same thing > > here. > > Any idea how it's doing that?
Yes. Take a look at /etc/hotplug/usb.agent It basically determines what device node was given to the device (if it's a storage device), what type (flash, camera, disk, etc) and then runs /usr/sbin/updfstab. This puts the appropriate entry in fstab. It doesn't always work, though. Sometimes running this by hand brings in the entry. Works most of the time, though. And I think nautilus will pick it up too, and it will automatically allow mounting. Like I said it doesn't always work right, but it's getting there. > > > You can check the log file and see what device was assigned when you > > plug it in. Just do this as root before plugging in the device: > > > > tail -f /var/log/messages > > You could also type 'dmesg'. It's shorter but will flood you. You could > also type 'dmesg | tail'. > > Props to ya Mike, I'm doing homework and looking for excuses to avoid > it. What's your excuse for constantly beating me to the punch by a > minute or more? ;-) I don't have any homework. :) No life other than slashdot, and the uug list. :) Michael _______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
