Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/01/2024, à 09:07

Astrolivier

[Résolu]Mettre plusieurs occurence de grep dans une variable

salut,

je fais une refonte de wificheck :
https://forum.ubuntu-fr.org/viewtopic.php?id=2083463

dedans je cherche le nom de l'interface wifi pour la mettre dans une variable qui ensuite est utilisée dans d'autres lignes de commande

# variable pour le nom de l'interface ; variable for interface name
interface=$(iw dev | grep -Po '(?<=\bInterface )\w+')

jusqu’ici, ça va. sauf que doit bien y avoir des gens qui ont plusieurs interfaces.

comment je fais, s'il vous plaît, pour stocker dans ma variable plusieurs interfaces (dans un array donc) ?
mes connaissances en bash sont bien limitées, et je ne trouve pas.

Dernière modification par Astrolivier (Le 29/01/2024, à 19:20)


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#2 Le 28/01/2024, à 10:04

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Bonjour,

Une simple liste de valeurs devrait suffire, par exemple :

wifi_interfaces=$(ls /sys/class/ieee80211/*/device/net/)

ensuite tu parcours ta liste avec une boucle :

for interface in $wifi_interfaces
do
   instructions…
done

Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#3 Le 28/01/2024, à 10:26

Astrolivier

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

cool merci, je savais pas qu'on pouvait trouver les interfaces là, je regarde.


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#4 Le 28/01/2024, à 10:32

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Oui, je fais cette suggestion parce que iw n'est pas installé par défaut. C'est ce qui me semble le plus universel, mais il y a peut-être mieux.


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#5 Le 28/01/2024, à 10:39

nany

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Bonjour,



Et attention à ce dans quoi tu t’embarques !
Wificheck est à l’origine un petit outil utilisant des commandes de base installées par défaut.
Or iw n’est pas installée par défaut. Tu dois donc tester si elle est installée et l’installer au besoin avant de pouvoir l’utiliser. Ton script va alors commencer à se complexifier.


Arf, grilled!

Dernière modification par nany (Le 28/01/2024, à 10:39)

Hors ligne

#6 Le 28/01/2024, à 10:45

xubu1957

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Bonjour,

La base de départ, c'était le message en 2007, de mr_pouit : À lire avant de poster !!!


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#7 Le 28/01/2024, à 11:07

Astrolivier

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

ah mince, vous faites bien de me le dire, parce que j’étais justement parti de cette assomption

https://wireless.wiki.kernel.org/en/use … ntation/iw

iw is a new nl80211 based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently. The old tool iwconfig, which uses Wireless Extensions interface, is deprecated and it's strongly recommended to switch to iw and nl80211.

Like the rest of the Linux kernel, iw is still under development. Features are added 'as we go'. The only documentation for iw is this page and output from 'iw help'. Please help expand this page.

ps : en même temps je n'utilise cette variable que pour iw, mais je vais réfléchir à tout ça

Dernière modification par Astrolivier (Le 28/01/2024, à 11:20)


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#8 Le 28/01/2024, à 11:29

xubu1957

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Euh > Assertion, pas Assomption.

Edit mea culpa,mea culpa, mea maxima culpa. hmm

Vu réponse suivante                     ↓↓↓↓↓↓↓

Dernière modification par xubu1957 (Le 28/01/2024, à 13:51)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#9 Le 28/01/2024, à 11:50

Astrolivier

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

xubu1957 a écrit :

Euh > Assertion, pas Assomption.


https://www.cnrtl.fr/definition/assomption

B.− LOGIQUE
1. Acte d'assumer, ,,de faire sienne une proposition, principalement à titre d'hypothèse servant de départ à une opération déductive``; p. ext. ,,la proposition assumée ou admise`` (Foulq.-St-Jean 1962) :
4. Cette pensée réfléchie caractéristique de l'adolescent prend naissance dès 11-12 ans, à partir du moment où le sujet devient capable de raisonner de manière hypothético-déductive, c'est-à-dire sur de simples assomptions sans relation nécessaire avec la réalité. J. Piaget, Psychol. de l'intelligence,p. 177 (Foulq.-St-Jean 1962).

j'aurais pu dire supposition mais c'est l'anglais assumed qui m'est venu en premier donc assomption tongue


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#10 Le 28/01/2024, à 13:21

Watael

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

bruno a écrit :

Une simple liste de valeurs devrait suffire, par exemple :

wifi_interfaces=$(ls /sys/class/ieee80211/*/device/net/)

non!

for interface in /sys/class/ieee80211/*/device/net/*; do interface=${interface##*/}; ...; done

Dernière modification par Watael (Le 28/01/2024, à 13:22)


Connected \o/
Welcome to sHell. · eval is evil.

Hors ligne

#11 Le 28/01/2024, à 13:44

lynn

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Je me disais bien que le ls n'allait pas passer inaperçu... lol


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#12 Le 28/01/2024, à 13:56

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Je m'en doutais aussi wink Mais  je connais pas par cœur la syntaxe pour extraire les sous-chaînes de caractères et j'ai eu le flemme de consulter la doc.


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#13 Le 28/01/2024, à 14:18

geole

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Sauf que

