As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch
the whole volume. Kernel part follows. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39106 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -83,9 +83,8 @@ class BLooper;
|
||||
class BHandler;
|
||||
|
||||
|
||||
extern status_t watch_volume(const dev_t volume, uint32 flags,
|
||||
BMessenger target);
|
||||
extern status_t watch_volume(const dev_t volume, uint32 flags,
|
||||
extern status_t watch_volume(dev_t volume, uint32 flags, BMessenger target);
|
||||
extern status_t watch_volume(dev_t volume, uint32 flags,
|
||||
const BHandler *handler, const BLooper *looper = NULL);
|
||||
|
||||
extern status_t watch_node(const node_ref *node, uint32 flags,
|
||||
|
||||
Reference in New Issue
Block a user