fstab-sync conflicts with autofs?
related to my previous thread, i've made some progress in narrowing down the problem.
It seems that fstab-sync attempts to create a directory within /media/, which is an automount directory. This is confusing to me since it seems that the HAL should only be reporting hardware that is added. I've attempted to freeze /etc/fstab a la man fstab-sync It didn't work. when I turn autofs off, fstab-sync actually creates a directory in /media named KODAK when I insert a SD card into the drive: Code:
Aug 30 07:01:23 bart kernel: SCSI device sdc: 125440 512-byte hdwr sectors (64 MB) Any thoughts? |
Automount and autofs are completely unrelated to fstab-sync. It sounds like your problem is just that your automount configuration is attempting to use /media, which is the same directory used by fstab-sync. I'm not sure how to turn off fstab-sync, but the easy solution would be to simply use a different directory for automount, e.g. /var/autofs/media or /auto or something.
|
sorry for the delayed reply. I hadn't gotten a chance to work on it until now.
So I changed the mount point for autofs from /media to /mnt/media in auto.master. I restarted autofs. It still doesn't work. autofs makes the appropriate directories on the new mount mount points, and fstab-sync continues to create the the /media/KODAK mount point. Here's what I get in /var/log/messages: Code:
Sep 3 08:12:03 bart kernel: SCSI device sdc: 125440 512-byte hdwr sectors (64 MB) |
Yes, that's exactly what is supposed to happen. Autofs and fstab-sync both do their thing regardless of what the other is doing. I guess I don't understand what you're looking for.
|
All times are GMT -5. The time now is 09:25 PM. |