ls /sys/class/ieee80211/
a@a:~$ ls /sys/class/ieee80211
a@a:~$ ls /sys/class
accel       block          dma             firmware     i2c-dev        leds      msr      powercap      ptp           rfkill        sound       tty           wakeup
ata_device  bsg            dma_heap        gpio         ieee80211      lirc      nd       power_supply  pwm           rtc           spi_master  usbmisc       watchdog
ata_link    devcoredump    dmi             graphics     input          mdio_bus  net      ppdev         rapidio_port  scsi_device   spi_slave   usb_role      wmi_bus
ata_port    devfreq        drm             hidraw       intel_scu_ipc  mem       pci_bus  ppp           rc            scsi_disk     thermal     vc
backlight   devfreq-event  drm_dp_aux_dev  hwmon        iommu          misc      pci_epc  pps           regulator     scsi_generic  tpm         virtio-ports
bdi         devlink        extcon          i2c-adapter  kfd            mmc_host  phy      printer       remoteproc    scsi_host     tpmrm       vtconsole
:~$ cd /sys/class/ieee80211
a@a:/sys/class/ieee80211$ ls -ls
total 0
a@a:/sys/class/ieee80211$ 

Dernière modification par geole (Le 28/01/2024, à 14:21)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#14 Le 28/01/2024, à 14:27

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

As-tu une interface WiFi reconnue par le noyau ?


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#15 Le 28/01/2024, à 14:31

xubu1957

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

On a un wificheck au second pavé.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#16 Le 28/01/2024, à 14:41

geole

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

nmcli dev wifi 
IN-USE  BSSID              SSID              MODE   CHAN  RATE       SIGNAL  BARS  SECURITY    
*       E4:9E:12:7D:B0:3E  FB                Infra  6     54 Mbit/s  100     ▂▄▆█  WPA2        
        E4:9E:12:7D:B0:3F  FreeWifi_secure   Infra  6     54 Mbit/s  72      ▂▄▆_  WPA2 802.1X 
        B2:10:41:72:F6:96  DIRECT-dd-BRAVIA  Infra  11    54 Mbit/s  56      ▂▄▆_  WPA2        

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu Noble Numbat (development branch)
Release:	24.04
Codename:	noble

et c'est avec elle que je communique car impossible par connectique câble    avec CPL

Dernière modification par geole (Le 28/01/2024, à 14:43)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#17 Le 28/01/2024, à 14:56

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

La même commande avec sudo ? Mais normalement c'est en lecture pour tous et on devrait voir un lien symbolique vers ton interface.

sudo ls -l /sys/class/ieee80211

C'est d'autant plus étrange que /sys/class/ieee80211 n’est créé que si un périphérique WIFi (norme IEEE 802.11) est branché et reconnu par le noyau.

Dernière modification par bruno (Le 28/01/2024, à 15:00)


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#18 Le 28/01/2024, à 16:12

geole

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

a@a:~$ sudo ls -l /sys/class/ieee80211
[sudo] password for a: 
total 0
a@a:~$ 

Ma clé WIFI n'est peut-être pas à la norme IEEE 802.11  ( il y a un X)

a@a:~$ journalctl -b -g wifi
Jan 28 10:40:36 a kernel: usb 1-3: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
a@a:~$ 
a@a:~$ cd /sys/class
a@a:/sys/class$ ls -Rls
.:
total 0
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 accel
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ata_device
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ata_link
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ata_port
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 backlight
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 bdi
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 block
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 bsg
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 devcoredump
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 devfreq
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 devfreq-event
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 devlink
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 dma
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 dma_heap
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 dmi
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 drm
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 drm_dp_aux_dev
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 extcon
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 firmware
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 gpio
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 graphics
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 hidraw
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 hwmon
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 i2c-adapter
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 i2c-dev
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ieee80211
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 input
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 intel_scu_ipc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 iommu
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 kfd
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 leds
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 lirc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 mdio_bus
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 mem
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 misc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 mmc_host
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 msr
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 nd
0 drwxr-xr-x 2 root root 0 Jan 28 15:08 net
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 pci_bus
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 pci_epc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 phy
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 powercap
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 power_supply
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ppdev
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ppp
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 pps
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 printer
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 ptp
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 pwm
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 rapidio_port
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 rc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 regulator
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 remoteproc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 rfkill
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 rtc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 scsi_device
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 scsi_disk
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 scsi_generic
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 scsi_host
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 sound
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 spi_master
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 spi_slave
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 thermal
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 tpm
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 tpmrm
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 tty
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 usbmisc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 usb_role
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 vc
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 virtio-ports
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 vtconsole
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 wakeup
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 watchdog
0 drwxr-xr-x 2 root root 0 Jan 28 13:15 wmi_bus

./accel:
total 0

./ata_device:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev1.0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/link1/dev1.0/ata_device/dev1.0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev2.0 -> ../../devices/pci0000:00/0000:00:11.0/ata2/link2/dev2.0/ata_device/dev2.0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev3.0 -> ../../devices/pci0000:00/0000:00:11.0/ata3/link3/dev3.0/ata_device/dev3.0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev4.0 -> ../../devices/pci0000:00/0000:00:11.0/ata4/link4/dev4.0/ata_device/dev4.0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev5.0 -> ../../devices/pci0000:00/0000:00:11.0/ata5/link5/dev5.0/ata_device/dev5.0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 dev6.0 -> ../../devices/pci0000:00/0000:00:11.0/ata6/link6/dev6.0/ata_device/dev6.0

./ata_link:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link1 -> ../../devices/pci0000:00/0000:00:11.0/ata1/link1/ata_link/link1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link2 -> ../../devices/pci0000:00/0000:00:11.0/ata2/link2/ata_link/link2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link3 -> ../../devices/pci0000:00/0000:00:11.0/ata3/link3/ata_link/link3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link4 -> ../../devices/pci0000:00/0000:00:11.0/ata4/link4/ata_link/link4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link5 -> ../../devices/pci0000:00/0000:00:11.0/ata5/link5/ata_link/link5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 link6 -> ../../devices/pci0000:00/0000:00:11.0/ata6/link6/ata_link/link6

