Hi, I am trying to get the device name form the freebsd FreeBSD 8.1 computer.
I was told to type these commands:
when I do this I get the name of the device. Like Western Digital or Segate etc. I was looking towards the device reference name. I don't know the proper word to call it; like dao1, something like that. The reason is that I want to run a backup command to back up my current internal drive and copy it over to my external hard drive.
The example of the name is: /dev/ad0s1d. I don't get how I would know what ad0sld is? I want to know my internal hard drive and external hard drives device name under /dev/ so I can reference it properly. I would need to back up a.k.a. use dump to dump the files from my internal hard drive to my external hard drive.
However, I have know clue how to figure which is which. Is there a command to know what each device is referenced under, inside /dev/?
I was told to type these commands:
# grep da /var/run/dmesg.boot
# camcontrol devlist
when I do this I get the name of the device. Like Western Digital or Segate etc. I was looking towards the device reference name. I don't know the proper word to call it; like dao1, something like that. The reason is that I want to run a backup command to back up my current internal drive and copy it over to my external hard drive.
The example of the name is: /dev/ad0s1d. I don't get how I would know what ad0sld is? I want to know my internal hard drive and external hard drives device name under /dev/ so I can reference it properly. I would need to back up a.k.a. use dump to dump the files from my internal hard drive to my external hard drive.
However, I have know clue how to figure which is which. Is there a command to know what each device is referenced under, inside /dev/?