Re: auto mounting daemon (amd) question

Aleksey Cheusov <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
 >>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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.