./ata_port:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ata1 -> ../../devices/pci0000:00/0000:00:11.0/ata1/ata_port/ata1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ata2 -> ../../devices/pci0000:00/0000:00:11.0/ata2/ata_port/ata2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ata3 -> ../../devices/pci0000:00/0000:00:11.0/ata3/ata_port/ata3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ata4 -> ../../devices/pci0000:00/0000:00:11.0/ata4/ata_port/ata4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 ata5 -> ../../devices/pci0000:00/0000:00:11.0/ata5/ata_port/ata5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 ata6 -> ../../devices/pci0000:00/0000:00:11.0/ata6/ata_port/ata6

./backlight:
total 0

./bdi:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 15:15 0:86 -> ../../devices/virtual/bdi/0:86
0 lrwxrwxrwx 1 root root 0 Jan 28 15:15 0:87 -> ../../devices/virtual/bdi/0:87
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 252:0 -> ../../devices/virtual/bdi/252:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 252:1 -> ../../devices/virtual/bdi/252:1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:0 -> ../../devices/virtual/bdi/7:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:1 -> ../../devices/virtual/bdi/7:1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 7:10 -> ../../devices/virtual/bdi/7:10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:2 -> ../../devices/virtual/bdi/7:2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:3 -> ../../devices/virtual/bdi/7:3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:4 -> ../../devices/virtual/bdi/7:4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:5 -> ../../devices/virtual/bdi/7:5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:6 -> ../../devices/virtual/bdi/7:6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 7:7 -> ../../devices/virtual/bdi/7:7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 7:8 -> ../../devices/virtual/bdi/7:8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 7:9 -> ../../devices/virtual/bdi/7:9
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 8:0 -> ../../devices/virtual/bdi/8:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 8:16 -> ../../devices/virtual/bdi/8:16
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 8:32 -> ../../devices/virtual/bdi/8:32
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 8:48 -> ../../devices/virtual/bdi/8:48
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 8:4-fuseblk -> ../../devices/virtual/bdi/8:4-fuseblk
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 8:64 -> ../../devices/virtual/bdi/8:64
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 9:125 -> ../../devices/virtual/bdi/9:125
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 9:127 -> ../../devices/virtual/bdi/9:127
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-1 -> ../../devices/virtual/bdi/zfs-1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-10 -> ../../devices/virtual/bdi/zfs-10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-11 -> ../../devices/virtual/bdi/zfs-11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-12 -> ../../devices/virtual/bdi/zfs-12
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-13 -> ../../devices/virtual/bdi/zfs-13
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-14 -> ../../devices/virtual/bdi/zfs-14
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 zfs-15 -> ../../devices/virtual/bdi/zfs-15
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-2 -> ../../devices/virtual/bdi/zfs-2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-3 -> ../../devices/virtual/bdi/zfs-3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-4 -> ../../devices/virtual/bdi/zfs-4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-5 -> ../../devices/virtual/bdi/zfs-5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-6 -> ../../devices/virtual/bdi/zfs-6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-7 -> ../../devices/virtual/bdi/zfs-7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-8 -> ../../devices/virtual/bdi/zfs-8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs-9 -> ../../devices/virtual/bdi/zfs-9

./block:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 dm-0 -> ../../devices/virtual/block/dm-0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 dm-1 -> ../../devices/virtual/block/dm-1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop0 -> ../../devices/virtual/block/loop0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop1 -> ../../devices/virtual/block/loop1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 loop10 -> ../../devices/virtual/block/loop10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop2 -> ../../devices/virtual/block/loop2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop3 -> ../../devices/virtual/block/loop3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop4 -> ../../devices/virtual/block/loop4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop5 -> ../../devices/virtual/block/loop5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop6 -> ../../devices/virtual/block/loop6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop7 -> ../../devices/virtual/block/loop7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 loop8 -> ../../devices/virtual/block/loop8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 loop9 -> ../../devices/virtual/block/loop9
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 md125 -> ../../devices/virtual/block/md125
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 md127 -> ../../devices/virtual/block/md127
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda1 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda2 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda3 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda4 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda5 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sda6 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb1 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb10 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb11 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb12 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb12
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb13 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb13
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb14 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb14
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb15 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb15
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb16 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb16
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb17 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb17
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb18 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb18
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb19 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb19
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb2 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb20 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb20
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb3 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb4 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb5 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb6 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb7 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb8 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdb9 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb9
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdc -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdc1 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/sdc1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdd -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/block/sdd
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sdd1 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/block/sdd/sdd1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sde -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/block/sde
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sde1 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/block/sde/sde1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 sde2 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/block/sde/sde2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sde3 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/block/sde/sde3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 sde4 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/block/sde/sde4

./bsg:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 0:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/bsg/0:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 1:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 2:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 3:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/bsg/3:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 6:0:0:0 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0

./devcoredump:
total 0
0 -rw-r--r-- 1 root root 4096 Jan 28 15:15 disabled

./devfreq:
total 0

./devfreq-event:
total 0

./devlink:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 :ata1--scsi:0:0:0:0 -> ../../devices/virtual/devlink/:ata1--scsi:0:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 :ata2--scsi:1:0:0:0 -> ../../devices/virtual/devlink/:ata2--scsi:1:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 :ata3--scsi:2:0:0:0 -> ../../devices/virtual/devlink/:ata3--scsi:2:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 :ata4--scsi:3:0:0:0 -> ../../devices/virtual/devlink/:ata4--scsi:3:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 pci:0000:00:01.0--pci:0000:00:01.1 -> ../../devices/virtual/devlink/pci:0000:00:01.0--pci:0000:00:01.1

./dma:
total 0

./dma_heap:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 system -> ../../devices/virtual/dma_heap/system

