LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
 
Search this Thread
Old 03-13-2005, 09:06 PM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
fstab settings


This is my /etc/fstab file.

/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/hda9 /depository ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /sys sysfs defaults 0 0

I have a Sony digital camera and a USB thumbdrive that I want to be able to use. What do I need to add to my fstab to be able to mount these?

When I mess with lilo, I have to run lilo. When you adjust fstab, do you have to run anything?
 
Old 03-13-2005, 09:17 PM   #2
digitalhead
Member
 
Registered: Jun 2004
Location: West Virginia, US, Earth, Milky Way
Distribution: Ubuntu
Posts: 121

Rep: Reputation: 15
Here's what I have for my JumpDrive:
Code:
/dev/sda1 /mnt/sda vfat defaults,users,umask=0002 0 0
You would probably need /dev/sda1 and /dev/sdb1 for the two different items.

No, you don't need to run anything, just edit and save as root/su.
 
Old 03-13-2005, 09:19 PM   #3
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
Use this HOWTO guide. It got my Jumpdrive and MP3 player working via USB.

http://www.linuxquestions.org/questi...icle&artid=115
 
Old 03-13-2005, 09:51 PM   #4
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
I keep getting a an error:

mount: special device /dev/sda1 does not exist

What does that mean? I know that my thumbdrive is plugged in. If it is not sda1, what is it?
 
Old 03-13-2005, 10:11 PM   #5
digitalhead
Member
 
Registered: Jun 2004
Location: West Virginia, US, Earth, Milky Way
Distribution: Ubuntu
Posts: 121

Rep: Reputation: 15
I experienced that constantly with Mandrake 10.1. Do you have an updated kernel (like 2.6.x)? It's my understanding that the 2.6 series uses dynamic devices, and to be honest, I was never able to get the stupid thing to work properly with USB devices.
 
Old 03-13-2005, 10:21 PM   #6
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
Got it - here is what I did to get my USB devices working

Here is my /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/hda9 /depository ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda1 /mnt/flash auto users,rw,noauto 0 0
/dev/sdb2 /mnt/camera auto users,rw,noauto 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /sys sysfs defaults 0 0

I got the camera to mount with the command :
mount /dev/sdb1 /mnt/camera
I got the thumbdrive to mount with:
mount -t vfat /dev/sda /mnt/flash

Does anyone know why the commands are different? I am not complaining, I am just glad it works, but I really wish that I could understand the difference, as opposed to me just getting lucky with some help from lq.org.

I am running linux version 2.6.11.2.
 
  


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
Proper umask settings for /etc/fstab? stefanlasiewski Linux - General 6 06-05-2009 06:27 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
/home partition will not mount at boot despite fstab settings zach_barrow Slackware 11 03-10-2005 10:24 PM
fstab settings and sfdisk etc. zappos Linux - Newbie 2 03-02-2005 12:48 PM
Simple problem FSTAB File - User settings 'uid=xxx' crazyswede Linux - Networking 7 02-19-2004 03:59 PM


All times are GMT -5. The time now is 03:18 PM.

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