J
J
juffinhalli2013-11-14 22:03:27
ubuntu
juffinhalli, 2013-11-14 22:03:27

How to read Cyrillic FAT label of a partition in Linux?

Given: Flash drive formatted in Windows. The flash drive is named in Cyrillic - "Good deed"

Task Read the label of this FAT Partition in Linux

Tried like this:


[email protected]:~# blkid -s LABEL /dev/sdb1
/dev/sdb1: LABEL="M-^DM-^NM-^AM-^PM-^NM-^E M-^DM-^EM-^KM-^N"

PS I tried to overtake these krakozyabry from CP866 to Win1251 using iconv - without success.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
demiol, 2013-11-14
@juffinhalli

blkid -d -s LABEL /dev/sdb1|iconv -f cp866

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question