[opensuse] fstab in opensuse 11.1
Until opensuse 11 fstab use the device designations like /dev/sda1, now since opensuse 11.1 the Device ID is the default (I know I can change the default). 1. I am aware of the problems associated with the old device designation mainly with the use of multiple drive, removal media changing locations etc. 2. I though the future was going to be UUID Q1. what are the benefits of using Device ID vs UUID? Q2. is there a command line to get the device ID? Now I just open the partitioner and I get it from there. I know the vol_id for example provides the UUID. vol_id is not in the distro but blkid is and it provides that info. Q3. I use sata drives. I post the info of one drive first partition /boot. fstab uses the ata device ID 1 why? what happens if you use the scsi-SATA? --------------------------------- Device******************* Device: /dev/sdc1 Size: 1.00 GB Device Path: pci-0000:00:08.0-scsi-0:0:0:0-part1 Device ID 1: ata-WDC_WD3000GLFS-01F8U0_WD-WXL508071263-part1 Device ID 2: scsi-SATA_WDC_WD3000GLFS-_WD-WXL508071263-part1 Used By: FS Id: 0x83 Linux native File System:************* File System: Ext2 Mount Point: Mount By: UUID: cbe61f8c-a331-4443-8f38-066c1ba98c2e Label: Encrypted: No ----------------------------------------------------- Thxs -=terry=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-01-10 at 16:17 -0700, Teruel de Campo MD wrote:
Until opensuse 11 fstab use the device designations like /dev/sda1, now since opensuse 11.1 the Device ID is the default (I know I can change the default).
It has changed some time ago, AFAIK.
2. I though the future was going to be UUID
Q1. what are the benefits of using Device ID vs UUID?
Dunno. The UUID is generated when you initialize the disk (so a non formatted partition has none), but the ID contains a reference to the physical device and partition. It depends on your needs.
Q2. is there a command line to get the device ID?
ls /dev/disk/by-id/ or by-uuid, or by-label. They are symlinks, you can easily see what they point to. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklpOTkACgkQtTMYHG2NR9W7/wCdHvcNmHLVttHZCY/W8KqCuN+I Qi8AnAjmlvrQ0GoWffVgJBTqM3S7h5Zu =uIyg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2009-01-11 at 01:11 +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday, 2009-01-10 at 16:17 -0700, Teruel de Campo MD wrote:
Until opensuse 11 fstab use the device designations like /dev/sda1, now since opensuse 11.1 the Device ID is the default (I know I can change the default).
It has changed some time ago, AFAIK.
2. I though the future was going to be UUID
Q1. what are the benefits of using Device ID vs UUID?
Dunno. The UUID is generated when you initialize the disk (so a non formatted partition has none), but the ID contains a reference to the physical device and partition.
It depends on your needs.
Q2. is there a command line to get the device ID?
ls /dev/disk/by-id/
or by-uuid, or by-label. They are symlinks, you can easily see what they point to.
- -- Cheers, Carlos E. R. Thxs, Carlos.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Teruel de Campo MD