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 : 149 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 : 143 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 : 147 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 : 181 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 : 122 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 : 142 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 : 203 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...
Apa Kuasa Myeg Ke Atas Worldcoin

Major Projects Will Make Sarawak An Asian Economic Force Says Premier

Petua Kesihatan Untuk Orang Yang Sudah Berusia

Derma Jihad Untuk Siti Mastura Cubaan Normalisasi Fitnah Pas Patut Ajar Ahli Parti Dan Pimpinan Pas Jaga Bab Fitnah Ini

Police Arrest Two Over Fight Between Football Fans At Lrt Station

Kural Vista A Luxurious Waterfront Villa By Saota On Palm Jumeirah Dubai

5 Waktu Nabi Larang Ke Rumah Orang Ustaz Kazim Elias

Kawal Alergik Bila Alahan


echo '';
Info Dan Sinopsis Drama Berepisod Curang Tanpa Niat Slot Megadrama Astro Ria

5 Insiden Jalan Sesak Yang Berlaku Lebih 24 Jam Durasinya

Senarai Lagu Tugasan Konsert Minggu 6 Gegar Vaganza 2024 Musim 11

Keputusan Markah Peserta Konsert Minggu 5 Gegar Vaganza 2024 Musim 11

10 Filem Drama Seram Melayu Berhantu Terbaru 2024 2025 Mesti Tonton


Yuran Tabika Taska 2025 Kemas Sahkan Tiada Kenaikan Yuran

Nahas Jalan Raya Ayer Keroh Melaka Dua Beradik Belum Tahu Ibu Bapa Sudah Tiada

Geotapak Bukit Jernih Taman Rekreasi Bukit Jernih

Silent Night All Is Calm But A Genocide Is Taking Place Now

Resepi Ayam Cili Padi Bersantan Pedas Lemak Padu Gila

Tutup Pintu Belakang Buang Pintu Depan