LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-09-2004, 03:57 PM   #1
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian
Posts: 326

Rep: Reputation: 42
Question fstab file probs


Hello,
I having some problem getting acess to two hard drives that I have added to my system. If I log in as root I can acess them no problem, but not if I log in as a user.
This is my fstab file...
/dev/sda2 / reiserfs defaults 1 1
/dev/hdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
/dev/sda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/hda1 /home/philg/disk1 reiserfs user,rw,users,gid=users,umask=0000 1 2
/dev/hde1 /home/philg/disk3 reiserfs user,rw,users,gid=users,umask=0000 1 2

hda1 and hde1 are the drives which I cannot get acess too, can someone put me out of my misery?
Phil
 
Old 02-09-2004, 04:01 PM   #2
jazernorth
Member
 
Registered: Jan 2004
Location: Green Bay
Distribution: RedHat 8.0, LFS-5.0
Posts: 100

Rep: Reputation: 15
Change
Code:
/dev/hda1 /home/philg/disk1 reiserfs user,rw,users,gid=users,umask=0000 1 2
/dev/hde1 /home/philg/disk3 reiserfs user,rw,users,gid=users,umask=0000 1 2
To:
Code:
/dev/hda1 /home/philg/disk1 reiserfs defaults 1 2
/dev/hde1 /home/philg/disk3 reiserfs defaults 1 2
The above will set the file systems to mount on boot for all users. You will need to verify file permissions on each file system after it is mounted.
Also, verify hde# is correct. You should only have hda#,hdb#,hdc#,hdd#.

Enjoy

JN
 
  


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
Need Help regarding fstab file thinker1 Linux - Security 1 11-01-2005 10:02 PM
probs with .bin file grvsinghal Linux - Software 1 09-09-2005 02:30 PM
changes to fstab file joanduan Linux - Newbie 3 03-10-2005 02:32 PM
fstab file Haroon Linux - General 12 09-08-2004 07:09 AM
file transfer probs jonfa Linux - General 1 06-12-2003 02:59 AM


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