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

catch mount event



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]]