From nobody Fri Jan 26 22:17:38 2024 X-Original-To: freebsd-current@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 4TMBs90JMNz58wyY for ; Fri, 26 Jan 2024 22:17:49 +0000 (UTC) (envelope-from madis555@hot.ee) Received: from SMTPOUT09.DKA.mailcore.net (smtpout09.dka.mailcore.net [194.19.134.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtpout09.dka.mailcore.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TMBs64mWmz4cjW for ; Fri, 26 Jan 2024 22:17:46 +0000 (UTC) (envelope-from madis555@hot.ee) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=online.ee header.s=mailcore header.b=TOug+b2R; dmarc=pass (policy=reject) header.from=hot.ee; spf=pass (mx1.freebsd.org: domain of madis555@hot.ee designates 194.19.134.9 as permitted sender) smtp.mailfrom=madis555@hot.ee Received: from SMTP.DKA.mailcore.net (unknown [10.1.0.53]) by SMTPOUT01.DKA.mailcore.net (Postfix) with ESMTP id BADC9E02CD; Fri, 26 Jan 2024 23:17:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=online.ee; s=mailcore; t=1706307461; bh=FFihMSVm1LZMxW/LqVHQws8pypns7THZ6sfLbOxTP9g=; h=Date:From:To:Subject:In-Reply-To:References:From; b=TOug+b2R6CVTE449c2I3XdBN8qF3nJkN8npFzzLsccJxP7H+ViyEyBif2pVAIVZqd qve7gk7Gdmn6wfNvOCaPL5NTpFW61FUJOPTwcgSuZDJQu9YbsbmGOUhouWnqNAXb9V UVXTH41TBIga7wKkKv/htGH9rfGYDSHLpfc1Hr6kVBinEhTV7740RMX+ujTRRZNThL ZSJPfEiPQ6khwE7+K+08Uw0bkkSRR7h6OJkaLnEHX7WoTYbJllGlBTiLpFeE221cpk HgGit2V5vATJ8+6DFuNPIOr2yGgsMP5MQV5w6q9Cfvqf9OGg6LtCw4FXNEIBNUXIwx yux/7tw51HJYQ== Received: from [127.0.0.1] (65-43-196-88.dyn.estpak.ee [88.196.43.65]) by SMTP.DKA.mailcore.net (Postfix) with ESMTPSA id 8F98F400FE; Fri, 26 Jan 2024 23:17:41 +0100 (CET) Date: Sat, 27 Jan 2024 00:17:38 +0200 From: Sulev-Madis Silber To: freebsd-current@freebsd.org Subject: Re: Removing fdisk and bsdlabel (legacy partition tools) User-Agent: K-9 Mail for Android In-Reply-To: References: <77B55963-DF54-49BC-AF2C-3A115AC76B32@me.com> <202401261621.40QGLIv7006285@gndrsh.dnsmgr.net> Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[hot.ee,reject]; R_SPF_ALLOW(-0.20)[+ip4:194.19.134.0/25]; R_DKIM_ALLOW(-0.20)[online.ee:s=mailcore]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3308, ipnet:194.19.128.0/18, country:SE]; FREEMAIL_FROM(0.00)[hot.ee]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[hot.ee]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[online.ee:+] X-Rspamd-Queue-Id: 4TMBs64mWmz4cjW add variation of this to stock image to get better rescue media=2E maybe in= staller could even be updated a bit=2E if that is really big issue=2E cons = is that this requires network to be present=2E but where to get packages fr= om anyway without it, perhaps dvd1=2E i actually find it confusing that hig= hly technically skilled people who clearly run non-standard hw of various a= rchs and with several oses, for work or hobby, argue how installer sucks=2E= you can patch it=2E then you can use it locally or submit it to fbsd=2E i = don't know, maybe i'll do it then? --- cut --- #!/bin/sh -Cefu set -Cefu kbdcontrol -r fast -l ee test -d /tmp/unionfs/etc || mkdir -p /tmp/unionfs/etc mount -t unionfs | fgrep -q /etc || mount_unionfs /tmp/unionfs/etc /etc test -d /tmp/unionfs/root || mkdir -p /tmp/unionfs/root mount -t unionfs | fgrep -q /root || mount_unionfs /tmp/unionfs/root /root test -f /etc/wall_cmos_clock || touch /etc/wall_cmos_clock test -f /etc/localtime || tzsetup Europe/Tallinn pgrep -q adjkerntz || service adjkerntz start ifconfig -a -G lo | grep '^[a-z0-9]' | cut -d : -f 1 | xargs -n 1 sh -c \ 'echo ; service dhclient status "$0" || service dhclient forcestart "$0"' test -f /tmp/ntpdate_run_done \ || ( echo ; ntpdate dome && touch /tmp/ntpdate_run_done ) echo service ntpd onestatus || service ntpd onestart echo test -f /tmp/ntpdate_run_done && ntpdate -q dome echo date echo test -f /boot/kernel/coretemp=2Eko && kldload -n coretemp test -f /boot/kernel/amdtemp=2Eko && kldload -n amdtemp sysctl -a | grep '[0-9]C$' | egrep -v '(_(CRT|PSV)|\=2Etjmax)' sysctl -a | fgrep -q battery \ && ( echo ; acpiconf -i 0 | grep -v ':[[:space:]]*$') echo --- cut --- On 26 January 2024 22:11:44 EET, Freddie Cash wrote: >Sounds like a custom mfsBSD or Frenzy CD/USB would be better suited to >these bare-metal rescue setups=2E Something that has the specific tools = you >need already installed=2E I know I've kept various versions of these CD >images around for just this purpose=2E I always found them nicer to use = than >the FreeBSD install CDs in rescue mode, as there's a fully-functional >FreeBSD install to work from, including the ability to install packages >temporarily=2E >