Tiny Core Base > Corepure64

lack of inotyfid in busybox

(1/2) > >>

vinnie:
Some time ago I created a script that observed the changes of a file in the system using busybox inotifyd. But in the version of tinycore this program seems to be missing, what should I use instead?

Juanito:
libnotify and/or notification-daemon?

Rich:
Hi vinnie
Checking TC4, 9, and 10 I don't see busybox ever including  inotifyd.


--- Quote from: vinnie on July 25, 2021, 11:21:09 AM --- ... observed the changes of a file ...
--- End quote ---
Maybe you were thinking of  tail -f :

--- Code: ---        -f              Print data as file grows
--- End code ---

vinnie:

--- Quote from: Juanito on July 25, 2021, 11:44:52 AM ---libnotify and/or notification-daemon?

--- End quote ---
I think the second, to be clear, this:
https://busybox.net/downloads/binaries/1.31.0-i686-uclibc/busybox_INOTIFYD
Downloading this binary, it already work in tinycore as is, but why it is not already included in tinycore?

vinnie:

--- Quote from: Rich on July 25, 2021, 12:01:19 PM ---Hi vinnie
Checking TC4, 9, and 10 I don't see busybox ever including  inotifyd.


--- Quote from: vinnie on July 25, 2021, 11:21:09 AM --- ... observed the changes of a file ...
--- End quote ---
Maybe you were thinking of  tail -f :

--- Code: ---        -f              Print data as file grows
--- End code ---

--- End quote ---

Thanks Rich, but in this case my file is a lock file, so I have to check if it get erased or not.
I know that I can do it with other commands but it seems less elegant.
Is there a way to check instead that a process is always active?

Navigation

[0] Message Index

[#] Next page

Go to full version