Subject: Re: auto mounting daemon (amd) question
To: Christos Zoulas <christos@astron.com>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-help
Date: 09/08/2006 21:38:52
>>I've started a daemon, then run 'ls -a /media/cd/'.
>>CD is mounted and I see files in it.
>>Now, I expect that CD will be unmounted automatically in three seconds.
>>But it is not.
>>Config and log messages are below.
>>What's wrong in my config?
> Nothing. but:
> 1. 3 seconds is too little
It doesn't matter. 5 or 10. It doesn't work :-(
> 2. if you are cd'ed to a directory the unmount will fail.
There are no programs whose pwd is /media/cd/
or programs that accesses files in it, i.e.
I'm absolutely sure that this directory can be unmounted.
> 3. you don't need program mounts. amd knows about iso9660
I know, but I prefer use type:=program for notification
about umount event.
--
Best regards, Aleksey Cheusov.