How to find the Absolute device name
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I had a homework question which I answered correctly:
Use
lvdisplay
to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
The next question said:
Using the path discovered in the previous question, look at this path in the
/dev
directory using a long listingls
command. Assuming this is in fact a soft link, what is the absolute device name which this link is pointing to?
How do you find the Absolute device name on Linux?
All I got was this on Google:
ls
- list files in the file system.lsblk
- list the block devices (i.e. drives)lspci
- list the pci devices.lsusb
- list the USB devices.lsdev
- list all the devices.
linux devices
New contributor
add a comment |Â
up vote
0
down vote
favorite
I had a homework question which I answered correctly:
Use
lvdisplay
to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
The next question said:
Using the path discovered in the previous question, look at this path in the
/dev
directory using a long listingls
command. Assuming this is in fact a soft link, what is the absolute device name which this link is pointing to?
How do you find the Absolute device name on Linux?
All I got was this on Google:
ls
- list files in the file system.lsblk
- list the block devices (i.e. drives)lspci
- list the pci devices.lsusb
- list the USB devices.lsdev
- list all the devices.
linux devices
New contributor
1
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I had a homework question which I answered correctly:
Use
lvdisplay
to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
The next question said:
Using the path discovered in the previous question, look at this path in the
/dev
directory using a long listingls
command. Assuming this is in fact a soft link, what is the absolute device name which this link is pointing to?
How do you find the Absolute device name on Linux?
All I got was this on Google:
ls
- list files in the file system.lsblk
- list the block devices (i.e. drives)lspci
- list the pci devices.lsusb
- list the USB devices.lsdev
- list all the devices.
linux devices
New contributor
I had a homework question which I answered correctly:
Use
lvdisplay
to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
The next question said:
Using the path discovered in the previous question, look at this path in the
/dev
directory using a long listingls
command. Assuming this is in fact a soft link, what is the absolute device name which this link is pointing to?
How do you find the Absolute device name on Linux?
All I got was this on Google:
ls
- list files in the file system.lsblk
- list the block devices (i.e. drives)lspci
- list the pci devices.lsusb
- list the USB devices.lsdev
- list all the devices.
linux devices
linux devices
New contributor
New contributor
edited 52 secs ago
JdeBP
30.1k462138
30.1k462138
New contributor
asked 6 hours ago
Hunter12345
145
145
New contributor
New contributor
1
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago
add a comment |Â
1
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago
1
1
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
it depends on what kind of device you are looking for. for example for network devices you can search through /etc/network or /etc/sysconfig/network or if you want your system information you can search through /sys/class. for HDD information search through /dev. these kind of files in linux contains really useful information. as i said before , depend of what kind of device you are looking for, you can find all information you need.
New contributor
add a comment |Â
up vote
0
down vote
You have to list the device itself, for example:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Oct 5 11:12 /dev/cdrom -> sr0
The name after ->
represent the absolute device name
Works in this case but doesn't work for many devices./dev/dm-0
and/dev/st*
come to mind immediately. Do I actually have a serial device hooked to/dev/ttyS0
? etc.
â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
it depends on what kind of device you are looking for. for example for network devices you can search through /etc/network or /etc/sysconfig/network or if you want your system information you can search through /sys/class. for HDD information search through /dev. these kind of files in linux contains really useful information. as i said before , depend of what kind of device you are looking for, you can find all information you need.
New contributor
add a comment |Â
up vote
0
down vote
it depends on what kind of device you are looking for. for example for network devices you can search through /etc/network or /etc/sysconfig/network or if you want your system information you can search through /sys/class. for HDD information search through /dev. these kind of files in linux contains really useful information. as i said before , depend of what kind of device you are looking for, you can find all information you need.
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
it depends on what kind of device you are looking for. for example for network devices you can search through /etc/network or /etc/sysconfig/network or if you want your system information you can search through /sys/class. for HDD information search through /dev. these kind of files in linux contains really useful information. as i said before , depend of what kind of device you are looking for, you can find all information you need.
New contributor
it depends on what kind of device you are looking for. for example for network devices you can search through /etc/network or /etc/sysconfig/network or if you want your system information you can search through /sys/class. for HDD information search through /dev. these kind of files in linux contains really useful information. as i said before , depend of what kind of device you are looking for, you can find all information you need.
New contributor
New contributor
answered 6 hours ago
BlackCrystal
135
135
New contributor
New contributor
add a comment |Â
add a comment |Â
up vote
0
down vote
You have to list the device itself, for example:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Oct 5 11:12 /dev/cdrom -> sr0
The name after ->
represent the absolute device name
Works in this case but doesn't work for many devices./dev/dm-0
and/dev/st*
come to mind immediately. Do I actually have a serial device hooked to/dev/ttyS0
? etc.
â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
add a comment |Â
up vote
0
down vote
You have to list the device itself, for example:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Oct 5 11:12 /dev/cdrom -> sr0
The name after ->
represent the absolute device name
Works in this case but doesn't work for many devices./dev/dm-0
and/dev/st*
come to mind immediately. Do I actually have a serial device hooked to/dev/ttyS0
? etc.
â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You have to list the device itself, for example:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Oct 5 11:12 /dev/cdrom -> sr0
The name after ->
represent the absolute device name
You have to list the device itself, for example:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Oct 5 11:12 /dev/cdrom -> sr0
The name after ->
represent the absolute device name
answered 6 hours ago
Goro
8,25854282
8,25854282
Works in this case but doesn't work for many devices./dev/dm-0
and/dev/st*
come to mind immediately. Do I actually have a serial device hooked to/dev/ttyS0
? etc.
â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
add a comment |Â
Works in this case but doesn't work for many devices./dev/dm-0
and/dev/st*
come to mind immediately. Do I actually have a serial device hooked to/dev/ttyS0
? etc.
â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
Works in this case but doesn't work for many devices.
/dev/dm-0
and /dev/st*
come to mind immediately. Do I actually have a serial device hooked to /dev/ttyS0
? etc.â Doug O'Neal
6 hours ago
Works in this case but doesn't work for many devices.
/dev/dm-0
and /dev/st*
come to mind immediately. Do I actually have a serial device hooked to /dev/ttyS0
? etc.â Doug O'Neal
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
Didn't worked. The question says Using the path discovered in the previous question, look at this path in the /dev directory using a long listing ls command. Assuming this is in fact a soft link, what is the ABSOLUTE device name which this link is pointing to? The previous question that I answered correctly was Use lvdisplay to discover information about the VG Name found in the previous question. What is the first LV Path which is using the volume group discovered in the previous question?
â Hunter12345
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
@DougO'Neal you have to list a mounted device. Tty is not an actual device!
â Goro
6 hours ago
add a comment |Â
Hunter12345 is a new contributor. Be nice, and check out our Code of Conduct.
Hunter12345 is a new contributor. Be nice, and check out our Code of Conduct.
Hunter12345 is a new contributor. Be nice, and check out our Code of Conduct.
Hunter12345 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474581%2fhow-to-find-the-absolute-device-name%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
What is an "Absolute device name"?
â DopeGhoti
6 hours ago
@DopeGhoti I don't know what the homework question means by that as well any helps?
â Hunter12345
6 hours ago