diff options
author | Thierry.Vignaud <thierry.vignaud@gmail.com> | 2014-05-27 22:03:36 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-27 22:03:36 +0200 |
commit | cf0adf9c25bf58260d6759bf9ea444c74c516b80 (patch) | |
tree | 34f2b37c0a8aa7e3e94c26f3dd08d24209f621b6 /perl-install | |
parent | ece615a73f5d9692ea1c2551a2b06912ff08cfcc (diff) | |
download | drakx-cf0adf9c25bf58260d6759bf9ea444c74c516b80.tar drakx-cf0adf9c25bf58260d6759bf9ea444c74c516b80.tar.gz drakx-cf0adf9c25bf58260d6759bf9ea444c74c516b80.tar.bz2 drakx-cf0adf9c25bf58260d6759bf9ea444c74c516b80.tar.xz drakx-cf0adf9c25bf58260d6759bf9ea444c74c516b80.zip |
improve style
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 9908497cf..17e37954a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -23,23 +23,23 @@ The B<detect_devices> modules offers a high level API for detecting devices.* It mostly relies on the L<c> modules for gluing libldetect back into the Perl world, and thus being able to enumerate DMI/HID/PCI/USB devices. -Other devices are mostly detected through /proc & /sys. +Other devices are mostly detected through C</proc> & C</sys>. Then the L<list_modules> enables to map modules into categories such as: -=over +=over 4 -=item network/ethernet, +=item * C<network/ethernet,> -=item network/wireless, +=item * C<network/wireless,> -=item network/wifi, +=item * C<network/wifi,> -=item disk/sata, +=item * C<disk/sata,> -=item disk/scsi, +=item * C<disk/scsi,> -=item ... +=item * ... =back @@ -440,7 +440,7 @@ sub getATARAID() { =item getXenBlk() -Returns a list of all Xen block devices (/dev/xvd*). +Returns a list of all Xen block devices (C</dev/xvd*>). =cut @@ -454,7 +454,7 @@ sub getXenBlk() { =item getVirtIO() -Returns a list of all VirtIO block devices (/dev/vd*). +Returns a list of all VirtIO block devices (/dev/C<vd*>). =cut @@ -500,9 +500,9 @@ sub ix86_cpu_frequency() { =item probe_category($category) -Returns a list of devices which drivers are in the asked category. +Returns a list of devices which drivers are in the asked category. eg: -eg: my @eth_cards = probe_category('network/ethernet'); + my @eth_cards = probe_category('network/ethernet'); =cut @@ -1012,7 +1012,7 @@ sub pci_probe__real() { =item pci_probe() -Cache the result of c::pci_probe() and return the list of items in the PCI devices. +Cache the result of C<c::pci_probe()> and return the list of items in the PCI devices. =cut @@ -1041,7 +1041,7 @@ sub usb_probe__real() { =item usb_probe() -Cache the result of c::usb_probe() and return the list of items in the USB devices. +Cache the result of C<c::usb_probe()> and return the list of items in the USB devices. =cut @@ -1148,7 +1148,7 @@ sub pcmcia_probe() { =item dmi_probe() -Cache the result of c::dmi_probe() (aka dmidecode) and return the list of items in the DMI table +Cache the result of c::dmi_probe() (aka C<dmidecode>) and return the list of items in the DMI table =cut @@ -1361,7 +1361,7 @@ pcmcia service =item * -computer_info() (really dmidecode) telling us it's a laptop +C<computer_info()> (really C<dmidecode>) telling us it's a laptop =item * |