./dmi:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 id -> ../../devices/virtual/dmi/id

./drm:
total 0
0 lrwxrwxrwx 1 root root    0 Jan 28 10:39 card0 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0
0 lrwxrwxrwx 1 root root    0 Jan 28 10:40 card0-DVI-D-1 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-DVI-D-1
0 lrwxrwxrwx 1 root root    0 Jan 28 10:40 card0-HDMI-A-1 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-HDMI-A-1
0 lrwxrwxrwx 1 root root    0 Jan 28 10:40 card0-VGA-1 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-VGA-1
0 lrwxrwxrwx 1 root root    0 Jan 28 10:40 renderD128 -> ../../devices/pci0000:00/0000:00:01.0/drm/renderD128
0 -r--r--r-- 1 root root 4096 Jan 28 10:44 version

./drm_dp_aux_dev:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 drm_dp_aux0 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-VGA-1/drm_dp_aux0

./extcon:
total 0

./firmware:
total 0
0 -rw-r--r-- 1 root root 4096 Jan 28 15:15 timeout

./gpio:
total 0
0 --w------- 1 root root 4096 Jan 28 15:15 export
0 --w------- 1 root root 4096 Jan 28 15:15 unexport

./graphics:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 fb0 -> ../../devices/pci0000:00/0000:00:01.0/graphics/fb0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 fbcon -> ../../devices/virtual/graphics/fbcon

./hidraw:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 hidraw0 -> ../../devices/pci0000:00/0000:00:12.0/usb2/2-4/2-4:1.0/0003:046D:C077.0001/hidraw/hidraw0

./hwmon:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 hwmon0 -> ../../devices/pci0000:00/0000:00:01.0/hwmon/hwmon0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 hwmon1 -> ../../devices/pci0000:00/0000:00:18.3/hwmon/hwmon1

./i2c-adapter:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-0 -> ../../devices/pci0000:00/0000:00:01.0/i2c-0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-1 -> ../../devices/pci0000:00/0000:00:01.0/i2c-1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-10 -> ../../devices/pci0000:00/0000:00:14.0/i2c-10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-11 -> ../../devices/pci0000:00/0000:00:14.0/i2c-11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-2 -> ../../devices/pci0000:00/0000:00:01.0/i2c-2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-3 -> ../../devices/pci0000:00/0000:00:01.0/i2c-3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-4 -> ../../devices/pci0000:00/0000:00:01.0/i2c-4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-5 -> ../../devices/pci0000:00/0000:00:01.0/i2c-5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-6 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-VGA-1/i2c-6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-7 -> ../../devices/pci0000:00/0000:00:14.0/i2c-7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-8 -> ../../devices/pci0000:00/0000:00:14.0/i2c-8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-9 -> ../../devices/pci0000:00/0000:00:14.0/i2c-9

./i2c-dev:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-0 -> ../../devices/pci0000:00/0000:00:01.0/i2c-0/i2c-dev/i2c-0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-1 -> ../../devices/pci0000:00/0000:00:01.0/i2c-1/i2c-dev/i2c-1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-10 -> ../../devices/pci0000:00/0000:00:14.0/i2c-10/i2c-dev/i2c-10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-11 -> ../../devices/pci0000:00/0000:00:14.0/i2c-11/i2c-dev/i2c-11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-2 -> ../../devices/pci0000:00/0000:00:01.0/i2c-2/i2c-dev/i2c-2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-3 -> ../../devices/pci0000:00/0000:00:01.0/i2c-3/i2c-dev/i2c-3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-4 -> ../../devices/pci0000:00/0000:00:01.0/i2c-4/i2c-dev/i2c-4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-5 -> ../../devices/pci0000:00/0000:00:01.0/i2c-5/i2c-dev/i2c-5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 i2c-6 -> ../../devices/pci0000:00/0000:00:01.0/drm/card0/card0-VGA-1/i2c-6/i2c-dev/i2c-6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-7 -> ../../devices/pci0000:00/0000:00:14.0/i2c-7/i2c-dev/i2c-7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-8 -> ../../devices/pci0000:00/0000:00:14.0/i2c-8/i2c-dev/i2c-8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 i2c-9 -> ../../devices/pci0000:00/0000:00:14.0/i2c-9/i2c-dev/i2c-9

./ieee80211:
total 0

./input:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 event0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 event1 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 event2 -> ../../devices/platform/i8042/serio0/input/input2/event2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 event3 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 event4 -> ../../devices/pci0000:00/0000:00:12.0/usb2/2-4/2-4:1.0/0003:046D:C077.0001/input/input4/event4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 event5 -> ../../devices/pci0000:00/0000:00:01.1/sound/card0/input5/event5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 event6 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input6/event6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 event7 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input7/event7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 event8 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input8/event8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 input0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 input1 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 input2 -> ../../devices/platform/i8042/serio0/input/input2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 input3 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 input4 -> ../../devices/pci0000:00/0000:00:12.0/usb2/2-4/2-4:1.0/0003:046D:C077.0001/input/input4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input5 -> ../../devices/pci0000:00/0000:00:01.1/sound/card0/input5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input6 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input7 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input8 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/input8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 mice -> ../../devices/virtual/input/mice
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 mouse0 -> ../../devices/pci0000:00/0000:00:12.0/usb2/2-4/2-4:1.0/0003:046D:C077.0001/input/input4/mouse0

./intel_scu_ipc:
total 0

./iommu:
total 0

./kfd:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 kfd -> ../../devices/virtual/kfd/kfd

./leds:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock

./lirc:
total 0

