LinuxQuestions.org
Visit Jeremy's Blog.
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 02-09-2004, 02:57 PM   #1
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

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, 03: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



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

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

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