FORUMS

Analysis & Opinion

Top Forum Discussions

CIFS support

643 posts
Thanks Meter: 130
 
Post Reply Subscribe to Thread Email Thread
30th December 2010, 02:38 PM |#11  
Recognized Developer
Flag Gilbert, AZ
Thanks Meter: 2,095
 
Donate to Me
More
Quote:
Originally Posted by roffee

in which folder and which file?

Doesn't matter, just point point the insmod cmd to where it is located in /data
 
 
30th December 2010, 04:27 PM |#12  
Sym_Link's Avatar
Senior Member
Flag San Diego
Thanks Meter: 501
 
More
Quote:
Originally Posted by roffee

in which folder and which file?

I just created a folder name CIFs in /data and put the two .ko files in it. Then in init.d I created a file that looked like :

#!/system/bin/sh

insmod /data/CIFs/slow-work.ko
insmod /data/CIFs/cifs.ko


But, just as dasunsrule32 stated, it doesn't matter what folder you use as long as your file points to the one you are using.
30th December 2010, 06:32 PM |#13  
Whitehawkx's Avatar
Retired Recognized Developer
Flag Emerald City
Thanks Meter: 9,350
 
Donate to Me
More
Awesomeness. Worked out great. Just as grendel905 stated I threw the .ko modules into a folder in /data and threw a script into init.d. They now load at boot. Just an fyi for ppl this method will not work if you are using a stock 2.2 kernel. You either need to be using voodoo or one of TW's kernels with the modified init.rc.
6th January 2011, 06:03 PM |#14  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 130
 
Donate to Me
More
I've released Mount Manager on the android market that will allow you to load these modules on your device automatically (without having to edit any files). It can load them when the device boots, or when the app starts.

It also can manage your cifs/nfs shares too. Allowing you to mount/unmount them. You can also set them to auto mount when the device boots, when the application starts or when connected to wifi.

For more info you can see the thread for the app where I will maintain the changelog.



6th January 2011, 06:20 PM |#15  
Senior Member
Thanks Meter: 8
 
More
You have just become a friend to vibrant users everywhere!
16th January 2011, 05:52 AM |#16  
Senior Member
Thanks Meter: 171
 
More
So here's the problem im having. Both modules load fine and I've confirmed they are loaded, but when I try and mount anything, mount says cifs is an invalid argument for type.

Sent from my SGH-T959 using XDA App
17th January 2011, 01:16 AM |#17  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 130
 
Donate to Me
More
What are you using to mount? An app or from the shell?

Sent via my Samsung Galaxy S
18th January 2011, 01:50 AM |#18  
Senior Member
Thanks Meter: 171
 
More
First I tried mount manager and when that failed I did it myself from a term.

Double checked that slow-work and cifs modules are loaded...

Here is terminal...

mount -t cifs //192.168.1.12/d /mnt/sdcard/sd
mount: Invalid argument
#

Doesn't matter where I try to mount to...

Chris

Nm, wasn't paying attention to case for my share name.. works. Thanks



Sent from my SGH-T959 using XDA App
18th January 2011, 04:49 PM |#19  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 130
 
Donate to Me
More
Quote:
Originally Posted by hololight

First I tried mount manager and when that failed I did it myself from a term.

Double checked that slow-work and cifs modules are loaded...

Here is terminal...

mount -t cifs //192.168.1.12/d /mnt/sdcard/sd
mount: Invalid argument
#

Doesn't matter where I try to mount to...

Chris

Nm, wasn't paying attention to case for my share name.. works. Thanks



Sent from my SGH-T959 using XDA App

you should be able to do this and not have to worry about the case of your shares:

Code:
mount -t cifs //192.168.1.12/d /mnt/sdcard/sd -o nocase
19th January 2011, 01:29 AM |#20  
Junior Member
Thanks Meter: 1
 
More
nfs.ko
has anyone been able to create a nfs.ko module?

Thanks to the directions here I was able to create a loading cifs.ko for the Firebird SGS / GT-I9010 Kernel, but my nfs.ko built with the same process wouldn't load.
20th January 2011, 05:34 AM |#21  
camalot's Avatar
OP Retired Recognized Developer
Flag Hickory Hills IL
Thanks Meter: 130
 
Donate to Me
More
Quote:
Originally Posted by unkle_george

has anyone been able to create a nfs.ko module?

Thanks to the directions here I was able to create a loading cifs.ko for the Firebird SGS / GT-I9010 Kernel, but my nfs.ko built with the same process wouldn't load.

It may have dependencies that it needs. Like cifs.ko in froyo needs to have slow-work.ko loaded first.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes