LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-02-2004, 12:09 PM   #1
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
/etc/fstab and mounting a Pen drive


I am slightly new to Linux and I had one question.

I am using Fedora Core 2, and when I go to mount my pen using the following command:

mount /dev/sda1 /mnt/flash

I get and error saying it can't read the superblock.

But, if I try to mount my pen using this command:

mount /dev/sda /mnt/flash

It mounts just fine.

I have also tried having both these command in /etc/fstab and again the /dev/sda one is the only one that works.

It really doesn't matter to me how I mount my pen I am just wondering why the /dev/sda1 option will not work.

Thank in advance
 
Old 09-02-2004, 01:10 PM   #2
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
your system sees your pen drive as device sda. sda's are usb devices as far as i can tell. my problem is that sometimes my suse system uses the device sda1 for my pen drive, sometimes it uses sdb1, and even sdc1. so i have to figure out which device points to it every time. i dont hae that problem with my fedora system.

if you put the line:

/dev/sda /mnt/flash auto sync,noauto,user,exec 0 0

into /etc/fstab, then you can mount the pen drive as just a user with
>mount /mnt/flash
 
  


Reply



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
Mounting a USB pen drive in Fedora Core 1 mrde50garfield Linux - Hardware 2 07-26-2010 01:14 AM
Auto-mounting pen drive jojotx0 Linux - General 3 03-10-2005 08:19 AM
mounting usb pen drive; ntfs problem ShamitSoneji Fedora 20 12-01-2004 02:19 AM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 09:10 AM
How to put a permanent entry in fstab for usb pen drive zulfilee Linux - General 4 08-31-2004 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 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