inotify and IN_UNMOUNT-events
From: Juergen Quade (quade_at_hsnr.de)
Date: 08/30/05
- Previous message: Greg KH: "Re: [PATCH 2.6] I2C: Drop I2C_DEVNAME and i2c_clientname"
- Next in thread: Robert Love: "Re: inotify and IN_UNMOUNT-events"
- Reply: Robert Love: "Re: inotify and IN_UNMOUNT-events"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 21:46:32 +0200 To: linux-kernel@vger.kernel.org
Playing around with inotify I have some problems
to generate/receive IN_UNMOUNT-events (using
a self written application and inotify_utils-0.25;
kernel 2.6.13).
Doing:
- mount /dev/hda1 /mnt
- add a watch to the path /mnt/ ("./inotify_test /mnt")
- umount /mnt
results in two events:
1. IN_DELETE_SELF (mask=0x0400)
2. IN_IGNORED (mask=0x8000)
Any ideas?
Juergen.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Greg KH: "Re: [PATCH 2.6] I2C: Drop I2C_DEVNAME and i2c_clientname"
- Next in thread: Robert Love: "Re: inotify and IN_UNMOUNT-events"
- Reply: Robert Love: "Re: inotify and IN_UNMOUNT-events"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- problems with Mandrake 10.0 + kernel 2.6.8-rc2
... Proverb) and I'm now in a state where I can't mount CDroms. ... kernel mailing
list. ... | Bill Purvis, thrice-retired software engineer | ... send the line
"unsubscribe linux-kernel" in ... (Linux-Kernel) - [2.6.14-rc4-git HFSPlus BUG] HFSPlus ate my free space!
... I am using hfsplus to mount a 10Gb partition on an usb ... I then copy
a 3.5Gb file to the partition, then umount, ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: The argument for fs assistance in handling archives (was: silent semantic changes with reiser4)
... > mount is nice for root, ... > way of accessing data the kernel
has knowledge about in the first ... Desperate search, at ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: 2.6.0, cdrom still showing directories after being erased
... When do you have a heart between your knees? ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - Re: [Jfs-discussion] jfs mount causes oops on sparc64
... > seems to cause an oops when I attempt to mount the volume: ... JFS
has never worked on architectures with a page size greater than 4K ... In case you would continue
to see problems with a newer kernel, ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel)