Re: removable media revalidation - udev vs. devfs or static /dev

Linus Torvalds
2004-01-08T01:48:29Z

On Wed, 7 Jan 2004, Greg KH wrote:
>
> It sounds like just having the device node around will not cause the
> rescan if you access it.

Who has problems with it, and why?

When you open a partition, that will automatically open the "whole
device", and that should cause a re-scan if the device supports the "disk
change" flagging.

This definitely has worked for me. It used to be broken in really early
2.5.x, but it got fixed with the block device interface fixes.

Linus