View Single Post
Old 08-21-2012, 05:30 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Some handy links.

CIFS, the protocol: http://en.wikipedia.org/wiki/Cifs

Samba server: http://en.wikipedia.org/wiki/Samba_software

Linux Kernel: fs/cifs/README, fs/cifs/TODO and fs/cifs/CHANGES

man page for mount.cifs (yeah okay its not the newest copy ever. I like the dice, and it always comes first in my Gurgle results... find a better one if the bit rot bothers you)

(mount.cifs? what that I hear you cry...)

[root@kindle us]# find -name *cifs
./sbin/mount.cifs

its a recommended helper application - That I will append once I have tested it is all good. (and a few extra notes)

Cheers

-----------------------------
[root@kindle sbin]# readelf -d mount.cifs
Dynamic section at offset 0x800c contains 25 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]


Should be fine as-is. in tar.gz.

Just run from anywhere I imagine.

For a little extra value I attached the smbfs.ko as well.
perhaps more notes on that when we cross the relevant bridge.

HENJOY!


Quote:
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by the mount(8) command when using the "-t cifs" option
it's the guts then. mine lives in /mnt/us/sbin
here is my logon script for my kindle


I call it when I login like

cd mnt/us; source go

Quote:
#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib:/lib:/mnt/us/usr/lib:/mnt/us/lib
$PARTIAL=/mnt/us/bin:/mnt/us/home/root:/mnt/us/usr/local/bin/opkg-utils
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/mnt/us/usr/bin:$PARTIAL
#
#sometimes I just want this
#export LD_PRELOAD=/mnt/us/usr/lib/libz.so.1
#
export HOME=/mnt/us/home/root
export HISTIGNORE="&:[ ]*:exit"
export HISTCONTROL="erasedups:ignoreboth"
#
#fix silly cd errors
alias cd..='cd ..'
alias ..='cd ..'
#
#show hidden files and use long lists by default. (my preference)
alias l.='ls -d .* --color=auto'
alias ls='ls -al'
#
#I'm so lazy...
alias /zz='/mnt/us'
alias cdz='cd /mnt/us'

feel free to dump that on the root of /mnt/us and do likewise.

if you are really lazy like me cd /mnt us;. go
sorry about the long path. I'll see if a quote will sort it. meh. I split it. : )
Attached Files
File Type: gz mount.cifs.tar.gz (17.2 KB, 48 views)
File Type: gz smbfs.ko.tar.gz (34.3 KB, 46 views)

Last edited by twobob; 08-21-2012 at 06:48 PM. Reason: The links effect
twobob is offline   Reply With Quote