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

Main Menu

Disabling autofs for usb drives

Started by ranpow, December 20, 2012, 08:09:46 PM

Previous topic - Next topic

ranpow

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 :) but its not working for me.

Any insight on that would be great.


SBCC

ranpow

When you are asked if you want to use the device just answer no never. Device will be ignored from then on.

ranpow

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,

Marie.O

That's exactly what should happen when you stick USB stick in.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

ranpow

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,

tschak909

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

-Thom

ranpow

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 :)



l3mce

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

ranpow

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,

tschak909

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

-Thom