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 Fri 20 Jul 2018, 14:29
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 1 [13 Posts]  
Author Message
musher0


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

PostPosted: Wed 04 Jul 2018, 15:14    Post subject:  What are the samba libs for?
Subject description: What happens is 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-rfelated 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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12418
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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 1035
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: 5088
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: 12418
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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12418
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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1092

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: 1035
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: 12418
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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 1602
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: 1103

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

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: 12418
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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
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.0902s ][ Queries: 11 (0.0066s) ][ GZIP on ]