Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount external ntfs drives
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rogerdv
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 185
Location: Santiago, Cuba

PostPosted: Fri Dec 12, 2008 9:15 pm    Post subject: mount external ntfs drives Reply with quote

Today I found a problem I had forgotten: I tried to plug an ntfs external hard drive to my PC via USB. I have ntfs-3g and I can properly mount local ntfs drives (configured in fstab), also I can mount flash with a click in thunar, but I have no idea about how to define an external usb hard drive withouth conflicting with normal flash drives that also use /dev/sdb1. How can I solve this?
_________________
Game programming news for newbies | The Ark, making an RPG the right way!
Back to top
View user's profile Send private message
kirillrdy
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 144
Location: Melbourne, Australia

PostPosted: Sat Dec 13, 2008 12:06 am    Post subject: Reply with quote

well, i think udev would create /dev/sd{a,b,c...}{1,2,3,4....}
so there shouldnt be any conflict,
just got to know which one is which
try plugging the usb harddrive and run fdisk -l
it should list all found drives

enjoy
_________________
/-Everything is made from a dream-/ --Sakurai Kazutoshi
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sat Dec 13, 2008 2:58 am    Post subject: Reply with quote

emerging hal, would probably solve this for you.
Back to top
View user's profile Send private message
rogerdv
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 185
Location: Santiago, Cuba

PostPosted: Sat Dec 13, 2008 11:58 pm    Post subject: Reply with quote

snkmoorthy wrote:
emerging hal, would probably solve this for you.

I already have hal. But mounting a flash, which uses fat, is different from mounting a hard drive with ntfs, which requires privileges.
_________________
Game programming news for newbies | The Ark, making an RPG the right way!
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Sun Dec 14, 2008 12:52 am    Post subject: Re: mount external ntfs drives Reply with quote

rogerdv wrote:
Today I found a problem I had forgotten: I tried to plug an ntfs external hard drive to my PC via USB. I have ntfs-3g and I can properly mount local ntfs drives (configured in fstab), also I can mount flash with a click in thunar, but I have no idea about how to define an external usb hard drive withouth conflicting with normal flash drives that also use /dev/sdb1. How can I solve this?


What are you asking, how to mount the drive manually when there is no fstab record
(it will be

mount -t ntfs3g /dev/sdwhatever /mnt/whatever *)

you need to specify filesystem explicitly)

or how to make tunar mount it ?

*) I don;t remember exactly if it is ntfs3g or ntfs-3g with a dash
Back to top
View user's profile Send private message
JohnBlbec
Guru
Guru


Joined: 08 Feb 2003
Posts: 306

PostPosted: Sun Dec 14, 2008 1:00 am    Post subject: Reply with quote

rogerdv wrote:
snkmoorthy wrote:
emerging hal, would probably solve this for you.

I already have hal. But mounting a flash, which uses fat, is different from mounting a hard drive with ntfs, which requires privileges.


you can try to use UUID (blkid is useful tool) in the mount params to differentiate flash (fat32) and usbhd (ntfs) with the same device name (in my case /dev/sdc1 for both)
Back to top
View user's profile Send private message
rogerdv
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 185
Location: Santiago, Cuba

PostPosted: Sun Dec 14, 2008 9:10 pm    Post subject: Re: mount external ntfs drives Reply with quote

dmpogo wrote:
rogerdv wrote:
Today I found a problem I had forgotten: I tried to plug an ntfs external hard drive to my PC via USB. I have ntfs-3g and I can properly mount local ntfs drives (configured in fstab), also I can mount flash with a click in thunar, but I have no idea about how to define an external usb hard drive withouth conflicting with normal flash drives that also use /dev/sdb1. How can I solve this?


What are you asking, how to mount the drive manually when there is no fstab record
(it will be

mount -t ntfs3g /dev/sdwhatever /mnt/whatever *)

you need to specify filesystem explicitly)

or how to make tunar mount it ?

I would prefer the last choice. But if I have to do it manually, I will. I just want to do it as unprivileged user.
_________________
Game programming news for newbies | The Ark, making an RPG the right way!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum