PDA

View Full Version : smfbf



nitr8
28-06-2007, 05:09 PM
Ok here goes i dropped the idea of using mount scripts and have come up with integrating smbfs with the current NFS/CIFS/FTPFS settings:

To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. diff --> To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. FTC_Face_Requester (Micron/Italic)
[CFSMounter] Mount(3) 192.168.1.100:/nitr8 -> /mnt/samba
Get_Hostbyname: Unknown host lebelo.
Failed to get my hostname.
Get_Hostbyname: Unknown host lebelo.
No interface found for address 0.0.0.0
Added interface ip=0.0.0.0 bcast=0.255.255.255 nmask=255.0.0.0
Get_Hostbyname: Unknown host lebelo.
Server time is Thu Jun 28 15:17:50 2007
Timezone is UTC+1.0
Domain=[UBERNINJA] OS=[Unix] Server=[Samba 3.0.22]
security=share
[neutrino] menue setup

I will see if i can upload a test image, a little later.

P.S. the diff does not build the smbfs stuff, i cannot get newmake to build it for me.

space:

[root@lebelo:~]# du -h /bin/smbm*
/bin/smbmnt 8.0k
/bin/smbmount 171.5k
[root@lebelo:~]# du -h /lib/modules/2.4.34-dbox2/kernel/fs/smbfs/
/lib/modules/2.4.34-dbox2/kernel/fs/smbfs 70.0k
[root@lebelo:~]#
so in total 249.5K

nitr8
02-07-2007, 07:06 PM
sorry for the slow updates, I did the test's for you but its over WiFi so its as expected, both CIFS and SMBFS where on the same box.

Renaults are as follows:
[cifs]

[root@lebelo:~]# time cat /proc/kcore > /mnt/cifs/test.cifs
real 11m 11.94s
user 0m 0.13s
sys 0m 8.90s

[root@lebelo:~]# time cat /mnt/cifs/test.cifs > /dev/null
real 1m 48.29s
user 0m 0.13s
sys 0m 15.68s
[smbfs]

[root@lebelo:~]# time cat /proc/kcore > /mnt/smbfs/test.smbfs
real 5m 10.58s
user 0m 0.15s
sys 0m 26.67s
[root@lebelo:~]# time cat /mnt/smbfs/test.smbfs > /dev/null
real 1m 43.76s
user 0m 0.07s
sys 0m 13.05s

and as you can see, same device.

[root@lebelo:~]# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 7.8M 5.8M 2.0M 74% /
tmpfs 128.0M 664.0k 127.4M 1% /tmp
//192.168.1.127/stuff 916.3G 65.5G 850.8G 7% /mnt/cifs
//192.168.1.127/STUFF 916.3G 65.5G 850.8G 7% /mnt/smbfs

--me

renwich
03-07-2007, 07:25 PM
is there any chance they will fix newmake (smbfs.o) and get this into the cvs