13 const char *subsystem
;
19 int device_init(void);
20 int open_uevent_socket(void);
21 void coldboot(int event_fd
, const char *path
);
22 void do_coldboot(int event_fd
, DIR *d
);
23 void handle_device_fd(int fd
);
24 void parse_event(const char *msg
, struct uevent
*uevent
);
25 void handle_device_event(struct uevent
*uevent
);
26 void make_device(const char *path
, int block
, int major
, int minor
);
27 mode_t
get_device_perm(const char *path
, unsigned *uid
, unsigned *gid
);