Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So basically in this scenerio you replace the occurances of /some/mount/point with the mount point you intend to use for, again using this example, hdaX
(where X here and above will be a number specifying the partition.)
As of what does it do, well nothing other than make things look cleaner and robust, rather than using device names, you can use a word so to speak.
Any partitions that are 'Linux' may have a label.
You can see the label with 'e2label'. Again, as root,
e2label /dev/hda1 (sub your valid ext2/3 partition)
The value of using labels is that as long as they are unique, the physical device name becomes irrelevant for the purpose of mounting partitions at particular mountpoints. If you connected a disk as, say, primary IDE slave (hdb), and then moved it to a secondary master (hdc), the labels would insulate you against having to modify fstab entries for the ext2/3 partitions on that drive.
So basically in this scenerio you replace the occurances of /some/mount/point with the mount point you intend to use for, again using this example, hdaX
(where X here and above will be a number specifying the partition.)
As of what does it do, well nothing other than make things look cleaner and robust, rather than using device names, you can use a word so to speak.
The label applied does not have to be a mountpoint. You can label the partition with arbitrary names. Using the name of the original mountpoint is one convention. There is probably some subset of characters that are allowed, but of course, prudence would dictate the use of 'sane' characters. There is a 16 character length limit.
The label applied does not have to be a mountpoint. You can label the partition with arbitrary names. Using the name of the original mountpoint is one convention. There is probably some subset of characters that are allowed, but of course, prudence would dictate the use of 'sane' characters. There is a 16 character length limit.
--- rod.
Quote:
Originally Posted by DrOzz
So basically in this scenerio you replace the occurances of /some/mount/point with the mount point you intend to use for, again using this example, hdaX
(where X here and above will be a number specifying the partition.)
As of what does it do, well nothing other than make things look cleaner and robust, rather than using device names, you can use a word so to speak.
Look at what I said in bold. I didn't say it has to be a mount point, I dummied it down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.