Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm using Turbolinux 10 Desktop. I've noticed a very strange thing happening... for some reason, the directory I created for mounting an SD card disappears at reboot!
I always name it /mnt/card. I have the following entry for it in /etc/fstab:
/dev/sda1 /mnt/card vfat noauto,user,exec 0 0
As far as the functionality is concerned, I can always mount the SD card by typing "mount /mnt/card" as myself. I can also read/write from the card. The only problem is, I have to re-create the directory each time I reboot the machine!
Have you guys seen anything like this before? If so, what can I do to fix this problem?
Not sure if it's related, but I have a similar problem with my zip drive. The workaround for me, is to make sure that there's a disk in the drive when I reboot.
Not sure if it's related, but I have a similar problem with my zip drive. The workaround for me, is to make sure that there's a disk in the drive when I reboot.
Thanks for the reply. I'll try and see if that makes any difference.
Originally posted by Matir That is VERY odd. Do other directories in /mnt persist properly?
They do. I also created /mnt/xp to smbmount a directory on my XP box. That one has the exact same permissions and ownership (i.e. root), but it never disappears.
Originally posted by Matir Just for kicks, try maybe /mnt/sdcard and see if it persists. I know you want /mnt/card, but let's just see if we can figure out that cause.
Thanks for the suggestion. I will try that once I get home. (It's my home machine.)
Originally posted by Matir No problem. If this solves the problem, I have to wonder if some script somewhere rm's /mnt/card. Can't imagine why, but it's worth checking.
I found something very interesting.
First, renaming the directory to /mnt/sdcard per se did not solve the problem. However, that meant /etc/fstab did not have the correct entry anymore (since it still has /mnt/card as the mount point), and that seems to have been it!
Apparently, the following line in my /etc/fstab was the culprit:
/dev/sda1 /mnt/card vfat noauto,user,exec 0 0
Why? I have no idea. Once I renamed it to /mnt/sdcard in /etc/fstab to corrrectly match the new name, then /mnt/sdcard started disappearing again...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.