Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Until today I never had a problem with mounting my USB drive at the mount point I desired. Suddenly Mandrake 10.1 automounts the thing at /mnt/removable. I tried to change my fstab but something is adding the problem again in the background.
This line is always added no matter what I do:
/dev/sda1 /mnt/removable auto user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0
It is also wrong because it is not an iso8859-1 filesystem and I can not see my files correctly.
I disabled supermount and it looks off in the systems control.
It probably has something to do with an update last week but I did not have the problem until today. Maybe the problem has something to do with the new USB printer I set up today?
I can not figure this one out despite many searches on the Web and it is a feature that really is annoying me right now, so I would really appreciate if anyone could give me a helping hand.
I tried to change my fstab but something is adding the problem again in the background.
Stop and disable the hotplug service.
Quote:
It is also wrong because it is not an iso8859-1 filesystem and I can not see my files correctly.
Its not saying that its an 'iso8859-1' file system is saying that is what the character set for the file names is. The filesystem is listed as 'auto' in that entry, which sould work.
According to the system control center the hotplug service is stopped. How can I otherwise verify/disable this?
Quote:
Its not saying that its an 'iso8859-1' file system is saying that is what the character set for the file names is. The filesystem is listed as 'auto' in that entry, which sould work.
Excuse my poor formulation. I actually meant that the filename characters I use is utf-8. However, this should be solved once I turn this hotplug thing off.
I have no haldaemon installed, so this is not the problem. It seems that hotplug is a script that is invoked by the kernel when an USB device is discovered. This script initiates a lot of things and this is where the magic somehow happens. I have until now not been able to find a work around and disabling the script causes failures during system bootso this is probably not a good idea. I somehow need to configure hotplug to do what I want but this seems complicated to figure out. I am trying to make sense of the hotplug homepage documentation but it has not enlighted me so far. Any suggestions?
No, it is not there. However, somehow it miraculously worked with a simple fstab entry. I could not make it work in similar previous experiments. I just added the line:
/dev/sda1 /data ext3 noauto 0 0
In previous attempts the hotplug always added its own line later, which changed the mountpoint spontaneously. Before I actually did the above I also tried booting the same line with auto instead of noauto. The system failed to locate the device during boot but it automounted it correctly later and it kept stable this way. Now it also works with noauto. However, I recall that I had some other options in my previous experiments but I do not remember exactly what they were. I simply experimented with the line hotplug added. I also found a related discussion where they were mentioning that this kudzu option could be the source of evil.
Now I hope that the problem stays away. Many thanks for the help, you really gave me some important leads even though the solution turned out to be surprisingly simple.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.