You are not logged in.

#1 2012-06-11 15:45:52

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

[SOLVED] Trouble mounting external harddrive

Hello

I use my old ipod as an external hard drive connected via usb.

I want to be able to mount it in the console easily, as regular user, so I added this line:

/dev/sdb2       /home/cem/MOUNT-IPOD auto noauto,user 0 0

to my /etc/fstab. This is exactly what I want and it works perfectly, exept for one thing:

At boot, it happens that the device changes sometimes. So, sometimes the ipod is recognized as /dev/sdc2 and then I have to change the device name in the /etc/fstab, which is a bit annoying.

Does anyone know a simple way to fix this ?
Thanks

Last edited by rebootl (2012-06-11 16:58:45)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#2 2012-06-11 16:03:45

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Trouble mounting external harddrive

Yes.

Use the UUID.

$ sudo blkid

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-06-11 16:06:29

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED] Trouble mounting external harddrive

Great, that's it.

Thanks


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

Board footer

Powered by FluxBB