LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-09-2006, 01:03 PM   #1
royeo
Member
 
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
Having trouble mounting


It's a funny thing. I'm trying to mount a removable drive, (it's actually a card reader slot with an SD card in it formatted fat16). When the system boots up there is an error message that says: "device sdc1 doesn't exist". I know then that I won't be able to see it in a file browser such as Konqueror and I can't. The funny THINGS are as follows: there is an icon on my desktop (and root's too) that says 1.0 G Remova. . . When I launch it I can see the device, (there is a folder with a file in it and I can access the file). The other funny thing is that one time there wasn't an error message when I booted up. And then I could see the folder. In fact that was when I created the folder.

So, that one time, the device did exist. I can see it and access it in Windows. Very weird. If anybody knows what's going on please tell me. I have FC-5 and use KDE. Here is my /etc/fstab file. I added the last two lines. The next to last line works. (Oh yeah and I did hit Return at end of the last line.)

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sda2 /win/J vfat uid=royeo,umask=0002 0 0
/dev/sdc1 /win/G vfat uid=royeo,umask=0002 0 0

Thanks,
royeo

PS. Now this morning there was no error message and sure enough I could see the folder. It's mounted now. But I'm worried what will happen when I reboot.
 
Old 08-10-2006, 06:24 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
What is the device name of the SD card? I'm curious why there isn't a /dev/sdb.

The automounting is handled by udev. When your device is mounted, find out which device it is. If it is /dev/sda2 or /dev/sdc1, add the noauto option since it is a removable device.

When you plug in a removable device, normally a mount point is created on the fly under the /media directory. Sometimes it is given the name of the mounted device such as "/media/SanDisk".

There is a Redhat Magazine link explaining udev:
http://www.redhat.com/magazine/002dec04/features/udev/
 
  


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
trouble mounting ipod minm Linux - Newbie 4 03-09-2005 08:14 PM
Trouble mounting cd drive Mahony Linux - General 2 04-14-2004 07:16 PM
Trouble mounting a CD+RW drive Tiot Linux - Newbie 19 10-25-2003 11:47 AM
having trouble mounting or something carniomana Linux - Software 12 08-21-2003 09:12 AM
Trouble mounting webrats Linux - Newbie 1 08-23-2001 12:37 AM


All times are GMT -5. The time now is 09:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration