homepage | forum | wiki | feature requests & bugs

Inotify section

From Mms-wiki

Jump to: navigation, search
  • Older Ubuntu (< Feisty) user have to compile on their own.

Download inotify-tools, untar, configure, make and make install it.

https://sourceforge.net/projects/inotify-tools/

[edit] Feisty & Etch

Since today (2008/02/01) inotify-tools-3.12 are available via apt! Add

deb http://www.prodeia.de/mms/feisty binary/

or

deb http://www.prodeia.de/mms/etch binary/

to your sources.list and install with

apt-get update && apt-get install inotify-tools

UPDATE: inotify-tools now have 2 new packages! libinotifytools0-dev and libinotifytools0

[edit] Debian/buntu: Build and update via dpkg's mechanism to build your own deb and install that one

apt-get source inotify-tools
cd inotify-tools*

You'll have to change debian/control then (that's the reason it's not available as package yet ... linux-kernel-headers = Debian, linux-headers-generic = Buntu :)

nano debian/control

and change:

-Build-Depends: debhelper (>= 5), autotools-dev, linux-kernel-headers (>= 2.6.18)
+Build-Depends: debhelper (>= 5), autotools-dev, linux-headers-generic (>= 2.6.18)

after that do

dpkg-buildpackage -uc -us -rfakeroot

to install do:

cd ..
dpkg -i inotify-tools*deb

Don't forget to put a sudo in front where it is needed :)

[edit] Updating inotify-tools 3.3 -> 3.10 ... the debian way

First you need to have devscripts installed:

apt-get install devscripts

Make sure you're within the above installed upstream dir

cd /where/ever/inotify-tools-3.3

Thx to Debian's watch mechanism just do a

uscan

to get the latest upstream-tarball and let it be linked (it's done automatically :)

After that do

uupdate inotify-tools_3.10.orig.tar.gz

to update the upstream and go straight into the new dir (like uupdate suggests)

inotify-tools-3.3# uupdate inotify-tools_3.10.orig.tar.gz
New Release will be 3.10-1.
-- Untarring the new sourcecode archive inotify-tools_3.10.orig.tar.gz
Success!  The diffs from version 3.3-1 worked fine.
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../inotify-tools-3.10" to see the new package

So we do

cd ../inotify-tools-3.10

and run the build-command inside there:

dpkg-buildpackage -uc -us -rfakeroot

Install like mentioned above with "dpkg -i"

  • Pure Debian user have this package already installed. If not, do this:
apt-get install inotify-tools
Personal tools