Piiiiiiiiiiiiiii
Posts: 8
Joined: Tue Nov 24, 2015 2:00 am

How is my USB drive getting mounted?

Tue Feb 23, 2016 9:17 pm

I didn't have to do anything special to mount the USB drive on Raspbian and yet it's showing up under /media/pi

Code: Select all

pi@raspberrypi:~ $ ls -la /media/pi
total 37
drwxr-x---+ 4 root root  4096 Feb 16 20:12 .
drwxr-xr-x  3 root root  4096 Nov 21 21:36 ..
drwxr-xr-x  5 root root  1024 Jan  1  1970 SETTINGS
drwx------  1 pi   pi   28672 Oct 22 00:14 Vault
pi@raspberrypi:~ $ /opt/nzbget/nzbget -s
I need to change the permissions on it, but before doing that I need to figure how it's getting mounted.

User avatar
r3d4
Posts: 982
Joined: Sat Jul 30, 2011 8:21 am
Location: ./

Re: How is my USB drive getting mounted?

Tue Feb 23, 2016 9:55 pm

udev rules!?
-ook-

Piiiiiiiiiiiiiii
Posts: 8
Joined: Tue Nov 24, 2015 2:00 am

Re: How is my USB drive getting mounted?

Tue Feb 23, 2016 10:40 pm

And how do I see what they are?

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: How is my USB drive getting mounted?

Tue Feb 23, 2016 11:08 pm

Piiiiiiiiiiiiiii wrote:And how do I see what they are?
I'm not sure this will help, but you can see rules in
/etc/udev/rules.d
/lib/udev/rules.d

Return to “Beginners”