./mdio_bus:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 fixed-0 -> '../../devices/platform/Fixed MDIO bus.0/mdio_bus/fixed-0'
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 r8169-0-100 -> ../../devices/pci0000:00/0000:00:04.0/0000:01:00.0/mdio_bus/r8169-0-100

./mem:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 full -> ../../devices/virtual/mem/full
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 kmsg -> ../../devices/virtual/mem/kmsg
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 mem -> ../../devices/virtual/mem/mem
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 null -> ../../devices/virtual/mem/null
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 port -> ../../devices/virtual/mem/port
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 random -> ../../devices/virtual/mem/random
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 urandom -> ../../devices/virtual/mem/urandom
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 zero -> ../../devices/virtual/mem/zero

./misc:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 autofs -> ../../devices/virtual/misc/autofs
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 cpu_dma_latency -> ../../devices/virtual/misc/cpu_dma_latency
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 device-mapper -> ../../devices/virtual/misc/device-mapper
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ecryptfs -> ../../devices/virtual/misc/ecryptfs
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 fuse -> ../../devices/virtual/misc/fuse
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 hpet -> ../../devices/virtual/misc/hpet
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 hw_random -> ../../devices/virtual/misc/hw_random
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 kvm -> ../../devices/virtual/misc/kvm
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 loop-control -> ../../devices/virtual/misc/loop-control
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 mcelog -> ../../devices/virtual/misc/mcelog
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 psaux -> ../../devices/virtual/misc/psaux
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 rfkill -> ../../devices/virtual/misc/rfkill
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 snapshot -> ../../devices/virtual/misc/snapshot
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tun -> ../../devices/virtual/misc/tun
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 udmabuf -> ../../devices/virtual/misc/udmabuf
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 uinput -> ../../devices/virtual/misc/uinput
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 userfaultfd -> ../../devices/virtual/misc/userfaultfd
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vga_arbiter -> ../../devices/virtual/misc/vga_arbiter
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 zfs -> ../../devices/virtual/misc/zfs

./mmc_host:
total 0

./msr:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 msr0 -> ../../devices/virtual/msr/msr0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 msr1 -> ../../devices/virtual/msr/msr1

./nd:
total 0

./net:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 enp1s0 -> ../../devices/pci0000:00/0000:00:04.0/0000:01:00.0/net/enp1s0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 lo -> ../../devices/virtual/net/lo
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 wlx0002728d7f31 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx0002728d7f31

./pci_bus:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 0000:00 -> ../../devices/pci0000:00/pci_bus/0000:00
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 0000:01 -> ../../devices/pci0000:00/0000:00:04.0/pci_bus/0000:01
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 0000:02 -> ../../devices/pci0000:00/0000:00:14.4/pci_bus/0000:02
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 0000:03 -> ../../devices/pci0000:00/0000:00:15.0/pci_bus/0000:03
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 0000:04 -> ../../devices/pci0000:00/0000:00:15.2/pci_bus/0000:04

./pci_epc:
total 0

./phy:
total 0

./powercap:
total 0

./power_supply:
total 0

./ppdev:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 parport0 -> ../../devices/pnp0/00:04/ppdev/parport0

./ppp:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ppp -> ../../devices/virtual/ppp/ppp

./pps:
total 0

./printer:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 lp0 -> ../../devices/pnp0/00:04/printer/lp0

./ptp:
total 0

./pwm:
total 0

./rapidio_port:
total 0

./rc:
total 0

./regulator:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 regulator.0 -> ../../devices/platform/reg-dummy/regulator/regulator.0

./remoteproc:
total 0

./rfkill:
total 0

./rtc:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 rtc0 -> ../../devices/pnp0/00:06/rtc/rtc0

./scsi_device:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 0:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/scsi_device/0:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 1:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 2:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 3:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/scsi_device/3:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 6:0:0:0 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0

./scsi_disk:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 0:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 1:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 2:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 3:0:0:0 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/scsi_disk/3:0:0:0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 6:0:0:0 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0

./scsi_generic:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sg0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/scsi_generic/sg0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sg1 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sg2 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/scsi_generic/sg2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sg3 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/scsi_generic/sg3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 sg4 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg4

./scsi_host:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host0 -> ../../devices/pci0000:00/0000:00:11.0/ata1/host0/scsi_host/host0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host1 -> ../../devices/pci0000:00/0000:00:11.0/ata2/host1/scsi_host/host1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host2 -> ../../devices/pci0000:00/0000:00:11.0/ata3/host2/scsi_host/host2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host3 -> ../../devices/pci0000:00/0000:00:11.0/ata4/host3/scsi_host/host3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host4 -> ../../devices/pci0000:00/0000:00:11.0/ata5/host4/scsi_host/host4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host5 -> ../../devices/pci0000:00/0000:00:11.0/ata6/host5/scsi_host/host5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 host6 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/host6/scsi_host/host6

./sound:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 card0 -> ../../devices/pci0000:00/0000:00:01.1/sound/card0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 card1 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 controlC0 -> ../../devices/pci0000:00/0000:00:01.1/sound/card0/controlC0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 controlC1 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/controlC1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 hwC0D0 -> ../../devices/pci0000:00/0000:00:01.1/sound/card0/hwC0D0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 hwC1D0 -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/hwC1D0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 pcmC0D3p -> ../../devices/pci0000:00/0000:00:01.1/sound/card0/pcmC0D3p
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 pcmC1D0c -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/pcmC1D0c
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 pcmC1D0p -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/pcmC1D0p
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 pcmC1D2c -> ../../devices/pci0000:00/0000:00:14.2/sound/card1/pcmC1D2c
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 seq -> ../../devices/virtual/sound/seq
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 timer -> ../../devices/virtual/sound/timer

./spi_master:
total 0

./spi_slave:
total 0

./thermal:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1

./tpm:
total 0

./tpmrm:
total 0

./tty:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 console -> ../../devices/virtual/tty/console
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ptmx -> ../../devices/virtual/tty/ptmx
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty -> ../../devices/virtual/tty/tty
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty0 -> ../../devices/virtual/tty/tty0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty1 -> ../../devices/virtual/tty/tty1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty10 -> ../../devices/virtual/tty/tty10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty11 -> ../../devices/virtual/tty/tty11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty12 -> ../../devices/virtual/tty/tty12
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty13 -> ../../devices/virtual/tty/tty13
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty14 -> ../../devices/virtual/tty/tty14
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty15 -> ../../devices/virtual/tty/tty15
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty16 -> ../../devices/virtual/tty/tty16
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty17 -> ../../devices/virtual/tty/tty17
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty18 -> ../../devices/virtual/tty/tty18
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty19 -> ../../devices/virtual/tty/tty19
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty2 -> ../../devices/virtual/tty/tty2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty20 -> ../../devices/virtual/tty/tty20
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty21 -> ../../devices/virtual/tty/tty21
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty22 -> ../../devices/virtual/tty/tty22
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty23 -> ../../devices/virtual/tty/tty23
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty24 -> ../../devices/virtual/tty/tty24
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty25 -> ../../devices/virtual/tty/tty25
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty26 -> ../../devices/virtual/tty/tty26
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty27 -> ../../devices/virtual/tty/tty27
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty28 -> ../../devices/virtual/tty/tty28
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty29 -> ../../devices/virtual/tty/tty29
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty3 -> ../../devices/virtual/tty/tty3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty30 -> ../../devices/virtual/tty/tty30
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty31 -> ../../devices/virtual/tty/tty31
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty32 -> ../../devices/virtual/tty/tty32
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty33 -> ../../devices/virtual/tty/tty33
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty34 -> ../../devices/virtual/tty/tty34
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty35 -> ../../devices/virtual/tty/tty35
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty36 -> ../../devices/virtual/tty/tty36
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty37 -> ../../devices/virtual/tty/tty37
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty38 -> ../../devices/virtual/tty/tty38
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty39 -> ../../devices/virtual/tty/tty39
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty4 -> ../../devices/virtual/tty/tty4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty40 -> ../../devices/virtual/tty/tty40
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty41 -> ../../devices/virtual/tty/tty41
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty42 -> ../../devices/virtual/tty/tty42
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty43 -> ../../devices/virtual/tty/tty43
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty44 -> ../../devices/virtual/tty/tty44
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty45 -> ../../devices/virtual/tty/tty45
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty46 -> ../../devices/virtual/tty/tty46
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty47 -> ../../devices/virtual/tty/tty47
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty48 -> ../../devices/virtual/tty/tty48
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty49 -> ../../devices/virtual/tty/tty49
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty5 -> ../../devices/virtual/tty/tty5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty50 -> ../../devices/virtual/tty/tty50
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty51 -> ../../devices/virtual/tty/tty51
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty52 -> ../../devices/virtual/tty/tty52
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty53 -> ../../devices/virtual/tty/tty53
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty54 -> ../../devices/virtual/tty/tty54
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty55 -> ../../devices/virtual/tty/tty55
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty56 -> ../../devices/virtual/tty/tty56
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty57 -> ../../devices/virtual/tty/tty57
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty58 -> ../../devices/virtual/tty/tty58
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty59 -> ../../devices/virtual/tty/tty59
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty6 -> ../../devices/virtual/tty/tty6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty60 -> ../../devices/virtual/tty/tty60
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty61 -> ../../devices/virtual/tty/tty61
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty62 -> ../../devices/virtual/tty/tty62
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty63 -> ../../devices/virtual/tty/tty63
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty7 -> ../../devices/virtual/tty/tty7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty8 -> ../../devices/virtual/tty/tty8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 tty9 -> ../../devices/virtual/tty/tty9
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyprintk -> ../../devices/virtual/tty/ttyprintk
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS0 -> ../../devices/pnp0/00:09/tty/ttyS0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS1 -> ../../devices/platform/serial8250/tty/ttyS1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS10 -> ../../devices/platform/serial8250/tty/ttyS10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS11 -> ../../devices/platform/serial8250/tty/ttyS11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS12 -> ../../devices/platform/serial8250/tty/ttyS12
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS13 -> ../../devices/platform/serial8250/tty/ttyS13
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS14 -> ../../devices/platform/serial8250/tty/ttyS14
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS15 -> ../../devices/platform/serial8250/tty/ttyS15
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS16 -> ../../devices/platform/serial8250/tty/ttyS16
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS17 -> ../../devices/platform/serial8250/tty/ttyS17
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS18 -> ../../devices/platform/serial8250/tty/ttyS18
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS19 -> ../../devices/platform/serial8250/tty/ttyS19
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS2 -> ../../devices/platform/serial8250/tty/ttyS2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS20 -> ../../devices/platform/serial8250/tty/ttyS20
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS21 -> ../../devices/platform/serial8250/tty/ttyS21
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS22 -> ../../devices/platform/serial8250/tty/ttyS22
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS23 -> ../../devices/platform/serial8250/tty/ttyS23
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS24 -> ../../devices/platform/serial8250/tty/ttyS24
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS25 -> ../../devices/platform/serial8250/tty/ttyS25
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS26 -> ../../devices/platform/serial8250/tty/ttyS26
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS27 -> ../../devices/platform/serial8250/tty/ttyS27
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS28 -> ../../devices/platform/serial8250/tty/ttyS28
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS29 -> ../../devices/platform/serial8250/tty/ttyS29
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS3 -> ../../devices/platform/serial8250/tty/ttyS3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS30 -> ../../devices/platform/serial8250/tty/ttyS30
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS31 -> ../../devices/platform/serial8250/tty/ttyS31
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS4 -> ../../devices/platform/serial8250/tty/ttyS4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS5 -> ../../devices/platform/serial8250/tty/ttyS5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS6 -> ../../devices/platform/serial8250/tty/ttyS6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS7 -> ../../devices/platform/serial8250/tty/ttyS7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS8 -> ../../devices/platform/serial8250/tty/ttyS8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 ttyS9 -> ../../devices/platform/serial8250/tty/ttyS9

./usbmisc:
total 0

./usb_role:
total 0

./vc:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcs -> ../../devices/virtual/vc/vcs
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcs1 -> ../../devices/virtual/vc/vcs1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcs2 -> ../../devices/virtual/vc/vcs2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcs3 -> ../../devices/virtual/vc/vcs3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcs4 -> ../../devices/virtual/vc/vcs4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcs5 -> ../../devices/virtual/vc/vcs5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcs6 -> ../../devices/virtual/vc/vcs6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcsa -> ../../devices/virtual/vc/vcsa
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcsa1 -> ../../devices/virtual/vc/vcsa1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsa2 -> ../../devices/virtual/vc/vcsa2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsa3 -> ../../devices/virtual/vc/vcsa3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsa4 -> ../../devices/virtual/vc/vcsa4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsa5 -> ../../devices/virtual/vc/vcsa5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsa6 -> ../../devices/virtual/vc/vcsa6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcsu -> ../../devices/virtual/vc/vcsu
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vcsu1 -> ../../devices/virtual/vc/vcsu1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsu2 -> ../../devices/virtual/vc/vcsu2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsu3 -> ../../devices/virtual/vc/vcsu3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsu4 -> ../../devices/virtual/vc/vcsu4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsu5 -> ../../devices/virtual/vc/vcsu5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 vcsu6 -> ../../devices/virtual/vc/vcsu6

./virtio-ports:
total 0

./vtconsole:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 vtcon0 -> ../../devices/virtual/vtconsole/vtcon0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 vtcon1 -> ../../devices/virtual/vtconsole/vtcon1

./wakeup:
total 0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/wakeup/wakeup0
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/wakeup/wakeup1
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup10 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:14/wakeup/wakeup10
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup11 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:15/wakeup/wakeup11
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup12 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:16/wakeup/wakeup12
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup13 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1e/wakeup/wakeup13
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup14 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:28/wakeup/wakeup14
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup15 -> ../../devices/pci0000:00/0000:00:15.0/wakeup/wakeup15
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup16 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:2a/wakeup/wakeup16
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup17 -> ../../devices/pci0000:00/0000:00:15.2/wakeup/wakeup17
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup18 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/wakeup/wakeup18
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup19 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/wakeup/wakeup19
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup2 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/wakeup/wakeup2
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup20 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/wakeup/wakeup20
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup21 -> ../../devices/pci0000:00/0000:00:12.2/wakeup/wakeup21
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup22 -> ../../devices/pci0000:00/0000:00:12.0/wakeup/wakeup22
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup23 -> ../../devices/pci0000:00/0000:00:13.2/wakeup/wakeup23
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup24 -> ../../devices/pci0000:00/0000:00:13.0/wakeup/wakeup24
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup25 -> ../../devices/pci0000:00/0000:00:14.5/wakeup/wakeup25
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup26 -> ../../devices/pnp0/00:08/wakeup/wakeup26
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup27 -> ../../devices/pnp0/00:06/wakeup/wakeup27
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup28 -> ../../devices/pnp0/00:06/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup28
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 wakeup29 -> ../../devices/pci0000:00/0000:00:10.0/wakeup/wakeup29
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup3 -> ../../devices/pci0000:00/0000:00:04.0/wakeup/wakeup3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:40 wakeup30 -> ../../devices/pci0000:00/0000:00:15.2/0000:04:00.0/wakeup/wakeup30
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup4 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1f/wakeup/wakeup4
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup5 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:21/wakeup/wakeup5
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup6 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:18/wakeup/wakeup6
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup7 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:19/wakeup/wakeup7
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup8 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1a/wakeup/wakeup8
0 lrwxrwxrwx 1 root root 0 Jan 28 10:39 wakeup9 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1b/wakeup/wakeup9

./watchdog:
total 0

./wmi_bus:
total 0
a@a:/sys/class$ 
a@a:/sys/class$ ls -Rls | grep 1-3
0 lrwxrwxrwx 1 root root 0 Jan 28 10:41 wlx0002728d7f31 -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx0002728d7f31
a@a:/sys/class$ 

C est sous ./net

Dernière modification par geole (Le 28/01/2024, à 17:00)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#19 Le 28/01/2024, à 16:52

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Merci pour tes retours. C'est étrange et je ne trouve aucune explication. Je suppose que le pilote de la carte WIfi (clé USB ?) omet de créer le lien symbolique de /sys/class/ieee80211/phyX vers /sys/clas/devices/pci000****/***/***/***

Ces pilotes rtl*** c'est du micrologiciel non-libre, donc aucun contrôle dessus…
De fait, ma proposition pour lister les noms des interfaces WiFi n'est pas bonne puisqu'elle ne semble pas universelle.


Effectivement on peut voir cela avec la liste des périphériques réseau :

ls -l /sys/class/net

