LinuxQuestions.org
Help answer threads with 0 replies.
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, 03: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, 03:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
List fstab?

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

Cheers,
Tink
 
Old 11-04-2003, 03: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, 06:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 09: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


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


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