LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2021, 05:32 PM   #16
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078

Smart admins know how to make labels unique enough to stay out of trouble. I generally make the last 3-4 digits of the device serial number, accessible without powering up the device, a component of each volume label. On mine, Linux native filesystems fstab entries are normally by a LABEL of 7-13 characters. Mounting here is by UUID only if I boot a new installation before editing its machine-generated fstab to rid it of UUIDs. I have hundreds of filesystems scattered about several dozen multi-multiboot PCs, and STBs, and frequently clone, normally without incident, easily fixed in those rare cases incident happens.
 
Old 11-04-2021, 05:51 PM   #17
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Yep, but a lot of people aren't that detailed. I do the same as you but allow the system to use the UUIDs it designates for a new install and use labels for everything else I add.

The serial number is only partially helpful if there are multiple partitions on the drive, and most don't have access to that data on home machines anyway.

Last edited by computersavvy; 11-04-2021 at 05:54 PM.
 
Old 11-04-2021, 07:10 PM   #18
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by computersavvy View Post
The serial number is only partially helpful if there are multiple partitions on the drive
Naturally. e.g. LABEL cH6Ep17f34, merely 10 characters (same count as a bazillion phone numbers) instead of 36, for
  • Brand: crucial
  • Serial: …H6E
  • partition:17
  • OS: fedora 34
This would not likely be as perplexing with an identical HD identically configured with F34 in an "identical" PC (with its unique HD serial #) as it would trying to determine whether every filesystem in every multiboot PC fstab is appropriately being mounted based upon randomly generated unique strings of 36 alphanumeric characters.

Quote:
most don't have access to that data on home machines anyway.
I disagree. IME, the physical label always matches the hardware info (unless no serial at all, in which case a model number or bar code number should suffice):
Code:
# hwinfo --disk | grep -i serial
  Serial ID: "<…>"
  Serial ID: "<…>"
  Serial ID: "<…>"
Thus the reason for selection of serial string as LABEL (identifier) portion.
 
  


Reply

Tags
disks



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive designations change randomly? (sda vs sdb vs sdc) haertig Linux - Software 9 08-17-2016 01:33 PM
repository designations plutek Studio 13.37 3 06-21-2013 07:21 PM
How To Make Linux Partition Letter/Number Designations Persistent? -kg- Linux - General 4 08-17-2010 06:45 AM
Confused about HDD designations in Linux jacatone Linux - Newbie 3 06-06-2008 02:42 PM
why my eth0 changed mac every time I reboot to FE:FF:FF and so on golpemortal Linux - Hardware 2 09-23-2007 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration