Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 12 Nov 2018, 16:21
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
What are the samba libs for?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Wed 04 Jul 2018, 15:14    Post subject:  What are the samba libs for?
Subject description: What happens if we get rid of them in a Puppy?
 

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

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Sun 29 Jul 2018, 01:03; edited 2 times in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Wed 04 Jul 2018, 15:45    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 1054
Location: Bs.As. - Argentina.

PostPosted: Wed 04 Jul 2018, 15:51    Post subject:  

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: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5170
Location: Ontario

PostPosted: Wed 04 Jul 2018, 19:53    Post subject:  

I believe that only samba server uses these files.
____________________________________
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Wed 04 Jul 2018, 20:08    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Wed 04 Jul 2018, 20:16    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1152

PostPosted: Wed 04 Jul 2018, 20:23    Post subject:  

If you use a printer, make sure that cups doesn't need it. I know it needs some Samba stuff.
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 1054
Location: Bs.As. - Argentina.

PostPosted: Thu 05 Jul 2018, 08:21    Post subject:  

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: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Thu 05 Jul 2018, 08:38    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 1712
Location: N.E. USA

PostPosted: Thu 05 Jul 2018, 23:47    Post subject:  

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.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1264

PostPosted: Thu 05 Jul 2018, 23:59    Post subject:  

rsync is published by the same organization as samba:

http://www.linuxfromscratch.org/blfs/view/7.6/basicnet/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.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1152

PostPosted: Fri 06 Jul 2018, 00:17    Post subject:  

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.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12952
Location: Gatineau (Qc), Canada

PostPosted: Fri 06 Jul 2018, 00:30    Post subject:  

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

http://www.linuxfromscratch.org/blfs/view/7.6/basicnet/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. : Smile
Quote:
[/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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4841
Location: Blue Springs, MO

PostPosted: Sat 28 Jul 2018, 20:09    Post subject:  

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 github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 845
Location: Connecticut, United States

PostPosted: Sat 28 Jul 2018, 23:09    Post subject:  

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..

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0693s ][ Queries: 11 (0.0032s) ][ GZIP on ]