Skip to main content
added 1 character in body
Source Link
slm
  • 380.1k
  • 127
  • 793
  • 897

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

Is there any significance in the names?

I believe the names are driven from the systemssystem's motherboard chipset + the devices themselves.

For example on my system, my /dev/sda device = /dev/disk/by-path/pci-0000:00:01.1-ata-1.0, the numbers are the "coordinates" of where this device resides in the PCI bus (pci-0000:00:01.1) and the ata-1.0 corresponds with the Linux "drivers" that are being used to manage the device.

Here's another one that's for the /dev/ttyUSB0 device - /dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0-port0. This one shows the PCI bus but its the USB driver which is the "driver" for this device.

References

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

Is there any significance in the names?

I believe the names are driven from the systems motherboard chipset + the devices themselves.

For example on my system, my /dev/sda device = /dev/disk/by-path/pci-0000:00:01.1-ata-1.0, the numbers are the "coordinates" of where this device resides in the PCI bus (pci-0000:00:01.1) and the ata-1.0 corresponds with the Linux "drivers" that are being used to manage the device.

Here's another one that's for the /dev/ttyUSB0 device - /dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0-port0. This one shows the PCI bus but its the USB driver which is the "driver" for this device.

References

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

Is there any significance in the names?

I believe the names are driven from the system's motherboard chipset + the devices themselves.

For example on my system, my /dev/sda device = /dev/disk/by-path/pci-0000:00:01.1-ata-1.0, the numbers are the "coordinates" of where this device resides in the PCI bus (pci-0000:00:01.1) and the ata-1.0 corresponds with the Linux "drivers" that are being used to manage the device.

Here's another one that's for the /dev/ttyUSB0 device - /dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0-port0. This one shows the PCI bus but its the USB driver which is the "driver" for this device.

References

added 643 characters in body
Source Link
slm
  • 380.1k
  • 127
  • 793
  • 897

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

Is there any significance in the names?

I believe the names are driven from the systems motherboard chipset + the devices themselves.

For example on my system, my /dev/sda device = /dev/disk/by-path/pci-0000:00:01.1-ata-1.0, the numbers are the "coordinates" of where this device resides in the PCI bus (pci-0000:00:01.1) and the ata-1.0 corresponds with the Linux "drivers" that are being used to manage the device.

Here's another one that's for the /dev/ttyUSB0 device - /dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0-port0. This one shows the PCI bus but its the USB driver which is the "driver" for this device.

References

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

References

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

Is there any significance in the names?

I believe the names are driven from the systems motherboard chipset + the devices themselves.

For example on my system, my /dev/sda device = /dev/disk/by-path/pci-0000:00:01.1-ata-1.0, the numbers are the "coordinates" of where this device resides in the PCI bus (pci-0000:00:01.1) and the ata-1.0 corresponds with the Linux "drivers" that are being used to manage the device.

Here's another one that's for the /dev/ttyUSB0 device - /dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0-port0. This one shows the PCI bus but its the USB driver which is the "driver" for this device.

References

added 82 characters in body
Source Link
slm
  • 380.1k
  • 127
  • 793
  • 897

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

References

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

DEVLINKS are unique names for a given device. In this case this is a a mass storage device, mmcblk0. The 2 DEVLINKS that this command is returning can be used when you want to address this storage device to query against it or reconfigure it.

You'll typically see devices go by multiple names, in this case the SD card is identifying itself as (by-id) mmc-008G30_0xf281d20d. The by-path typically shows where the device maps into your system's busses (think USB, PCI, etc).

References

Source Link
slm
  • 380.1k
  • 127
  • 793
  • 897
Loading