inotify like service for an entire mount point?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John, Robert, others,

I'm working with the ohsm team on a new kernel module and we need a
way as an example to be notified of every file creation event on a
filesystem so we can determine which storage tier a new file should be
allocating data blocks from.

I believe inotify needs a watch item for every directory it is
watching, so in theory we could walk the directory structure somehow
and register every directory with inotify.  That seems like an
excessive amount of overhead for what seems like a simple to implement
need.

So a couple questions:

Can inotify currently be told to monitor an entire mount point?

Would a patch to enable inotify to do so be entertained?  If so, what
about one that added the ability to just the kernel API.  (We have no
need of it in userspace at present.)

Is there an alternate pre-existing linux kernel solution?

Thanks
Greg
-- 
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
Preservation and Forensic processing of Exchange Repositories White Paper -
<http://www.norcrossgroup.com/forms/whitepapers/tng_whitepaper_fpe.html>

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux