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

From: Linus Torvalds
Date: Wed Jan 07 2004 - 20:49:55 EST




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/