LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2005, 11:57 PM   #1
D4ve G
Member
 
Registered: Jun 2005
Location: Canada
Distribution: XP / Ubuntu
Posts: 55

Rep: Reputation: 15
Accessing 2nd Harddrive


Just today I installed gentoo linux, with kde.

I edited my fstab and my 2nd harddrive does mount but I can only access this as root?

Could someone please help?
 
Old 07-19-2005, 12:00 AM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
can you post your fstab?
 
Old 07-19-2005, 12:04 AM   #3
D4ve G
Member
 
Registered: Jun 2005
Location: Canada
Distribution: XP / Ubuntu
Posts: 55

Original Poster
Rep: Reputation: 15
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 defaults 1 1
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hdb1 /mnt/dave vfat defaults 1 1


# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0
 
Old 07-19-2005, 12:09 AM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
change the line:

/dev/hdb1 /mnt/dave vfat defaults 1 1

to

/dev/hdb1 /mnt/dave vfat umask=0222 1 1

and you'll be able to read it as a user, but you'll need to be root to write to it, which is how i have mine set up...kinda safer that way...


you'll need to reboot for this to take effect...

*edit

after googling it, i found that umask=0 works for read/write as a user...at least for me in slackware...

jay

Last edited by detpenguin; 07-19-2005 at 12:55 AM.
 
  


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
2nd harddrive... and Goodbye Windows XP audibel Debian 6 03-02-2005 08:58 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Adding a 2nd harddrive for backups, how do I do this lexington Linux - Newbie 2 05-03-2004 10:25 PM
seeing a 2nd harddrive. keegan Linux - Newbie 2 01-06-2004 02:05 PM
2nd harddrive dilberim82 General 1 05-19-2002 06:07 PM

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

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