Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED BY ME] Problems adding sdcard device entry to fstab
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
HearWa
n00b
n00b


Joined: 15 Apr 2004
Posts: 37
Location: Canada, N.B.

PostPosted: Wed Aug 23, 2006 2:27 am    Post subject: [SOLVED BY ME] Problems adding sdcard device entry to fstab Reply with quote

I have an sdcard device (my mp3 player, the Lexar LDP-200) and I can mount it and read and write files to it in root with "mount -t vfat /dev/sda1 /mnt/card".

However when I enter "/dev/sda1 /mnt/sdcard vfat noauto,user 0,0" as an fstab entry and type "mount sdcard" I get the following error message:

[mntent]: line 21 in /etc/fstab is bad
mount: can't find /mnt/sdcard in /etc/fstab or /etc/mtab

I can't figure this one out. How can I get this working?

Thanks in advance.
_________________
I am the darkness in your dreams and the bug in your soup.


Last edited by HearWa on Wed Aug 23, 2006 2:52 am; edited 1 time in total
Back to top
View user's profile Send private message
HearWa
n00b
n00b


Joined: 15 Apr 2004
Posts: 37
Location: Canada, N.B.

PostPosted: Wed Aug 23, 2006 2:34 am    Post subject: Reply with quote

Also, I just run 'fdisk -l /dev/sda' and discovered that the file system is actually fat16. I changed the aforementioned fdisk entry from the vfat filesystem to the msdos filesystem but I am still getting the same error.
_________________
I am the darkness in your dreams and the bug in your soup.
Back to top
View user's profile Send private message
HearWa
n00b
n00b


Joined: 15 Apr 2004
Posts: 37
Location: Canada, N.B.

PostPosted: Wed Aug 23, 2006 2:41 am    Post subject: Reply with quote

Wow. Perhaps I jumped the guns on the question... I had the fstab entry in between my hard drive partition entries and the entries for my dvd/cdrom drive so I decided to move it below them all. I just run the command "mount sdcard" with user permissions after saving the file and it worked!

Now I'm left wondering why the order of the entries matters...
_________________
I am the darkness in your dreams and the bug in your soup.
Back to top
View user's profile Send private message
HearWa
n00b
n00b


Joined: 15 Apr 2004
Posts: 37
Location: Canada, N.B.

PostPosted: Wed Aug 23, 2006 2:52 am    Post subject: Reply with quote

I just copied over the entry back to where I originally had it. Somehow it's working now. I wrote the entry over when I put the sdcard record on the bottom of all the other records but by comparing the previous record to my new record the two are IDENTICAL.

I suppose I better shut up and be thankful it's working though. ;)
_________________
I am the darkness in your dreams and the bug in your soup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum