On 09/22/2012 05:53 PM, Per Jessen wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-09-22 16:42, Per Jessen wrote:
Carlos E. R. wrote:
AFAIK, disks are not named, but partitions are. When you create a filesystem you can assign a label, or do it later. Disks are named - sda, sdb, sdc etc. They have a name based on the time the bios sees them first. Actually, they're are given device names when they are discovered - for instance when you plug them in (USB etc), or when the driver is loaded (SCSI etc).
They are not "named" used as an action verb, you can not name a disk as sda if you so wish. You're right, "you" cannot name them, but the kernel can and does.
Just to confuse the matter further, all the kernel uses to know which device is which is the major and minor number. You can rename the device nodes to anything you want as long as you keep the same major and minor number, things will still work, the only thing that will fail is that programs won't know to look for your new name, but you could do mv /dev/sdc /dev/mydisk and then mount /dev/mydisk on some mount point Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org