Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-09-2004, 08:11 PM
|
#1
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Rep:
|
/mnt/card disappears!
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?
Thanks,
Dai
|
|
|
11-10-2004, 04:28 AM
|
#2
|
Member
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507
Rep:
|
Hi,
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.
John
|
|
|
11-10-2004, 12:18 PM
|
#3
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Original Poster
Rep:
|
Quote:
Originally posted by jkobrien
Hi,
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.
|
|
|
11-10-2004, 12:42 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
/mnt isn't any sort of unusual (non-persistent) partition, is it? (i.e., ramdisk)
|
|
|
11-10-2004, 02:25 PM
|
#5
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Original Poster
Rep:
|
Quote:
Originally posted by Matir
/mnt isn't any sort of unusual (non-persistent) partition, is it? (i.e., ramdisk)
|
No, it's not. It is within the root partition.
|
|
|
11-10-2004, 02:44 PM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
That is VERY odd. Do other directories in /mnt persist properly?
|
|
|
11-10-2004, 02:48 PM
|
#7
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Original Poster
Rep:
|
Quote:
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.
|
|
|
11-10-2004, 02:52 PM
|
#8
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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.
|
|
|
11-10-2004, 03:03 PM
|
#9
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Original Poster
Rep:
|
Quote:
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.)
|
|
|
11-10-2004, 03:20 PM
|
#10
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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.
|
|
|
11-10-2004, 08:04 PM
|
#11
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Original Poster
Rep:
|
Quote:
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...
|
|
|
11-10-2004, 08:34 PM
|
#12
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Some sort of software removing mount points? Weird.
|
|
|
All times are GMT -5. The time now is 10:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|