Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 11:47:16 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: kernel/generic-dbg, world/base-dbg
Message-ID:  <462f6c2c-1b8b-4d76-f086-9999ae26067e@FreeBSD.org>
In-Reply-To: <20190914052029.GA87950@admin.sibptus.ru>
References:  <20190914052029.GA87950@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--AaYW2slBwLVTdDmOVPLDPrQpDKWU6SDu0
Content-Type: multipart/mixed; boundary="ag4diwYWwlIB6Z9z71WolNcv7RUJbpJCr";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <462f6c2c-1b8b-4d76-f086-9999ae26067e@FreeBSD.org>
Subject: Re: kernel/generic-dbg, world/base-dbg
References: <20190914052029.GA87950@admin.sibptus.ru>
In-Reply-To: <20190914052029.GA87950@admin.sibptus.ru>

--ag4diwYWwlIB6Z9z71WolNcv7RUJbpJCr
Content-Type: text/plain; charset=windows-1252
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

On 14/09/2019 06:20, Victor Sudakov wrote:
> Where in the base system are kernel/generic-dbg and world/base-dbg
> located? freebsd-update says:
>=20
> The following components of FreeBSD seem to be installed:
> kernel/generic kernel/generic-dbg world/base world/base-dbg world/doc
>=20
> I don't think I need them, how do I find and delete them after the
> upgrade?

These are collections of debug symbols for the various binaries
installed in the system.  If you ever need to eg. generate a back trace
as part of a bug report, they mean that each frame will be identified by
function name and so forth -- in effect they mean that you can run gdb
against any binary in the system and achieve meaningful results.

Since they are stored separately from the binaries you're running they
have no deleterious effect on normal system usage.  Aside from taking up
a bit of disk space, you won't suffer any ill effects from having them.

I believe all of the debug files are installed under /usr/lib/debug -- se=
e

https://github.com/freebsd/freebsd/blob/master/etc/mtree/BSD.debug.dist

	Cheers,

	Matthew


--ag4diwYWwlIB6Z9z71WolNcv7RUJbpJCr--

--AaYW2slBwLVTdDmOVPLDPrQpDKWU6SDu0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl18xTVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5
RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp
5OdQXA/+K6ipeahKqVWscvL37tnHbl8Z7fVArNOtWXhUQtrOUCu7cwahreE2MKKt
FiXr4Q/azcb1JJOFzb/tj8tjA9yDlX7wZLDn7fLdVdAEmeCaeTblp81872Pc04us
t+z3oQdUCc8S7gKFmoWRWzi3wVJt+aefmtOxwIzBsThTmW183VSin5swHGucPCxR
0PAN+ZGGHIrprQaSyWQlY27OwTH8SAI3+ERGQJM1cXQoW+8vRHGti6JndXc4qrTV
jgaPzVcO2sVdH3iNjXn/VMpdRxBz3KdlNo0TTDTY3SnwssMyaSMdU6rGj9pfWgPE
FfrZ9YqQ6M7zKVhkpppz5WPDFNXI0Zln5MlepmizEmOdf7ygB2dXw7rgoIeUo7Gr
prn70MldAhksGHlBEXSq5ERaW/shEId6PDqIcHw6ykeg01+IS+loLnBwsfFeaR48
sZMTsfx0VqyqoFwLuMAkawRnYSXc1AmmA4TFsx+xY1Ywc679aXIhkPcJQoFkt1QE
fdeyYuTrUGMTUPF58D4pxJ9oOEINqAxHOrL2Zz5EDfQuRH6hTqQdGgOmRlOXgU4E
0ZZUcR02eYrYOEffn52sQIMENo6l01aeodf3iPgBmWDG19OImyeOCNNkMp0KwaSE
/o6ycoazRe6aoSmdi0fSeKlUUvGwrABLa+Is791P2CiRcocjbGE=
=DIAt
-----END PGP SIGNATURE-----

--AaYW2slBwLVTdDmOVPLDPrQpDKWU6SDu0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462f6c2c-1b8b-4d76-f086-9999ae26067e>