File System Hook


 
Thread Tools Search this Thread
Operating Systems Solaris File System Hook
# 1  
Old 04-13-2006
Java File System Hook

Background:

DEDS is used to exchange files between Our Client and outside world. It is running on Sun v480 server OS 5.8. The files can come into or go out from various directories configured for various interfaces and come from both Our Client side as well as outside world.

Requirement:

We need to maintain a log of all the files that come into DEDS (i.e. are created on DEDS) and files going out (i.e. files that are deleted).

Problem:

Due to the high exchange rate of files on DEDS, we cannot use the directory polling mechanism.

Hence we are looking out for some hooks to the Solaris file system at the OS level which will generate a notification to our program whenever a file is created or deleted. The notification needs to contain the filename, filepath and the type of filechange (i.e. Creation/deletion)


Kindly note the OS is Sun Solaris 5.8

You early response will be highly appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Enable 'make uninstall' hook?

Heyas I'm currently trying to make 'make uninstall' work properly, as it doesnt remove empty directories. To do so, i've applied: uninstall-hook: if test -d $docdir; then rmdir $docdir; fi As stated (example) in automake - 'make uninstall': Howto remove empty directories - Stack... (2 Replies)
Discussion started by: sea
2 Replies

2. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

3. Shell Programming and Scripting

Get Home Directory for Users in Login Hook Script

I'm writing a script to use as a LoginHook for my Mac users. As part of this script, I need to write to a location in their home directory, but I can't seem to access the path - at this point in the login process, $HOME is empty and ~ gives the path to root's home. Unfortunately, I can't just do... (1 Reply)
Discussion started by: blondepianist
1 Replies

4. Programming

How to hook file changes?

hello, Im trying to create some kind of a file change hook on unix machines (should be generic if possible). Do any of you know how can i write some code that will trigger whenever a file is being modified and then will approve the modifications, or throw an exception if the new content of... (2 Replies)
Discussion started by: ErezB
2 Replies

5. UNIX for Dummies Questions & Answers

The Gary Hook tutorial

Hi All, One more time (!). I have started a contract job and am looking for any online tutorials for AIX, 5 or 5L, just an overview to brush up on system administration, security, networking, etc. with the newer and Linux linked versions. Several people on the web have indicated in other... (1 Reply)
Discussion started by: jeffpas
1 Replies

6. UNIX for Dummies Questions & Answers

The Gary Hook tutorial

Hi All, There has been talk about UNIX self-paced online tutorials written by Gary Hook, and that they are very good, specifically AIX. I am looking for the latest version of AIX, administration, tuning, networking, etc. (Like version 5 or 5L.) Basics to mid-range. I have searched all... (0 Replies)
Discussion started by: jeffpas
0 Replies

7. Solaris

Sun Blade 150 - I can't hook up extra drives

I'm not familiar with this particular machine and it's baffling me. For those that are familar with the workstation, allow me to paint a picture. If you were looking down on the machine (open) you would see the main board and then a riser board. On the left side of the riser board are jacks... (1 Reply)
Discussion started by: silversaleen68
1 Replies

8. Linux

would like to hook up linux system to another computer!

I have desktop with both windows and fedora core 2 installed on it which I have also hooked up to my psion 5mx palm device that is stored in the windows drive... and i just access the files by mounting them onto my linux drive.. now I have a laptop too .. with the same directories as the linux... (7 Replies)
Discussion started by: moxxx68
7 Replies
Login or Register to Ask a Question
NG_GIF_DEMUX(4) 					   BSD Kernel Interfaces Manual 					   NG_GIF_DEMUX(4)

NAME
ng_gif_demux -- demultiplexer for packets from ng_gif(4) nodes SYNOPSIS
#include <netgraph/ng_gif_demux.h> DESCRIPTION
The ng_gif_demux netgraph node type demultiplexes the output from ng_gif(4) nodes in the netgraph(4) networking subsystem. The gif hook is meant to be connected to the lower or orphans hook of an ng_gif(4) node. The inet, inet6, atalk, ipx, atm, natm, and ns hooks output frames of the given type when they are received on the gif hook. When a frame is received on one of these hooks, it is encapsu- lated and sent out the gif hook. HOOKS
This node type supports the following hooks: gif Connection to the lower or orphans hook of an ng_gif(4) node. inet Hook for input and output of IP frames. inet6 Hook for input and output of IPv6 frames. atalk Hook for input and output of AppleTalk frames. ipx Hook for input and output of IPX frames. atm Hook for input and output of ATM frames. natm Hook for input and output of NATM frames. ns Hook for input and output of NS frames. CONTROL MESSAGES
This node type supports only the generic control messages. SEE ALSO
gif(4), netgraph(4), netintro(4), ng_gif(4), ifconfig(8), ngctl(8), nghook(8) AUTHORS
Brooks Davis <brooks@FreeBSD.org> BSD
September 18, 2001 BSD