From nobody Tue Dec 03 18:53:34 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2qYZ28lTz5gZdQ for ; Tue, 03 Dec 2024 18:53:38 +0000 (UTC) (envelope-from thronobulax@gmail.com) Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2qYY2GmPz4b9L for ; Tue, 3 Dec 2024 18:53:37 +0000 (UTC) (envelope-from thronobulax@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Z2jAkkfK; spf=pass (mx1.freebsd.org: domain of thronobulax@gmail.com designates 2607:f8b0:4864:20::f30 as permitted sender) smtp.mailfrom=thronobulax@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-6d896be3992so17297536d6.1 for ; Tue, 03 Dec 2024 10:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733252016; x=1733856816; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=jxFxd7z4b0IjZI4+0vLFR3u//+2iWFN8DovSm5G3R2g=; b=Z2jAkkfKpVN1y6jrT/J4Z1nUKnEbeyFjcragp2cqh61s3O++np0qvssn33VFmeUrCm oIN4UDEik1DgrTx0LM4KSUfP8oqLDZJctwPqCdfyO9wa8IwrE+uuMUVbFs5CKQHjifwg kvbdW9csQkrdEUQpOdwlheZY2b+hSTtn0VwLsh/TvoXsN9YE6V7BEXIBiYpV8xSVdH1u PyaH6nld4ycPAnxEh6dRay9tmsKLP82aUYeTa+2TCdv6VbMIIqdGvYfMie5Wb5yamEbj zAK/n1zIZsEzsw86Sq8yP3ue0ye/hLPAW18pBjI5sOSVxm6OAxLzFEoqoIRaGoH3qlqZ VZTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733252016; x=1733856816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jxFxd7z4b0IjZI4+0vLFR3u//+2iWFN8DovSm5G3R2g=; b=KtXhwbSgi0D2vxY1agCS0CwiDVPnJq75kUyvZd7G4bO6Dt6p1/XepC4QAb4PLbtpD5 z3DCBieb2lVh9Yw1lIDfFDL8GV+ig+IPnaXB6lKxjVuJYr52E++WBnfrLWoTJM7Qtdtc RlBA0PnHhRtDQf01pIA22J2SOYI07iXCq6z4zamuDeXgJEte4bDcQ9yuRHQpoNZvYiO0 eR6FgYNUREJQ0tAEq3qkpJRhTZ2bGhZgJwWE2zN9TU2h7g8LVb8P5tSwE6ZS/9dauXn0 hbDA3T7MVSMkQM1Rx8Kh5LUVah7AbYICxmDVr7RkA92BeCCUYJywEMlKMBQaArzKH5Px wyfg== X-Gm-Message-State: AOJu0YxeElCOG34kTLKFuznHCXleVW8zto4GWRc91m4dh3P7dVQ7iU1q C3BPleAtJWc1ttWCR098uduLrcA3NV7dK7IT/Ynh17Ngx/J5a1kqkhFi9A== X-Gm-Gg: ASbGncvXrTQ/bPX2+4q9Ql6HEdID5MbZmUyPoTMbRCepvMYj+lOkavmXbEFbclHDaU6 sYFyycQ95Fit3da6DDJq2AcFeV69XixxoH3zqNnLdyZwfaIx8FkOYxTnPA3o36oktIJpw3gTt7+ e8YW87x0FikJ3+dpRs5NFVHIW+9lPdg7h/pfYEnsQOeNfzVLpZZdcWSMtuXKBllpihFNOcUgnVT +Ssq3zJrnbufqi2rABzgDZp3lTEh79lB5330E0KWnCRMuTQw3SdUgFP89yrdMGIeh7X3JMd X-Google-Smtp-Source: AGHT+IEX9uoVOf+LvEoHu/o7Ul8ssseUTqGCpGi+EJgFwY4JuJUZHevkENmCeWWDltuLqMa5azRw1g== X-Received: by 2002:a05:6214:301a:b0:6d8:9f61:de8c with SMTP id 6a1803df08f44-6d8b73be9d4mr53751196d6.27.1733252016098; Tue, 03 Dec 2024 10:53:36 -0800 (PST) Received: from [192.168.0.2] (ozzie.tundraware.com. [75.145.138.73]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d88c0a46c8sm49581646d6.8.2024.12.03.10.53.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Dec 2024 10:53:35 -0800 (PST) Message-ID: <3d28a38f-5ae6-465c-91b8-1c868465ed8a@gmail.com> Date: Tue, 3 Dec 2024 12:53:34 -0600 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Is /usr/obj Required For Installation? To: FreeBSD Mailing List References: Content-Language: en-US From: Tim Daneliuk In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.67 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_SPAM_SHORT(0.32)[0.322]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f30:from] X-Rspamd-Queue-Id: 4Y2qYY2GmPz4b9L X-Spamd-Bar: - On 12/3/24 07:31, Michael Sierchio wrote: > > On Tue, Dec 3, 2024 at 8:17 AM Tim Daneliuk > wrote: > > After running buildworld and buildkern, is /usr/obj subsequently required > to install the new kernel(s) and world files or are all the required object > files already bound into installable libraries? > > > I'm not sure I understand your question, but I'll blather on. > > /usr/obj/usr/src//sys/ > > > contains the kernel and the .o files required for building it, and it's where it gets installed from.  Once you've built and installed it, and world, you may safely rm -rf usr/obj/* without affecting a running system. I think this answers my question which was whether I could build, then delete /usr/obj with a system fully available for installation at a later date. It looks like that would not work. > > I typically have micro instances as appliances and build kernels and world on another, more robust multiprocessor VM. > Yes that works well with "real" VMs and physical machines. In my case though, on of the target systems is out on a hosting provider that may (not sure) be using VPS trickery, so I dunno if that would work. Thanks for taking the time.