Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting external drives for read/write
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rurouni_hou_ou
n00b
n00b


Joined: 15 Aug 2014
Posts: 24
Location: England, Lancashire

PostPosted: Sun Mar 01, 2015 3:16 pm    Post subject: Mounting external drives for read/write Reply with quote

I am able to mount my external HDD in read only mode, but at the moment I can't seem to mount it in read/write mode for my user.

So far, my /etc/fstab entry looks like:
Code:
/dev/sdb1    /media/connor/usbdrive    auto    user,auto,async,exec 0 0


I have tried making /media/connor owned by that user using chmod connor:connor /media/connor. But still this fails. Also, the service localmount reports 'filesystem 'auto' not found'. I also changed the filesystem to fat32 in my fstab. But still reported 'filesystem 'fat32' not found'.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Mar 01, 2015 4:42 pm    Post subject: Reply with quote

You probably want 'users' not 'user'; and istr 'vfat'.

First one means any user in 'disk' group can unmount, unless you have some kludge in-between.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47896
Location: 56N 3W

PostPosted: Sun Mar 01, 2015 4:57 pm    Post subject: Reply with quote

rurouni_hou_ou,

Don't use auto for the filesystem type if you value your data. Its OK on read only media,
Auto tells mount to guess the filesystem. Most times it gets it right but your data is toast when it doesn't.

As a read only mount works I suspect that the filesystem is ntfs and you are using the kernel ntfs driver.
Despite the kernel option for ntfs write support, its mostly not there.
Use FUSE and ntfs-3g instead.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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