LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-04-2003, 02:40 PM   #1
mizuki26
LQ Newbie
 
Registered: Nov 2003
Distribution: Madrake 9.1
Posts: 8

Rep: Reputation: 0
how to mount /dev/sda1 not only for root?


hi,
when i try tomount my /dev/sda1 device (mount /dev/sda1 /mnt/rmv) only root is allowed to access the mount directory. i know that i can use fstab to specify -o users and tried this
with the command. but it didn't work. does anybody know how to mount a device for all users? thanx.
 
Old 11-04-2003, 02:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
List fstab?

I'd like to see, for instance, what
file system it is :)

Cheers,
Tink
 
Old 11-04-2003, 02:51 PM   #3
mizuki26
LQ Newbie
 
Registered: Nov 2003
Distribution: Madrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
there's no entry in fstab yet - it's an usb device and i just plugged it in.
the filesystem is fat (actually i mounted it with -t vfat -> and i can access it as root).
i could write the fstab entry to get access as a normal user but i want to do it from commandline.
 
Old 11-04-2003, 05:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Try something like

mount -t msdos /dev/sda1 /mnt/rmv -o gid=<your group number>,umask=000,rw,user,users

Cheers,
Tink
 
Old 11-04-2003, 08:15 PM   #5
mizuki26
LQ Newbie
 
Registered: Nov 2003
Distribution: Madrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
thanx...this works fine!
 
  


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
ERROR AT MOUNTING USB :mount: wrong fs type, bad option, bad superblock on /dev/sda1, saiket Linux - Hardware 3 04-12-2008 12:07 AM
mount /dev/sda1 doesn't work Pyro-dragon Linux - Newbie 6 04-17-2005 10:42 AM
mount: /dev/sda1 is not a valid block device?????help mojarron Slackware 13 03-21-2005 05:33 AM
USB 2.0 memory stick mount: wrong fs type, bad option, bad superblock on /dev/sda1, o olivier.riff Linux - Hardware 2 11-12-2003 08:11 AM
mount: /dev/sda1 is not a valid block device melody Linux - Hardware 1 09-14-2003 10:35 PM

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

All times are GMT -5. The time now is 10:38 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
Open Source Consulting | Domain Registration