[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Renamiing a USB external h/d



On 12/01/2012 12:38, Sharon Kimble wrote:
I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.

So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
	(Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
	(Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"

How then can I rename it please?

Sharon.
Hello Sharon,

Check in /etc/udev/rules.d/*
Nowadays, the linux distributions udev.
This (udev) handing devices. See: http://en.wikipedia.org/wiki/Udev or http://www.debianhelp.co.uk/udev.htm

Regards
Balint


Reply to: