Re: scsi sysfs design, ch driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 16, 2005 at 03:50:19PM +1000, Douglas Gilbert wrote:
> So my question is why was "scsi_generic:sg0" form introduced,
> especially the ":sg0" part? It may help visually but it
> is a nuisance programmatically.

It was for the benefit of serial devices (and others) which may have
several classes.

# ls /sys/bus/pci/devices/0000\:00\:04.0
bus     device  local_cpus  subsystem_device  tty:ttyS1
class   driver  modalias    subsystem_vendor  tty:ttyS2
config  irq     resource    tty:ttyS0         vendor

Without the :ttyS*, we'd have three links all called 'tty'.
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux