How do I rename a mounted Truecrypt volume?
Posted
by
invert
on Ask Ubuntu
See other posts from Ask Ubuntu
or by invert
Published on 2010-10-15T08:26:15Z
Indexed on
2012/12/14
11:21 UTC
Read the original article
Hit count: 272
truecrypt
When I mount the Truecrypt file on my USB drive it shows up as truecrypt1.
The volume is FAT, using mtools to rename a volume label involves e2label /dev/sdbx
, however truecrypt1 does not map to a physical partition. fdisk -l
does not show the volume partition (only the physical USB device), and df -h
lists the volume path as /dev/mapper/truecrypt1
.
Finally, using the Nautilus 'Rename' context action, gives the error: "Sorry, could not rename "truecrypt1" to "towel": Operation not supported by backend".
Apparently this can be done in Win, but how can I rename this volume in Ubuntu?
As Nicolas said, specifying the mount point names the partition the same. The truecrypt GUI does not remember the mount point I set, so I specify the mount points in a script which I placed in my main menu.
#!/bin/bash
gksudo truecrypt /media/usbdrive/encryptedfile /media/securedata/
© Ask Ubuntu or respective owner