On Mon, 2014-09-22 at 17:44 -0700, Rick Stevens wrote:
> Simply adding new content doesn't usually require an
explicit rescan
> because the server is watching a given set of directories. Changing
the
> structure typically does mean a rescan because the set of
directories to
> be watched has changed.
Yup. Adding content sometimes requires it as well. Some servers don't
do a good job of scanning. I agree they're supposed to watch, but
minidlnad won't unless you enable inotify and event then only on
filesystems that support inotify. I know of at least one FS that
doesn't. Not sure if NFS does.
I don't recall having to enable inotify (i.e. I think it was the
default), but I may be mistaken. Clearly if the underlying filesystem
doesn't have inotify the server will have to do more work and the
programmer may not have bothered.
poc