Changing Storage Label On Linux


On Windows, you can simply right click on a device and rename it. On Linux in the other hands, you can use the following method:
During formatting, use let say if you want FAT as the filesystem:

Let say the device is located in /dev/sdc and I want it to be named as "najmi-archsight". Issue this command:
sudo mkfs.vfat  -I /dev/sdc -n "najmi-archsight"
While let say in the other hand, you already got a data inside and want to change the label, use dosfslabel:
1- If the device is mounted, unmount it first2- Issue this command:
Let say here I want to rename the device to "najmi-csm". The device is firstly mounted at /media/B807-ED09

najmi@vostro:~$ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5        47G   42G  3.1G  94% /
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           752M  1.4M  750M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.9G   88K  1.9G   1% /run/shm
/dev/sda6       173G  164G   12K 100% /home
/dev/sdb        2.0G  4.0K  2.0G   1% /media/najmi-archs
/dev/sdc        3.8G  2.5M  3.8G   1% /media/B807-ED09
 
Unmount first: najmi@vostro:~$ sudo umount /media/B807-ED09/
 
Label it: najmi@vostro:~$ sudo dosfslabel /dev/sdc "najmi-csm"
 
Check and plug back/mount the drive: najmi@vostro:~$ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5        47G   42G  3.1G  94% /
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           752M  1.4M  750M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.9G   88K  1.9G   1% /run/shm
/dev/sda6       173G  164G  4.0K 100% /home
/dev/sdb        2.0G  4.0K  2.0G   1% /media/najmi-archs
/dev/sdc        3.8G  2.5M  3.8G   1% /media/najmi-csm

As you can see, device /media/B807-ED09 was changed to /media/najmi-csm

Artikel ini hanyalah simpanan cache dari url asal penulis yang berkebarangkalian sudah terlalu lama atau sudah dibuang :

http://mint-my.blogspot.com/2012/07/changing-storage-label-on-linux.html

Kempen Promosi dan Iklan
Kami memerlukan jasa baik anda untuk menyokong kempen pengiklanan dalam website kami. Serba sedikit anda telah membantu kami untuk mengekalkan servis percuma aggregating ini kepada semua.

Anda juga boleh memberikan sumbangan anda kepada kami dengan menghubungi kami di sini
Faedah Jika Menggunakan Linux

Faedah Jika Menggunakan Linux

papar berkaitan - pada 12/11/2021 - jumlah : 176 hits
LinuxSalam semua Seriously blur Takde idea nak update apa hari ni Semalam macam macam draf ditulis dalam telefon Laaa Rupa rupanya tajuk tajuk lagu yang nak dicari kemudian Adeh Fikir punya fikir akhir sekali tergerak hati untuk cari balik ...
Convert M4v To Mp4 Massively In Ubuntu Linux 16 04

Convert M4v To Mp4 Massively In Ubuntu Linux 16 04

papar berkaitan - pada 12/11/2021 - jumlah : 175 hits
As ffmpeg compilation might varies by default in your distro this one is tested on 16 04 Else you can happily recompile ffmpeg from git with your preferred flagfor i in ls 1 m4v do ffmpeg i i acodec copy vcodec copy basename i m4v mp4 doneY...
Windows Malware Detection On Linux Host

Windows Malware Detection On Linux Host

papar berkaitan - pada 12/11/2021 - jumlah : 176 hits
My favoriate workstation is Linux but I need to analyze Windows malware The are several options such as listed On Ubuntu for example we can simply type sudo apt get install clamav F prot also provides a free Linux host antivirus to analyze ...
Creating Human Friendly Timestamp For Linux History

Creating Human Friendly Timestamp For Linux History

papar berkaitan - pada 12/11/2021 - jumlah : 214 hits
HISTTIMEFORMAT d m y T Output 2031 29 06 15 21 54 31 ps uanx grep i bbb 2032 29 06 15 21 54 40 nmap localhost 2033 29 06 15 21 55 11 history
Linux Mint 13 Maya Released

Linux Mint 13 Maya Released

papar berkaitan - pada 12/11/2021 - jumlah : 152 hits
Linux Mint 13 codename Maya was just released last week It is based on Ubuntu 12 04 LTS which means it will be supported until year 2017 More info can be read Which regards to the comparison of it s interface MATE and Cinnamon can be read F...
Using Regexp In Linux Commands

Using Regexp In Linux Commands

papar berkaitan - pada 12/11/2021 - jumlah : 176 hits
What if you have several files with same name but different extension and you want to choose only few files and leave the rests See the example here Create several files najmi vostro test touch aku png aku jpg aku txtCheck najmi vostro test...
Wow Linux Command Line Segera Hadir Di Windows 10

Wow Linux Command Line Segera Hadir Di Windows 10

papar berkaitan - pada 11/11/2021 - jumlah : 237 hits
Melalui Event Build 2016 lalu Microsoft telah mengumumkan bekerja samanya dengan Canonical agar dapat membawa Linux Command Line ke built in Windows 10 Dengan hadirnya Bash shell ke Windows tentu saja menjadi kabar yang sangat mengejutkan d...
Tim Leissner Najib Razak Dan 1mdb Kenapa Peguam Negara Berdiam Diri

Setiausha Agong Veteran Umno

The Transformative Practice Of Yoga Cultivating Mind Body And Soul

Thailand Piyamit Tunnel Terowong Persembunyian Komunis Di Betong

Ai As A Career Catalyst Turning Job Displacement Fears Into Employment Opportunities

Anwar Congratulates Catholics Worldwide On Pope Leo S Election

Gangguan Bekalan Air Dah Okay

Muat Turun Template Buku Program Hari Guru


echo '';
Info Dan Sinopsis Drama Berepisod Dendam Seorang Madu Slot Tiara Astro Prima

10 Fakta Biodata Amira Othman Yang Digosip Dengan Fattah Amin Penyanyi Lagu Bila Nak Kahwin

5 Tips Macam Mana Nak Ajak Orang Kita Suka Dating Dengan Kita

Info Dan Sinopsis Drama Berepisod Keluarga Itu Slot Lestary TV3

Bolehkah Manusia Transgender Mencapai Klimaks Selepas Bertukar


Misteri Lori Bergerak Tanpa Pemandu

Xiaomi Jenama Telefon Pintar No 1 Di Malaysia

Aktivis Saran Bekukan Aset Penceroboh Haram Musang King Raub Kembalikan Hasil Kepada Kerajaan Pahang

Penting Untuk Pengguna Cimb Tiada Lagi Sms Transaksi Mulai 17 Mei

Casa En La Laguna By A4estudio A Sculptural Retreat Overlooking Laguna Blanca

We Re In Business As Usual Says Sapura Energy