View previous topic :: View next topic |
Author |
Message |
leonixyz Tux's lil' helper
Joined: 18 Sep 2012 Posts: 76
|
Posted: Thu Oct 03, 2013 5:59 am Post subject: net-fs/autofs |
|
|
Autofs doesn't mount and I have no idea why...
kernel is enabled...
# grep AUTOFS /usr/src/linux/.config
Code: | CONFIG_AUTOFS4_FS=y |
configuration files seems to be ok...
# grep -v # /etc/autofs/auto.master
Code: | /mnt/ /etc/autofs/auto.misc |
#grep -v # /etc/autofs/auto.misc
Code: | usb -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1 |
the service is running...
rc-update | grep autofs
When I put an usb stick in, nothing happens...
I also have no idea what other information collect to resolv the problem |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Thu Oct 03, 2013 6:58 am Post subject: |
|
|
I am not sure if it's better to say /mnt or /mnt/ as the root mount point of Autofs. You can try without the slash. A possibility is to use the ghost option to create the sub-directory usb before you enter in what start to mount the USB device. You can specify the delay of inactivity after which it will be umounted.
Your mount option umask say that /dev/sdb1 could be a Fat or Ntfs filesystem. So it can be more precise to say vfat,ntfs than auto or one of the two only, at least for tests. _________________ Paul |
|
Back to top |
|
|
s_bernstein Apprentice
Joined: 11 Mar 2006 Posts: 172 Location: Bremen, Germany
|
Posted: Thu Oct 03, 2013 8:26 am Post subject: |
|
|
Also, autofs will mount your drive on first access, so plugging in your usb drive is not enough. You must access /mnt/usb to get autofs to mount your drive. |
|
Back to top |
|
|
leonixyz Tux's lil' helper
Joined: 18 Sep 2012 Posts: 76
|
Posted: Thu Oct 03, 2013 9:09 pm Post subject: |
|
|
s_bernstein wrote: | Also, autofs will mount your drive on first access, so plugging in your usb drive is not enough. You must access /mnt/usb to get autofs to mount your drive. |
This solved my problem, thanks |
|
Back to top |
|
|
|