xfs
[Top] [All Lists]

catch mount event

To: <linux-xfs@xxxxxxxxxxx>
Subject: catch mount event
From: "Francis Qu" <francis@xxxxxxxxxxxx>
Date: Wed, 6 Mar 2002 19:37:19 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi there,

In my DMAPI application, I'd like to catch the mount event of xfs file system. 
After init service and create session, I set DM_EVENT_MOUNT and dm_set_disp, 
then I dm_get_events. Now the program is waiting for mount event to come.

When I

mount -o dmapi -t xfs /dev/xxx /mnt

and it mounts, but the program doesn't catch the mount event.

Thanks.
Francis


[[HTML alternate version deleted]]


<Prev in Thread] Current Thread [Next in Thread>