Labelling(?) a usb drive so that it mounts in a unique location
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Labelling(?) a usb drive so that it mounts in a unique location
Dear all,
I'm trying to label a samsung 1tb usb drive so that it mounts in a unique location. At present I've had some adventures that can't be undone, but what I have is this: An empty disk formatted in vfat (W95 FAT32). One primary partition. DOS compatibility mode set. All that done with fdisk. This drive was originally FAT32 when I bought it. I formatted it as ext3, but, when I did that Linux wouldn't auto-mount it.
Now in vfat again, it will automount it when I plug it in. But, it auto-mounts as /media/disk. Originally it mounted as /media/SAMSUNG. If it mounted as a unique name (/media/SAMSUNG would be fine, but /media/users or something would also do), then this would be a big advantage. But, how do I do it?
If I, seemingly successfully, format the drive as ext3, then how do I modify automount to make it automount? We use both Gnome and KDE? I'm presuming that using a journaling file system would be safer as it would be easier to recover from any future disk corruption. Wrong?
OS: Fedora 8. I'm trying to install this disk so that I can upgrade to Fedora 12, have user directories on the usb drive, and only the OS, software, and temporary directories on the main hard drive. This should make it easier to upgrade in the future. But I need everything copied to the USB drive first.
gave me a vfat system that automounts on /media/SAMSUNG.
I can format the drive as ext3 no problem. But, no automounting when I plug the drive in. The drive should remain in more or less permanently (and be in during boot). But, how can I make it auto-mount in the correct place? If I give it a label, then I can add something to /etc/fstab, but will this apply when the drive is hot-plugged?
DESCRIPTION
The UUID library is used to generate unique identifiers for objects that may be accessible beyond the
local system. This library generates UUIDs compatible with those created by the Open Software Foundation
(OSF) Distributed Computing Environment (DCE) utility uuidgen.
The UUIDs generated by this library can be reasonably expected to be unique within a system, and unique
across all systems. They could be used, for instance, to generate unique HTTP cookies across multiple
web servers without communication between the servers, and without fear of a name clash.
A search for 'uuid' here on LQ produced some useful information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.