What are the samba libs for?

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

What are the samba libs for?

#1 Post by musher0 »

Hello all.

As the title and sub-title say.

If I run the following line in my xenialPup-706, it tells me that samba-related
libraries occupy 17.53 Mb's :

Code: Select all

ls -Algo /usr/lib/*samb* | awk '{sum+=$3} END {print sum/1024/1024}'
In the puppy sfs, that means ~ 6 Mb's could be s(h)aved if we did not include them.

But of course if they are essential, we do nothing.

Thanks for any leads.

BFN.
Last edited by musher0 on Sun 29 Jul 2018, 05:03, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello again all.

"Samba is the standard Windows interoperability suite of programs for Linux and Unix."
Source: https://www.samba.org/samba/what_is_samba.html

Thus, if one's PC is a one-OS Puppy Linux system, one does not need the samba libs. So
away they go in their own sfs!!!

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#3 Post by Galbi »

You need them if you want to mount, read and write to other Windows shares.

I think they can be deleted if there are no other machines running Windows in the same LAN, or if you use another way to exchange files with a Windows machine.

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#4 Post by don570 »

I believe that only samba server uses these files.
____________________________________

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post by musher0 »

Thanks, guys.

I moved them in their own sfs, resquashed the puppy.sfs. It shaved 9 Mb's off the
previous puppy.sfs. Rebooted with the modded xenialPup. It's been a couple of hours
now, no problems.

TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Galbi wrote:You need them if you want to mount, read and write to other Windows shares.

I think they can be deleted if there are no other machines running Windows in the same LAN, or if you use another way to exchange files with a Windows machine.

Saludos.
Hi Galbi.

If we use a good old USB thumb-drive as exchange media, no need for Samba!

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#7 Post by dancytron »

If you use a printer, make sure that cups doesn't need it. I know it needs some Samba stuff.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#8 Post by Galbi »

dancytron wrote:If you use a printer, make sure that cups doesn't need it. I know it needs some Samba stuff.
Also a local printer?

Sure if it's a printer attached to a Windows machine, obviously...
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

dancytron wrote:If you use a printer, make sure that cups doesn't need it. I know it needs some Samba stuff.
Thanks for the heads up!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#10 Post by 8Geee »

Do I understand this correctly...?

SAMBA is a client/server interface used for among other things a printer connected to Local/wide-area network. So if the printer is not connected to a network, I don't 'need' SAMBA? (Note a direct USB connection to/from Printer-Computer does not need SAMBA?)

Regards
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#11 Post by s243a »

rsync is published by the same organization as samba:

http://www.linuxfromscratch.org/blfs/vi ... rsync.html
http://samba.org/ftp/rsync/src/rsync-3.1.1.tar.gz
ftp://ftp.samba.org/pub/rsync/src/rsync-3.1.1.tar.gz

I don't know if that means that it requires a "samba library" though.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#12 Post by dancytron »

8Geee wrote:Do I understand this correctly...?

SAMBA is a client/server interface used for among other things a printer connected to Local/wide-area network. So if the printer is not connected to a network, I don't 'need' SAMBA? (Note a direct USB connection to/from Printer-Computer does not need SAMBA?)

Regards
8Geee
Looks like you are right. I could have sworn it was.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

s243a wrote:rsync is published by the same organization as samba:

http://www.linuxfromscratch.org/blfs/vi ... rsync.html
http://samba.org/ftp/rsync/src/rsync-3.1.1.tar.gz
ftp://ftp.samba.org/pub/rsync/src/rsync-3.1.1.tar.gz

I don't know if that means that it requires a "samba library" though.
A. : :)
[/usr/bin]>ldd rsync
linux-gate.so.1 => (0xb7764000)
libattr.so.1 => /lib/libattr.so.1 (0xb76c6000)
libacl.so.1 => /lib/libacl.so.1 (0xb76bb000)
libpopt.so.0 => /lib/libpopt.so.0 (0xb76ad000)
libc.so.6 => /lib/libc.so.6 (0xb74f7000)
/lib/ld-linux.so.2 (0x800c6000)

[/usr/bin]>rsync --version
rsync version 3.1.1 protocol version 31
Copyright (C) 1996-2014 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc

rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#14 Post by technosaurus »

Most people will only need the client unless they want to share resources on their linux box with windows computers. Samba's default build options are ridiculous and regurgitates tons of useless garbage by default. IIRC, I posted some saner build options quite a few years back. Newer versions can combine the libraries too, but for most purposes a static build of the client was fine and way less than 1mb.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#15 Post by rockedge »

I don't understand why you guys have the need to screw around with Samba in a base Puppy Linux. If you don't like it then strip out your version and remaster. I want freedom of choice..not what you decide
I have 5 printers that are on my network. I need CUPS, CUPS needs some of the SAMBA libs also I use puppy linux to make any printer into an Airprint printer because I have here heavy iPad iPhone traffic with some people wanting to print. I do not own a printer that come out of the box with Airprint so I make it do with avahi-daemon Puppy Linux and cheap Canon printers...works great...Now the system needs to also offer the printers via CUPS shared which goes through Samba because with all the different machines and operating systems on the LAN..... I don't mind at all running Puppy with samba libs in a total of 170-300 megs of RAM.

Samba makes sharing printers across a whole lot of Puppies so much more reliable and SO much easier to actually access the printers through Puppy..
Thus, if one's PC is a one-OS Puppy Linux system, one does not need the samba libs. So
away they go in their own sfs!!!
exactly my point...I have many Puppy Linux's on a network. Never just one.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

God, this is embarrassing. (Please see below.)
Last edited by musher0 on Sun 29 Jul 2018, 05:11, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

Oops.

My mouse sort of opened the forum editor "on her own", as a jerk
movement. And now I have to write something here!

Sorry.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply