Article View: muc.lists.freebsd.stable
Article #44Re: FreeBSD 15.2-BETA1 Now Available
From: vermaden
Date: Sun, 15 Nov 2026 22:59
Date: Sun, 15 Nov 2026 22:59
75 lines
5985 bytes
5985 bytes
Hi,
> Checking how my UFS context would be handled: fails.
>
> For Reference:
>
> # mount
> /dev/gpt/PBaseUFS on / (ufs, NFS exported, local, noatime, soft-updates)
> devfs on /dev (devfs)
> /dev/gpt/PBaseEFI on /boot/efi (msdosfs, local, noatime)
>
> # mount | awk '/ \/ / {print $1}'
> /dev/gpt/PBaseUFS
>
> # mount | awk '/ \/ / {print $1}' | grep -q '^/dev/label' 1> /dev/null 2> /dev/null
> #
>
> # mount | awk '/ \/ / {print $1}' | grep -o -E '[a-z]+[0-9]+' | head -1
> #
>
> So it looks like the UFS handling in my context would fail in:
>
> . . .
>
> # FIND SYSTEM ROOT
> BOOT_ROOT=$( mount | awk '/ \/ / {print $1}' )
>
> # CHECK IF WE HAVE ZFS OR UFS SYSTEM INSTALLATION
> if echo "${BOOT_ROOT}" | grep -q '^/' 1> /dev/null 2> /dev/null
> then
>
> echo "INFO: detected UFS based FreeBSD installation"
>
> # UFS DETECT glabel(8) LABEL
> if echo "${BOOT_ROOT}" | grep -q '^/dev/label' 1> /dev/null 2> /dev/null
> then
>
> # UFS ON glabel(8) DEVICE
> BOOT_LABEL=$( echo "${BOOT_ROOT}" | sed -e s./dev/..g )
> BOOT_DISK=$( glabel status | grep "${BOOT_LABEL}" | awk '{print $NF}' )
> BOOT_DISK=$( echo "${BOOT_DISK}" | grep -o -E '[a-z]+[0-9]+' | head -1 )
>
> else
>
> # UFS RAW DISK DEVICE
> BOOT_DISK=$( echo "${BOOT_ROOT}" | grep -o -E '[a-z]+[0-9]+' | head -1 )
>
> fi
>
> else
>
> . . .
>
>
> There could be /dev/ufs/ with ufs file system labels in use, if I
> remember right, not that I have such.
>
> --
> ===
> Mark Millard
> marklmi at yahoo.com
I tested pkgbase(8) against all possible 'Auto' options in bsdinstall(8) command - like 'Auto (ZFS)' and 'Auto (UFS)'. Is it possible to do such install as You have with 'Auto (UFS)' or its purely custom command by command FreeBSD installation?
To be honest - I also plan to 'support' these 'custom' installations - its just I have 'access' to such systems only if someone 'shares' their setup - like You - so I (probably not today) will look into command outputs You provided - thank You for that - and plan to add needed changes to pkgbase(8) tool.
Regards,
vermaden
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<ckzywirwjsyegpeownzk@sfah>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<ca5b64a2-c9bb-4043-99a6-d429de44e197@yahoo.com> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: vermaden <vermaden@interia.pl> Newsgroups: muc.lists.freebsd.stable Subject: Re: FreeBSD 15.2-BETA1 Now Available Date: Sun, 15 Nov 2026 23:59:56 +0100 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <ckzywirwjsyegpeownzk@sfah> References: <ca5b64a2-c9bb-4043-99a6-d429de44e197@yahoo.com> <> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="39344"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794783634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=pNC30Xa4G2uAPtM7s+9RVSWi9j3oKSX9U1azFCloPVQ=; b=kenJeVpNrc+Sny5yi4n6gvBPde8rTRVMqTJGn7XTMTHEjWfsVZX+BS4jLw8AZifWCbeP2H eFKtDh3AVHy88ullbe1XS/7BvnA77qoYHm9LUsNpfX4VYi/ppq2cSU7q4uN/sJt00s6hXG T181MBJT5hqV/a3Bqb671Ze9PyIa9uNph36f8ecTDPGSP7BHn3DteJTyyX7JFsNfTMSlYy EhAaleYmOV+0J5EJgmVW9d9OIWqu0YoQaFkjTMNPngXVLxbP5KV5fq2HUA8XbVnpGss1li HI8LEc6RP1CokaRIOQk7Ry1jL94ot6+CyMvpzSzbkopcAj5DKR1u7HaMvuxkyw== X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=interia.pl header.s=dk header.b=t+2To1ut; spf=pass (mx1.freebsd.org: domain of vermaden@interia.pl designates 217.74.67.75 as permitted sender) smtp.mailfrom=vermaden@interia.pl; dmarc=pass (policy=none) header.from=interia.pl In-Reply-To: <ca5b64a2-c9bb-4043-99a6-d429de44e197@yahoo.com> X-Originating-IP: 45.148.42.18 Precedence: list DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=dk; t=1794783599; bh=pNC30Xa4G2uAPtM7s+9RVSWi9j3oKSX9U1azFCloPVQ=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=t+2To1ut7LCspDeaZiXniIqXiila4YbtjvJfuA4Vfws1m5lFmKEJ2CD2i4K/aB/Jx TZzdQ4XZcmkQs9SL+wEw1w6ccJ7mTIi4G9HQkfwcwhwEO3seH1xkrVf+aTJY2LH8n4 f8PoruDqlkSpaEQFJBT4b+6iOZJaHJs+dsIUwh7Y= X-Rspamd-Queue-Id: 4jSRKG1X43z4X2d X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[interia.pl,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:217.74.64.0/22]; R_DKIM_ALLOW(-0.20)[interia.pl:s=dk]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[217.74.67.75:from]; ONCE_RECEIVED(0.10)[]; FREEMAIL_FROM(0.00)[interia.pl]; FREEMAIL_TO(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; TO_DN_EQ_ADDR_SOME(0.00)[]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; DWL_DNSWL_NONE(0.00)[interia.pl:dkim]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[interia.pl:+]; HAS_XOIP(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[interia.pl]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-pkgbase@freebsd.org,freebsd-stable@freebsd.org]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_THREE(0.00)[4]; RCVD_IN_DNSWL_NONE(0.00)[217.74.67.75:from] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes