On Sat, 2003-09-06 at 22:31, Philippe Rousselot wrote: > Hi, > > I have a usb key in /dev/sda1 mounted on /mnt/flash > > How can I have it automatically mounted when I insert it in the usb > port, and automatically unmounted when removed > Inserting and having it auto mount is probably OK. I'd think twice about the reverse since there is a chance all of the data may not have been written to the device prior to pulling it out. You run the risk of getting a corrupted file. Issuing the unmount command will ensure all data is first flushed to the device. -- http://www.shorewall.net Shorewall, for all your firewall needs -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list