Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use fedora core3. As soon as i insert a usb stick (in the port)the device gets auto mounted and any operations(read write) on the device takes a lot of time. Please help!!
Hey, that one didn't work with mine and I was pissed. Goto /etc/rc5.d. There should be a script called "autofs" or "automount", or something similar. If you are not sure what the program is, ask the man pages. When you find the script whose name involved the automounter, delete it.
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
Quote:
Originally posted by ichrispa Do a "ps -ax" on your console and post the output so we can identify the deamon responsible for the automounting process.
This program registrates bus events and reports them to hotplug. Hotplug manages the mounting of your USB stick.
shut it down, there should be no more mounting. However I think that udevd simply links a new device, meaning that this will prevent new devices being created at runtime (for example linking an external hard disk while computer is running, etc, etc).
Disable it by writing "kill -s SIGKILL 1102" (replace 1102 with the PID of udevd).
Does the computer still automount? Are there any other complications?
I made some research on udevd. udevd is a salve of hotplug. I was originally frustrated by the fact that I couldn't find hotplug as an application running on zour computer (examining your ps post). However, I found the following quote in the udevd manual:
"In the Linux 2.6 kernel, hotplugging has been integrated with the driver model core so that any bus or class can report hotplug events when devices are added or removed. "
According to the istallation manual, the kernel calls out to a program or script called /sbin/hotplug when hotplug events take place. Check if it is there, if it exists rename it to /sbin/hotplug_disabled or something.
your flash driveis getting mount ed with sync on. this lets you pull it out without mounting it. This is a problem with suse, check teh suse forum they should help you with that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.