diff options
-rw-r--r-- | nlplug-findfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c index b93a5a9..5bdb7b1 100644 --- a/nlplug-findfs.c +++ b/nlplug-findfs.c @@ -713,7 +713,7 @@ static int dispatch_uevent(struct uevent *ev, struct ueventconf *conf) } if (ev->subsystem && strcmp(ev->subsystem, "block") == 0 - && strcmp(ev->action, "add") == 0) { + && (strcmp(ev->action, "add") == 0 || strcmp(ev->action, "change") == 0)) { int rc; snprintf(ev->devnode, sizeof(ev->devnode), "/dev/%s", |