Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inotify_add_watch(7, /dev/sdb, 10) failed: No such file or directory #181

Open
travankor opened this issue Feb 14, 2020 · 2 comments
Open
Labels
feedback Awaits feedback

Comments

@travankor
Copy link

travankor commented Feb 14, 2020

For the past week or so, my logger is flooded with the following message: udevd[timestamp]: inotify_add_watch(7, /dev/sdb, 10) failed: No such file or directory.

udev still seems to work, so the message seems harmless. But I would like to disable this message or fix whatever it's root cause is. I remember that, while dd'ing to /dev/sdb, I lost connection to that device. dd wrote the remaining data to /dev/sdb as tmpfs (which seems like wrong behavior to me). With a big chunk of my memory used up, I deleted /dev/sdb and now this message keeps spamming my logger.

udev still seems to detect devices and can create /dev/sdb when there is a new device. However, instead of fixing the previous error message udev spams inotify_add_watch(7, /dev/sdc, 10) failed: No such file or directory and will just change to sdd, sde when additional devices are added.

@travankor
Copy link
Author

Unrelated, it would be nice if there was an alternative to {systemd,e}udev for desktop Linux... tried mdev and couldn't get Xorg/Wayland working

@bbonev
Copy link
Member

bbonev commented Oct 3, 2023

Can you reproduce that problem? I have tried and could not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Awaits feedback
Projects
None yet
Development

No branches or pull requests

2 participants