From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6C3CC13933E for ; Thu, 1 Jul 2021 11:16:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12AF6E0869; Thu, 1 Jul 2021 11:16:36 +0000 (UTC) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A899E0828 for ; Thu, 1 Jul 2021 11:16:35 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id nd37so9773815ejc.3 for ; Thu, 01 Jul 2021 04:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to :subject:in-reply-to:references; bh=xLEcLtf99mNzWhYMoffRL9nPuC6qTGhTA9OP6gC+li0=; b=FJyoVX+ZNAovGAHhXbffabH/UIuEQky9TX4dEARH3ZlqAKwp2AmfpXxkYeS677kzqL mo9btfucVDNUVhU0Ht7ISDQtM4XqoY8yq7gUXw+n8HwJfhWXIkMUIFrlj/CNMgrmQVlt 9NEV48tSE/aOZsTKpGvlwtm8HNLgxIIHRkE/PhMeQc9ikWjpwoAATj9oJ2F0PFXl8XE7 1GurPstUisGHXBZCaoHxpYbunt7LVoQ8e47JFWRBCwvAiS5avI1gjrcz2m7nNpA5RcQb HS2zDXM0sXSn5HJlpwu5SQ9OiFLMDPAqDfyP5vcfGnWBT9kl5NaGgHdqikt9OFrgpQ3A guEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:subject:in-reply-to:references; bh=xLEcLtf99mNzWhYMoffRL9nPuC6qTGhTA9OP6gC+li0=; b=NuUmNCCj643u33Uo8cJV4ycJv4HqEsvMAHfYoErCuDR3tz529dv/+CMapnB12ejLXy QXZLIvIReIrwvYqTHzwGajTp1ulnuTompuAqhJmZwozRwLIXaQHT49ZzI2ZLLjPeHtWY pp2Ue8+wCQyO5i9ywTJVWQL9pzWuPzdcBtMS39ME1SJt0YyudqhCjYw0ZsQ0RUaUh9uQ MGWgKHxIOQUMBVyUZeSRr2S/pDE5OQvsG3Zn4iAcEYvpfZTpIrRMnuyxiOUgiPzivKnE ZFYGeO4Vlxz7S6CChT7qSrdCQ6INJy2DcjuGQg6umMw/9/pZHN3S/zDfSbF4Z4SnZdv2 TQFw== X-Gm-Message-State: AOAM531zFm6THwDHiJQ3SU80LOdsQ1Q7f5OtxCezFtvXt/4xioMNZ49U F2CZHVS+aC2TdnzM5Cr27ujfPeH5XNk= X-Google-Smtp-Source: ABdhPJzBh/uqJywkGHkiJoH1a1vx9XvJD6LSd/084DY6h/O5IZaweYBGqXIU2uSgDOz8RD335sQPpA== X-Received: by 2002:a17:906:2985:: with SMTP id x5mr40174944eje.438.1625138194435; Thu, 01 Jul 2021 04:16:34 -0700 (PDT) Received: from tux (p200300df073034c8f728b7e393515b75.dip0.t-ipconnect.de. [2003:df:730:34c8:f728:b7e3:9351:5b75]) by smtp.gmail.com with ESMTPSA id ar27sm3532591ejc.100.2021.07.01.04.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 04:16:34 -0700 (PDT) From: Dr Rainer Woitok X-Google-Original-From: Dr Rainer Woitok Received: by tux (sSMTP sendmail emulation); Thu, 01 Jul 2021 13:16:31 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <24797.41997.225807.451604@tux.local> Date: Thu, 1 Jul 2021 13:16:29 +0200 To: gentoo-user@lists.gentoo.org, Dale Subject: Re: [gentoo-user] system.map file in /boot. How to manage? In-Reply-To: Msg of 2021-07-01 01:59:57 -0500 from rdalek1967@gmail.com References: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta34) "kale" XEmacs Lucid (x86_64-pc-linux) X-Archives-Salt: 1f86e0b7-ec99-4377-ba18-c719c756ac31 X-Archives-Hash: 44153d88a1c90b436f8c76dc395aacba Dale, On Thursday, 2021-07-01 01:59:57 -0500, you wrote: > ... > > The subject line pretty much describes this.  How does one manage the > system.map file in /boot?  Is it needed?  Should it be updated with each > kernel?  I tend to keep 2 to 3 kernels installed. Same here. And whenever I configure a new kernel my kernel managing script makes sure both, the kernel I'm currenty running on and the one just configured are in "@world". That way "emerge --depclean" will nev- er remove a kernel package. When I finally decide to explicitly remove a kernel my kernel managing script will basically execute this before calling "grub-mkconfig": # Argument 1 must contain slot number of kernel to be removed. emerge --deselect --quiet sys-kernel/gentoo-sources:$1 rm -fr /lib/modules/$1-gentoo /boot/*-$1-gentoo{,.old} \ /usr/src/linux-$1-gentoo This is stuff I somewhere picked up from the Gentoo Handbook when I did my first Gentoo install. > ... >   Should I version the > system.map file the same as kernels? Not sure about that. Mine ARE versioned. That's probably what "grub- mkconfig" is doing by default. Sincerely, Rainer