How to write a daemon program to monitor symbolic links?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri Oct 23 21:31:19 EDT 2009
In message <mailman.1942.1256325954.2807.python-list at python.org>, Peng Yu
wrote:
> As far as I know, linux doesn't support a system level way to figure
> out all the symbolic links point to a give file.
Do you know of a system that does?
> I'm thinking of writing a daemon program which will build a database
> on all the symbolic links that point to any files. Later on, whenever
> I change or remove any file or symbolic link, I'll will notify the
> daemon process the changes.
What if the change is made to a removable/hot-pluggable volume while it's
mounted on another system?
More information about the Python-list
mailing list