mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
45fa7a7d79
commit
547454da02
@ -33,7 +33,7 @@ KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi", ATTRS{type}==
|
||||
|
||||
# Run ata_id on non-removable USB Mass Storage (SATA/PATA disks in enclosures)
|
||||
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", ATTR{removable}=="0", SUBSYSTEMS=="usb", IMPORT{program}="ata_id --export $devnode"
|
||||
# Otherwise fall back to using usb_id for USB devices
|
||||
# Otherwise, fall back to using usb_id for USB devices
|
||||
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id"
|
||||
|
||||
# scsi devices
|
||||
|
@ -219,9 +219,9 @@ static int dev_if_packed_info(struct udev_device *dev, char *ifs_str, size_t len
|
||||
* A unique USB identification is generated like this:
|
||||
*
|
||||
* 1.) Get the USB device type from InterfaceClass and InterfaceSubClass
|
||||
* 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC'
|
||||
* 2.) If the device type is 'Mass-Storage/SPC-2' or 'Mass-Storage/RBC',
|
||||
* use the SCSI vendor and model as USB-Vendor and USB-model.
|
||||
* 3.) Otherwise use the USB manufacturer and product as
|
||||
* 3.) Otherwise, use the USB manufacturer and product as
|
||||
* USB-Vendor and USB-model. Any non-printable characters
|
||||
* in those strings will be skipped; a slash '/' will be converted
|
||||
* into a full stop '.'.
|
||||
|
Loading…
Reference in New Issue
Block a user