Watching for new files/symlinks/devices in sysfs (possible? which syscall?)

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

 



Hi,
is there a possibility, in sysfs, to watch for new symlinks (i.e. devices) beeing added to /sys/bus/usb/devices (like with inotify for normal directories)?

I know you can use select() (userspace) and sysfs_notify() (kernelspace) for attributes , but is there something for folders and new devices (or symlinks)?

Thanks,
-- Richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux