From owner-freebsd-questions@freebsd.org Tue Dec 4 18:28:20 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7A091316143 for ; Tue, 4 Dec 2018 18:28:20 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta02.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F08936A170 for ; Tue, 4 Dec 2018 18:28:19 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.9] ([70.121.63.82]) by cmsmtp with ESMTPA id UFO7gSXEDsismUFOAg4ppm; Tue, 04 Dec 2018 18:25:43 +0000 Date: Tue, 04 Dec 2018 12:25:23 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: Michael Schuster cc: freeBSD Mailing List Subject: Re: Files in / Message-ID: In-Reply-To: References: <66B63BE11669F00AA754FE87@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CMAE-Envelope: MS4wfGodaHozMZwYuGcG7b8hJv/z7JndolBGTPrk8//kfEWVSAx3ZJVg0wnHaNjXYS/zRDCim+6XCqstGCv/8tgYEVsB1OoUdWdK4ERJOGWmYZs8fEXaW0gV ojagLWybQObDJ2HeOosyZyZBnXHgKDX3zrNslFOEHj1W3KdyahFx1l0JOVyLKCGaD6wpxz4kDqzP8LoZ55lEj21GeFidPAgP/w9EdNxi02GiL2Te86N8Lo6c X-Rspamd-Queue-Id: F08936A170 X-Spamd-Result: default: False [-3.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[pschmehl_lists@tx.rr.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[rr.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: dnvrco-cmedge01.email.rr.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[227.73.14.107.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.75)[-0.750,0]; IP_SCORE(-0.75)[ipnet: 107.14.73.0/24(-2.03), asn: 7843(-1.62), country: US(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2018 18:28:20 -0000 --On December 4, 2018 at 9:43:06 AM +0100 Michael Schuster=20 wrote: > > > Paul, > > > first, you show 'df' output of "/", whereas later on you only work with > "/root" - there's probably other stuff in "/" that's not in "/root" - > /etc comes to mind, /sbin ...=C2=A0 > That's helpful. When I run ls on / I get this: ls / .cshrc COPYRIGHT cdrom dist home media rescue sys var .profile bin=20 compat entropy lib mnt root tmp .snap boot dev etc libexec proc sbin usr Since I have separate partitions for /var, /tmp, and /usr, that would mean=20 everything not included under those would be part of the / partition? I'm not sure I understand entropy. Using file, I can see that /home and=20 /compat are symlinks, but what is entropy? File says it's data. If I use find to get the directories directly under root, it returns this: # find / -type d -maxdepth 1 / /.snap /dev /tmp /usr /var /etc /cdrom /dist /bin /boot /lib /libexec /media /mnt /proc /rescue /root /sbin So, I can eliminate /tmp, /usr, and /var, and the rest is in the root=20 partition, correct? It seems the most disk consumption is in /boot/ # du -h /boot/ 28K /boot/defaults 2.0K /boot/firmware 497M /boot/kernel 2.0K /boot/modules 2.0K /boot/zfs 2.0K /boot/dtb 91M /boot/kernel.old 591M /boot/ I can remove /boot/kernel.old, right? (I'm not sure I will. Just asking.) Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell