LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-20-2004, 02:57 PM   #1
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Rep: Reputation: 15
Mount / fstab help


I just recently installed Debian Sid on my machine. This is a dual boot machine with an NTFS partition for XP and a Fat32 partition for general data storage. I created folders under /mnt for these two file systems to be mounted. If I mount them as my normal user or as root, the icon for the folder containing the NTFS partition changes to locked and I can only access it as root. How can I have them mount in such a way that a normal user can access those partitions?

The last two lines in my fstab are as follows:

/dev/hda1 /mnt/cdrive ntfs auto,user 0 0
/dev/hda2 /mnt/fat32 auto auto,user 0 0

Also, what would be the best way to add a line to this file for my USB external hard drive so I can easily plug and unplug it?
 
Old 10-20-2004, 03:24 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
/dev/hda1 /mnt/cdrive ntfs umask 0 0 0
/dev/hda2 /mnt/fat32 vfat umask 0 0 0

Edit - about the usb drive, this line works for me, but to use it you need to apply the supermount patch to your kernel then enable supermount in your kernel config (it's on the psudo filesystems submenu of the filesystems menu) then recompile. It may be possible to use Submount but whenever I've tried it I couldn't write to the mounted filesystem as a user. The only reason I'm thinking about Submount is because I'm having trouble applying the supermount patch to the 2.6.9 kernel.

none /mnt/mp3 supermount dev=/dev/sda1,fs=auto 0 0

Last edited by Andrew Benton; 10-20-2004 at 03:30 PM.
 
Old 10-20-2004, 05:55 PM   #3
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Original Poster
Rep: Reputation: 15
SuSE doesn't use supermount, I wonder how it accomplishes the automounting. I got autofs installed and got it to automount the drive whenever I cd'd or ls'd to it, but I still have to umount it before I unplug it so that it will work when I plug it back up. I read briefly on the SuSE site and it seems they handle things a bit differently from the norm?

http://portal.suse.com/sdb/en/2004/0...ldhotplug.html
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 04:30 PM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 08:45 AM
How to use mount and /etc/fstab timread Linux - General 2 11-26-2003 04:33 AM
how would i mount this in fstab? aaronluke Linux - General 1 09-28-2002 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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