openSUSE Forums > Hardware » Mounting External HDD to specific point

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-May-2009, 17:40
psybernetik's Avatar
Student Penguin
 
Join Date: May 2009
Location: 21.305076, -157.843170
Posts: 66
psybernetik hasn't been rated much yet
Unhappy Mounting External HDD to specific point

Holla,

Need some help on how to mount a specific; out of many, external HDD to a certain folder. I've tried mounting it via /DEV/DISK/BY-ID/supposed_disk_id to the folder I want. But I get permission errors as a user When I try to create anything below the first level.

mount -o users,rw -t vfat /dev/disk/by-id/disk_id /media/VAULT

Ideally, I'd like to have it in the FSTAB so I don't have to keep remounting it. I'm on a laptop and the drive is USB; and I can't always use the same port to plug it into.


Muchos Mahalo's
__________________
[****... What'd I do to break this **** thing...]
Suse 11.1
Acer Aspire 5610Z
Reply With Quote
  #2 (permalink)  
Old 29-May-2009, 19:24
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Mounting External HDD to specific point

Hi
Try this:
Code:
mount -t vfat -o uid=john,gid=users,utf8=true /dev/sda9 /media/VAULT
Change sdax to the correct value and john to suit yourself

Reference: openSUSE: HowTo set disk access permissions for Fat32 (VFAT) on a desktop PC
__________________
Drop in and visit some time.
Reply With Quote
  #3 (permalink)  
Old 01-Jun-2009, 18:29
psybernetik's Avatar
Student Penguin
 
Join Date: May 2009
Location: 21.305076, -157.843170
Posts: 66
psybernetik hasn't been rated much yet
Default Re: Mounting External HDD to specific point

Thanks... Now the next part is how should I have it in FSTAB?
Code:
/dev/disk/by-id/usb-WD_My_Book_46237432345273-0:0-part1 /media/mount_point vfat umask=000 0 0
I never did get the point of the two numbers at the end...
__________________
[****... What'd I do to break this **** thing...]
Suse 11.1
Acer Aspire 5610Z
Reply With Quote
  #4 (permalink)  
Old 01-Jun-2009, 18:35
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 40
DoctrSuSE hasn't been rated much yet
Default Re: Mounting External HDD to specific point

I've always used the partitioner in YaST... it can setup the mount stuff for fstab for you.
Reply With Quote
  #5 (permalink)  
Old 01-Jun-2009, 18:40
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Mounting External HDD to specific point

Quote:
Originally Posted by psybernetik View Post
I never did get the point of the two numbers at the end...
A run-down on the fields contained in an fstab entry can be read from the return from "man fstab".

PS is this a question:
Quote:
Thanks... Now the next part is how should I have it in FSTAB?
__________________
Drop in and visit some time.
Reply With Quote
  #6 (permalink)  
Old 03-Jun-2009, 16:38
psybernetik's Avatar
Student Penguin
 
Join Date: May 2009
Location: 21.305076, -157.843170
Posts: 66
psybernetik hasn't been rated much yet
Default Re: Mounting External HDD to specific point

Quote:
Originally Posted by swerdna View Post
A run-down on the fields contained in an fstab entry can be read from the return from "man fstab".

PS is this a question:

<bowing>Thank you oh Great Oracle!!! </bowing>

And it was a rhetoric question...
__________________
[****... What'd I do to break this **** thing...]
Suse 11.1
Acer Aspire 5610Z
Reply With Quote
  #7 (permalink)  
Old 03-Jun-2009, 18:39
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Mounting External HDD to specific point

Quote:
Originally Posted by psybernetik View Post
<bowing>Thank you oh Great Oracle!!! </bowing>
Bowing ? -- what about some tangibles?
__________________
Drop in and visit some time.
Reply With Quote
  #8 (permalink)  
Old 04-Jun-2009, 15:13
psybernetik's Avatar
Student Penguin
 
Join Date: May 2009
Location: 21.305076, -157.843170
Posts: 66
psybernetik hasn't been rated much yet
Default Re: Mounting External HDD to specific point

I'll send some pocky if ya want some... XD
__________________
[****... What'd I do to break this **** thing...]
Suse 11.1
Acer Aspire 5610Z
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2