Use devlabel-Linux Release Technology-debian information In Debian or ubuntu. The following is a detailed description. In the past, I usually mount a hard disk under linux based on the device name, such as/dev/hda and/dev/sda1. In this way, redhat still hangs Based on the LABEL, this was once very prone to problems. For example, if you add a hard disk with linux installed, you will know from which LABEL the Redhat system starts the system.
There is also a problem from the device name. If it is a local hardware device, it is okay to say, but there may also be different order of connection, resulting in the entire error.
If it is iscsi, there may be more problems. After the connection is canceled and then reconnected, the order and number of/dev/sda/dev/sdb may change, other things based on this will be messy. Therefore, it is right to differentiate and mount a device based on its unique identifier.
This id should be uuid. There is a devlabel under Redhat that can use this unique identifier for access to storage devices. This program also supports bare devices/dev/raw, which is a little better than programs such as blkid in e2fsprogs, this is because partitions that only support e2fs formatting are supported.
There is no built-in devlabel under debian. In addition, the description of devlabel is displayed, and the 2.6 kernel still uses udev.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.