On Fri, 2006-01-06 at 19:24 +1100, Hamish Moffatt wrote: > On Wed, Jan 04, 2006 at 11:29:07AM -0600, Nathan Poznick wrote: > > Thus spake Roger Leigh: > > > What is the problem this is trying to solve? > > > > > > If the partition table is being changed, the tool that changed it > > > should issue a BLKRRPART ioctl, like fdisk does for example (see > > > <linux/fs.h>). > > > > I have a USB card reader which has 5 different slots for various media. > > If I plug in the card reader and then later insert a CF card, the CF > > card slot's device does not have the partition device created when using > > udev (I have to insert the CF card and then plug in the card reader). I > > Works fine here... /dev/sdc is created when the card reader is plugged > in, and /dev/sdc1 is created when I plug in a card. No ugliness > required.
But when you remove that (SD, for example) card, and plug in a different type of card (CF, for example), does the kernel notice? -- ----------------------------------------------------------------- Ron Johnson, Jr. Jefferson, LA USA "If you don't know how to do something, you don't know how to do it with a computer." Anonymous -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]