Mais je ne sais pas comment filtrer ceux qui font du WiFi. Avec un nom qui romance par w ?


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#20 Le 28/01/2024, à 16:57

geole

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Oui c'est bien une clé usb. Il faudrait que je la débranche pour lire sa référence .


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#21 Le 28/01/2024, à 17:04

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

https://www.freedesktop.org/software/sy … cheme.html

Les noms prévisibles commençant toujours par wl ou ww, on peut filtrer cette commande wink

Un truc dans ce style ?

for interface in /sys/class/net/w[l,w]*; do interface=${interface##*/};echo $interface; done

Dernière modification par bruno (Le 28/01/2024, à 17:06)


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne

#22 Le 28/01/2024, à 17:24

Astrolivier

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

chat qui pète a écrit :

d'où vient la dénomination de cette clef wifi sous linux "wlx0002728d7f31 "
ChatGPT

La dénomination d'une clé WiFi sous Linux, telle que "wlx0002728d7f31", suit généralement la convention d'attribution de noms aux interfaces réseau dans le noyau Linux, et plus précisément avec l'utilisation de l'outil systemd-udevd.

Dans ce cas particulier :

    "wlx" peut être une abréviation de "Wireless Local Area Network" (Réseau local sans fil).
    "0002728d7f31" est généralement une partie de l'adresse MAC (Media Access Control) de l'interface réseau WiFi. La partie "0002728d7f31" représente l'adresse MAC unique attribuée à cette interface spécifique.

L'utilisation de cette convention vise à rendre les noms d'interfaces réseau plus explicites et informatifs, permettant aux utilisateurs de reconnaître facilement le type d'interface et son adresse MAC associée. Cela est particulièrement utile dans les environnements avec plusieurs interfaces réseau, où il est important de différencier les interfaces filaires et sans fil, ainsi que d'identifier chaque interface de manière unique.

Il est important de noter que la dénomination spécifique peut varier en fonction de la distribution Linux utilisée et de la manière dont elle configure ses outils de gestion des périphériques réseau.
User
pourquoi cette clef wifi se trouve dans "/sys/class/net" et non dans "/sys/class/ieee80211"
ChatGPT

L'emplacement d'une interface réseau dans le répertoire "/sys/class/net" plutôt que dans "/sys/class/ieee80211" est une convention de dénomination utilisée par le noyau Linux pour organiser les différents types d'interfaces réseau.

Le répertoire "/sys/class/net" contient des répertoires pour toutes les interfaces réseau détectées par le noyau, indépendamment du type (filaire ou sans fil). Cela inclut les interfaces Ethernet (filaire), les interfaces WiFi, les interfaces Bluetooth, etc. Ce répertoire fournit un moyen cohérent de lister toutes les interfaces réseau disponibles sur le système.

D'autre part, "/sys/class/ieee80211" est généralement utilisé pour les interfaces réseau sans fil spécifiquement conformes à la norme IEEE 802.11 (WiFi). Cependant, cette convention n'est pas aussi largement utilisée que "/sys/class/net", et toutes les distributions Linux ne suivent pas nécessairement cette structure.

En résumé, l'utilisation de "/sys/class/net" pour toutes les interfaces réseau simplifie la gestion et l'accès aux informations liées aux interfaces, indépendamment de leur type. Cela offre une approche plus généralisée et cohérente pour l'administration des interfaces réseau dans le système Linux.

@ geole : aussi un truc qui m'étonne dans ton wificheck c'est que tu n'as pas de retour pour rfkill , pas d'erreur pour autant (#30 de wificheck)


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#23 Le 28/01/2024, à 17:34

nany

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

bruno a écrit :
for … w[l,w]*; do … done

Ne voulais-tu pas mettre des accolades plutôt que des crochets ?

Hors ligne

#24 Le 28/01/2024, à 17:37

Watael

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

c'est soit des accolades avec une (ou plusieurs) virgule, soit des crochets sans virgule.

bien vu, nany !

Dernière modification par Watael (Le 28/01/2024, à 17:38)


Connected \o/
Welcome to sHell. · eval is evil.

Hors ligne

#25 Le 28/01/2024, à 17:55

bruno

Re : [Résolu]Mettre plusieurs occurence de grep dans une variable

Franchement les approximations, pour ne pas dire les inventions ou les âneries, de CHatGPT, c'est vraiment une dépense d'énergie inutile…

Connerie numérique a écrit :

D'autre part, "/sys/class/ieee80211" est généralement utilisé pour les interfaces réseau sans fil spécifiquement conformes à la norme IEEE 802.11 (WiFi). Cependant, cette convention n'est pas aussi largement utilisée que "/sys/class/net", et toutes les distributions Linux ne suivent pas nécessairement cette structure.

L'utilisation d'un lien symbolique dans /sys/class/ieee80211 ne dépend pas de la distribution mais du pilote (autrement du module du noyau) du périphérique Wifi. Lire https://www.kernel.org/doc/html/latest/ … 80211.html
Les distributions à ma connaissance ne s'amusent pas à modifier ou a patcher des pilotes, surtout pour y introduire des bogues. Je ne pense pas non plus qu'elle modifient la structure du sysfs créé et peuplé par le noyau.
Dans la cas de geole je pense que c'est le micrologiciel propriétaire (/lib/firmware/rtlwifi/rtl8712u.bin) qui est bogué puisque le répertoire ieee80211 est bien créé mais pas le lien symbolique qu'il devrait contenir (d'après l'API du noyau).
Et toutes les interfaces Wifi jusqu’à aujourd'hui (Wifi 7 compris) sont conformes à la norme IEEE 802.11

Dernière modification par bruno (Le 28/01/2024, à 18:36)


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne