On Sun, 3 Feb 2002 11:29:30 +0100, Henning Meier-Geinitz <[email protected]> wrote: > It's not a bug because it's documented :-)
That's a fair enough response for development code, but I hope we agree that *any* segfault under conditions that can be detected with software (i.e. anything other than intermittent hardware faults), is a bug. > I have no idea how to test if the device is a SCSI device without > sending data to it. Maybe we can add some magic to look at the real > device name if /dev/scanner is used but ad this can something like > /dev/sga, /dev/sg1, /dev/uk0, /dev/ss0 and many many more it's not > that easy. And nobody prevents the user to create > /dev/myownscsiscanner with the correct major/minor numbers. I think perhaps you just answered your own question -- the major/minor device numbers already indicate what the device type is. Can we query the kernel for information on the device numbers to see what the bus type is? -- \ "Military justice is to justice what military music is to | `\ music." -- Groucho Marx | _o__) | [email protected] F'print 9CFE12B0 791A4267 887F520C B7AC2E51 BD41714B
