How to handle those "smart" device names at the CLI?

Robert Holtzman holtzm at cox.net
Sat May 14 21:42:24 UTC 2011


On Sat, May 14, 2011 at 11:10:13AM +0200, Thierry de Coulon wrote:
> Hello all,
> 
> I use an external USB drive for backup purposes. I use Image for Linux for 
> this, where I have to hand mount my backup partition as root. The result is 
> that the backup files are owned by root.
> 
> When I plug the drive in Ubuntu, it gets automounted as something like:
> /dev/sde1 on /media/4ae56680-7468-493e-aa40-9bb6c79f00f7 type ext3
> 
> What's the smart way of accessing it from a terminal? I don't seem to be able 
> to type this sort of "code" correctly, so for the time I have 
> umount /dev/sde1 and mount /dev/sde1 on whatever directory I want. 

I use scripts for things like this. That way you can copy and paste the
UUIDs *once* into each script and not have to re-enter them every time.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110514/c1db40b4/attachment.sig>


More information about the ubuntu-users mailing list