LinuxMCE Forums
May 25, 2013, 05:43:35 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Disabling autofs for usb drives  (Read 728 times)
ranpow
Regular Poster
**
Posts: 21


View Profile
« on: December 20, 2012, 08:09:46 pm »

Is there any simple way to disable the automatic automaounting of external usb drives,
I have issue installing external USB drive. After playing with it for an hour no luck
So i guees its not 100% stable thus will need some hacking
I guess it will need mysql updating but then noticed the pnp functions so its rather tricky

I know. Its big, its complicated,its working Smiley but its not working for me.

Any insight on that would be great.

Logged
SBCC
Veteran
***
Posts: 118


View Profile
« Reply #1 on: December 21, 2012, 02:24:54 am »

ranpow

When you are asked if you want to use the device just answer no never. Device will be ignored from then on.
Logged
ranpow
Regular Poster
**
Posts: 21


View Profile
« Reply #2 on: December 21, 2012, 09:20:11 am »

Ignored is not exactly good. i actualy need to use it(to have movies etc..) but just mount it directly
Maybee even create the needed symbloic link to /home/video....

Tnx,
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #3 on: December 21, 2012, 01:18:33 pm »

That's exactly what should happen when you stick USB stick in.
Logged

ranpow
Regular Poster
**
Posts: 21


View Profile
« Reply #4 on: December 21, 2012, 02:12:24 pm »

I suppose, but in my case it didnt, it added the drive cuase i found it on the list of devices but the mount was broekn
and the mounted folder is not accesible it just stack when you try to access it
so i thought of disabling this, but it doesnt matter anymore
I fixed that by deleting the ntfs partition and then it created ext3 whice working ok

tnx,
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #5 on: December 21, 2012, 07:00:56 pm »

Patches to the pluto storage devices layer to better handle NTFS are always welcome.

-Thom
Logged
ranpow
Regular Poster
**
Posts: 21


View Profile
« Reply #6 on: December 22, 2012, 10:37:20 am »

Hi, im thinking -o force will solve that(if its running normal mount ntfs-3g ..)
I had once similar issues on my ubuntu with usb/ntfs -o force fixed it, i guess its not very helthy
to the disc cause it didnt mount for a resone Smiley


 
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #7 on: December 22, 2012, 05:26:12 pm »

It just sounds like the ntfs/fat drive is not clean. I would stick it in a windows machine and fix that.
Logged

I never quit... I just ping out.
ranpow
Regular Poster
**
Posts: 21


View Profile
« Reply #8 on: December 25, 2012, 05:34:22 pm »

I tried that and at the end i end up converting the FS to EXT3 but then other issue came up
It discover a new drive every hour or so even when its allready installed
Then noticed it installed two volumes for sdb and sdb1
Very not stable this thing ill lock it up later maybbe ill find something
What langauge its in(the automount script)?

Tnx,
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #9 on: December 26, 2012, 12:13:29 am »

It is a shell script, located at /etc/auto.plutoStorageDevices

-Thom
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!