Sdcard label, command line help

I added a sd card to my vero4k and it appears as ‘media /6636-6231’
How do I change the sdcard label/id to something like ‘sd128’?
What ssh command will give me OS version info? (as shown below)
On Wiki page for Transferring and editing files - is the section ‘What you shouldn’t keep on your SD card’ referring to the external sdcard?


fyi - some info about my Vero4k:

OS info: 2018-02-1 osmc

fstab contents:
#/rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remou$
#/dev/vero-nand/root / ext4 defaults,noatime 0 0

sda 8:0 1 29.9G 0 disk
└─sda1 8:1 1 29.9G 0 part /media/USB32 SILVR
mmcblk0 179:0 0 14.6G 0 disk
mmcblk0boot0 179:32 0 4M 0 disk
mmcblk0boot1 179:64 0 4M 0 disk
mmcblk0rpmb 179:96 0 4M 0 disk
mmcblk1 179:128 0 119.1G 0 disk
└─mmcblk1p1 179:129 0 119.1G 0 part /media/6636-6231

How is the card formatted?

Normally the volumes label name is used for the mount point.

I am noob;-( What command tells me the format?
fyi - I put the card (new sandisk) in the slot and it appeared as automounted. I have ftp’d files to it (and played them).

You can change the label by putting the card into a Windows machine. Just right-click anywhere on the root directory of the card and you will see the label and can change it. A Mac would be similar.

It’s also possible using command line on the Vero 4K, but a regular desktop would likely be easier for you.

It’s probably ExFAT then.

mount would be the command to make sure.

Easiest way to label it would be to plug it into a PC and label it there. Then plug it back into the 4K.

Thanks! fyi… I am in process of switching from Win10 to Linux Mint. I’d like to learn how to make this change via ssh. I’ll google for info on using mount and try that.

Gparted is your friend :wink: That’s what I use on Mint. And congrats on the major upgrade to Mint!!!

(EDIT: gparted on LM, not on the 4K as there is no X server running :wink: )

exfatlabel is the command you want on the Vero 4K.

The “device” should be “/dev/mmcblk1p1”, so, something like:

umount /dev/mmcblk1p1
exfatlabel /dev/mmcblk1p1 "New Label"

Then, eject the card and re-insert it, and it will re-mount.

THANKS! That worked perfectly.