Get notification when a block device is mounted.

Douglas Su at
Sun Aug 29 23:30:02 EDT 2021

Hi, all:

I want to get notified when a block device is mounted, and after some google searches, it seems a syscall named "mount_notified()" existed before but was removed in the latest kernel.

For the latest kernel, is there any system call or other mechanisms cater this purpose?


More information about the Kernelnewbies mailing list