On 02/20/2014 08:17 PM, Felix Miata wrote:
On 2014-02-20 17:00 (GMT+0200) ellanios82 composed:
Carlos E. R. wrote:
Does "/dev/disk/scsi-1ATA_ST1000DM003-1CH162_Z1D8B9WD/sata01root" exist?
- what please is the command to determine what exists ?
Presumably you are trying to do this from a shell prompt instead of using a file manager in X, correct? You should try using an O.F.M. (e.g. midnight commander) to emulate a GUI file manager. So, the command would be:
mc
If this generates a command not found, then first do
zypper in mc
Now after starting mc, you navigate to /dev/disk/ using either normal shell cd/navigation syntax, or "graphically" using keyboard <enter> and navigation keys, where you will see:
by-id by-label by-path by-uuid
Any of the names ending with a number found in those 4 directories will be valid labels in fstab, as long as you remember to prepend the path to the name you see in each list.
If the quantity of names in by-label is shorter than in the others, it likely means volume labels have not been assigned to all volumes. You can assign names to filesystems listed in the other three using the YaST partitioner, or if using EXT2/3/4 filesystems using the tune2fs command, or for other filesystems using the tool appropriate for the filesystem.
e.g. for a 2TB samsung HD you might assign a label thus:
# tune2fs -L smsg2t02home /dev/sda2
Then your fstab entry could be
/dev/disk/by-label/smsg2t02home /home ext4 relatime,acl 1 2
Because you get to chose labels, you can remember and type them much easier than the much longer entries in by-id, by-path or by-uuid.
- many thanks regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org