LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   automount partition has problem (https://www.linuxquestions.org/questions/linux-general-1/automount-partition-has-problem-266729/)

timsch75 12-15-2004 12:15 PM

automount partition has problem
 
I have a vfat partition that I use to keep mp3's on. The line in fstab is

/dev/hdf6 /music vfat rw,users 1 2

When I try to access the /music directory, it gives me a "permission denied"

The permissions for the file are:
drwxr--r-- 12 root root 4096 1969-12-31 18:00 music

When I try to mount the directory, I get:
bash-2.05b$ mount /music mount: /dev/hdf6 already mounted or /music busy mount: according to mtab, /dev/hdf6 is already mounted on /music

However, I can get access to it by unmounting and then mounting it. It's not the biggests hassle I've had with linux, but is somewhat annoying. How can I correct this so that I don't need to unmount - mount after every reboot?

cjcox 12-15-2004 12:44 PM

Perhaps a timing issue of sorts? Not sure. You can always at the noauto option so you have to explicitly do a mount /music after boot up.

Of course, you could also edit /etc/auto.master, enable the /misc like, edit auto.misc line to have

music -fstype=vfat,rw,users :/dev/hdf6

and run the REAL autofs (automounter) daemon (enable with YaST->System->Run Level Editor) and just cd to /misc/music. Just an option to try.

timsch75 12-15-2004 03:31 PM

I don't have /etc/auto.master or YAST with slack10. I shouldn't have to manually mount it either

cjcox 12-15-2004 05:06 PM

Oops wrong group... sorry about the suse stuff.

You still might want to try using the automounter though.


All times are GMT -5. The time now is 05:08 PM.