ubuntu 16.04. Change label extreme portable SSD

Peter Flynn peter at silmaril.ie
Tue Feb 2 11:59:49 UTC 2021


On 02/02/2021 10:36, Uwe Brauer wrote:
>   Sudo mount tells me
> 
> /dev/sdb1 on /media/oub/Extreme SSD type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
[...]
> What bothers me is the label, since it contains a space (sigh)
> 
> I googled but it is not entirely clear how to change the label name for
> this file format without damaging it.

AFAIK you can't change a disk label without reformatting it.
If you're using the command line, you should be able to out the whole 
path in quotes in order to copy everything off onto hard disk, eg

cd <destination directory>
tar c -C "/media/oub/Extreme SSD" . | tar xvfp -

(I don't know if cp -r handles spaces in directory names even when 
quoted, and there may be files on the disk that have space in their 
names too.)

Once all the data is safe, reformat the disk and give it an unspaces new 
label.

Peter




More information about the ubuntu-users mailing list