> Just use /run/media or put /media on tmpfs and you won't have this problem.
You'd have it less, but it's still an issue on long-running systems.
So if we don't use rmdir() but instead add a "is mountpoint" and "is empty" test, would you be ok with that?
> Just use /run/media or put /media on tmpfs and you won't have this problem.
You'd have it less, but it's still an issue on long-running systems.
So if we don't use rmdir() but instead add a "is mountpoint" and "is empty" test, would you be ok with that?