The following describes the two Representation Methods of the storage device in Linux. It is okay to send it out. I hope it will be helpful to some users who do not understand it. You can skip this step.
The following describes two Representation Methods for storage devices in Linux.
2. Two Representation Methods of hard disks on SATA and SCSI interfaces;
The solution is the same as the hard disk of the IDE interface, except that hd is replaced with sd;
For example, if one hard disk is/dev/hda or another hard disk is/dev/sda, the hard disk of/dev/sda should be sd0; the Representation Method (sd [0-n], y) for each partition is the same as the algorithm in the IDE interface. For example,/dev/sda1 is (sd0, 0 );
3. usb and 1394 Interface storage devices and soft drive devices;
Usb storage devices are also currently in the kernel in two driving methods, one is to simulate the SCSI hard disk, through fdisk-l is/dev/sd [0-N]; to simulate a SCSI device. Another representation of the usb storage device in Linux is the same as that of the SCSI and SATA mentioned above;
However, in the latest kernel version, we want to discard the simulated SCSI. The/dev/uba is similar when we use the storage settings of the fdisk column system. However, this driver is not mature at present, for example, the performance of large data volumes is unstable; in fact, the performance of USB interface storage devices in Linux is still relatively poor;
1394 Interface storage for backup and Simulation of SCSI in Linux. After fdisk-l is passed,/dev/sd [0-n] appears. for more information about the other representation method (sd [a-z], y), see the previous description. The storage devices with the 1394 Interface have excellent performance in Linux, if the USB storage performance is relative to the storage performance of the 1394 Interface, it should not be worth mentioning. We recommend that you purchase the 1394 Interface storage device;
In Linux, the drive is a/dev/floppy device. This is a general situation, and the other is fd0;
CDROM, DVDROM, and COMBO are usually/dev/hdc. See the following example, whether it is/dev/cdrom or/dev/dvd, finally, it points to/dev/hdc;
[root@localhost ~]# ls -la /dev/cdrom
lrwxrwxrwx 1 root root 3 2005-12-14 /dev/cdrom -> hdc
[root@localhost ~]# ls -la /dev/dvd
lrwxrwxrwx 1 root root 3 2005-12-14 /dev/dvd -> hdc
Click "Two Representation Methods of storage devices in Linux" below.