LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-27-2018, 09:10 AM   #1
jhedge
LQ Newbie
 
Registered: Dec 2018
Location: Texas
Distribution: Suse 15 server
Posts: 2

Rep: Reputation: Disabled
How to change the mount name using a USB


Hi Folks,

Just loaded SUSE interpreter 15.
I have a removable USB drive that I use to backup on a older SUSE 11.4 system.

What I noticed is that the USB uses a /run/media/root/652Fxxxxxxxxxxxxxxxxxxx. Very long description.
Every time I put in a new cartridge it changes.

In my older system I had a mount point of /dev/sdb1/Media/QuikStor_TB__ which would never change.
I had created in using the partitioner a formated each removable disk with this mount.

Would like all of the removable disks to be work the same.

Each disk represent a day mon-Fri.

How can I do this in SUSE 15?

Thanks for your help,

Jim
 
Old 12-27-2018, 09:18 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I use gparted and lable (some of) my stuff, it too can be done with fdisk I think, and perhaps a few other cli command programs, but putting a lable on it like, backup_disk or whatever then the lable will show up instead of all of the random numbering it gets if it does not have a lable.
 
Old 12-27-2018, 09:46 AM   #3
jhedge
LQ Newbie
 
Registered: Dec 2018
Location: Texas
Distribution: Suse 15 server
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi BW-Userx,

Thanks for your reply.

The commands gparted and lable don't seem to exists in SUSE 15 but the fdisk using the -l does.

But how do I use?

Thanks!

jim
 
Old 12-27-2018, 10:31 AM   #4
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by jhedge View Post
The commands gparted and lable don't seem to exists in SUSE 15
gparted can also be called parted (non-graphical) and the "label" command depends on the file system, used ON the USB stick (like e2label for ext2/3/4, fatlabel for a (v)fat fs, ntfslabel for ntfs, of course).
 
Old 12-27-2018, 10:51 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,138

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You can set where things should be mounted by creating a suitable mount point and editing /etc/fstab to get it used. I have this line in fstab:
Code:
/dev/sdb1      /media/usb    auto     rw,user,noauto,exec,noatime,nodiratime   0      0
That ensures that the usb device will be mounted in /media/usb (created with mkdir) and that its filing system will be automatically detected. If I were in the habit of using two usb sticks, I'd add a line for /dev/sdc1 and mount them on /media/usb1 and /med/usb2.
 
Old 12-27-2018, 11:49 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
its a simple plug in usb stick, start gparted, select partition, right click on it, manage Lables, add name, click check mark,
though pluging in usb sticks and mounting them in fstab like posted is not a bad idea either.
 
  


Reply



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
[SOLVED] click on file name to change the name... ArtKautz Linux - Software 7 07-18-2016 04:58 PM
[SOLVED] unable to mount a usb flash drive and an SD card after changing mount directory name remn Linux - Newbie 24 10-24-2015 03:04 PM
name change in /etc/hosts and reboot doesnt change name aussieaubs Linux - Newbie 5 06-26-2009 08:40 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM
Change the Trash Name to Different Desired Name on Desktop lennysokol Linux - General 2 05-16-2005 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 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