Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/run/media mounting of esata
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
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 801

PostPosted: Fri Jan 02, 2015 12:43 am    Post subject: /run/media mounting of esata Reply with quote

I am new to writing udev rules, is there a way to make one so an external drive is mounted like a usb connected drive? Basically putting it in /run/media/<username>/ and allowing a user to mount and unmount it?

this is the drive and esata port on the motherboard.
Code:
/devices/pci0000:00/0000:00:04.0/0000:02:00.0/ata5/host4/target4:0:0/4:0:0:0/block/sde
Back to top
View user's profile Send private message
Bloss
n00b
n00b


Joined: 05 Dec 2014
Posts: 20
Location: MI, USA

PostPosted: Wed Jan 07, 2015 3:39 am    Post subject: Reply with quote

this might help
http://ubuntuforums.org/showthread.php?t=2161837
Back to top
View user's profile Send private message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 801

PostPosted: Wed Jan 07, 2015 12:39 pm    Post subject: Reply with quote

Bloss wrote:
this might help
http://ubuntuforums.org/showthread.php?t=2161837

Yea i did that and it still wants the root password to mount and when mounted normal users can't access.
Back to top
View user's profile Send private message
Bloss
n00b
n00b


Joined: 05 Dec 2014
Posts: 20
Location: MI, USA

PostPosted: Thu Jan 08, 2015 12:12 am    Post subject: Reply with quote

is the filesystem you're trying to mount ext4?

if it is you need to chown it

Code:

chown username /mountpoint
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