LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-09-2004, 08:11 PM   #1
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
/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
 
Old 11-10-2004, 04:28 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
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
 
Old 11-10-2004, 12:18 PM   #3
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
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.
 
Old 11-10-2004, 12:42 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
/mnt isn't any sort of unusual (non-persistent) partition, is it? (i.e., ramdisk)
 
Old 11-10-2004, 02:25 PM   #5
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
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.
 
Old 11-10-2004, 02:44 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That is VERY odd. Do other directories in /mnt persist properly?
 
Old 11-10-2004, 02:48 PM   #7
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
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.
 
Old 11-10-2004, 02:52 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 11-10-2004, 03:03 PM   #9
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
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.)
 
Old 11-10-2004, 03:20 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 11-10-2004, 08:04 PM   #11
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
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...
 
Old 11-10-2004, 08:34 PM   #12
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Some sort of software removing mount points? Weird.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which /mnt or /dev point is my camera card? krome Linux - General 3 08-15-2005 12:34 AM
how to move the contents of /mnt/gentoo/k to /mnt/gentoo/ Leonig Mig Linux - General 8 06-19-2005 07:05 PM
i changed /mnt/cdrom to /mnt/CD-RW - now i've got a problem?!?! spyghost Linux - Software 7 09-30-2003 02:06 PM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 09:32 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration