On 02/05/2018 10:25 AM, Max Pyziur wrote:
Greetings,
I've been trying to use fatlabel to rename a Western Digital 2TB
USB/external drive. However, the results have been with no success
either with the drive mounted or not.
Much thanks for any advice on how to proceed.
(Related output is appended below),
Max Pyziur
pyz@xxxxxxxxx
#################
root@pegasus ~> lsusb -d 1058:25e1
Bus 002 Device 005: ID 1058:25e1 Western Digital Technologies, Inc.
root@pegasus ~> dmesg | tail
[ 7678.356619] ses 6:0:0:1: Attached Enclosure device
[ 7678.356860] ready
[ 7678.357476] sd 6:0:0:0: [sdb] 3906963456 512-byte logical blocks:
(2.00 TB/1.82 TiB)
[ 7678.359054] sd 6:0:0:0: [sdb] Write Protect is off
[ 7678.359056] sd 6:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 7678.360087] sd 6:0:0:0: [sdb] No Caching mode page found
[ 7678.360104] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 7678.421927] sdb: sdb1
[ 7678.425461] sd 6:0:0:0: [sdb] Attached SCSI disk
root@pegasus ~> fatlabel /dev/sdb1 EPRINC2TB
Currently, only 1 or 2 FATs are supported, not 0.
manpage says:
fatlabel (8) - set or get MS-DOS filesystem label
So, is (are) the partion (partitions) formatted as vfat filesystem?
If they are not formatted as vfat filesystems, then you have to label them
using the labeling command specific to the type of FS you will create on
them.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx