From nobody Tue Mar 26 12:10:08 2024
X-Original-To: freebsd-hackers@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 4V3pXM1xNqz5FTcK
	for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Tue, 26 Mar 2024 12:10:11 +0000 (UTC)
	(envelope-from des@freebsd.org)
Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4])
	(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 (4096 bits) client-digest SHA256)
	(Client CN "smtp.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4V3pXM0Vsxz4SM4;
	Tue, 26 Mar 2024 12:10:11 +0000 (UTC)
	(envelope-from des@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1711455011;
	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;
	bh=e14uZzRFNGi/cq2WzCTxePvu3EIagjDupYD5Q1kIVUQ=;
	b=R8ryNWnMHuS/SVNA7IWl84ED7FvR+XxpEES7/23JuurUkdgD9grp91Y8RTBafY5AeVH9pw
	qAOraj+X0B/X4u6VX738f0HCJ+0gwEng8xUnr2xcYH6FtUQZopvE4jzVHAmUqA21CESaRn
	6TGPcH/9/hx9Z5DjHZw3D8NFGWAK2Hdsv2LUUvIgTlTNQjELp39bCIUXDKocaSvl+EciA7
	nPkHsvh8IeL0hnv1jzbUXuTWDp5wN5JFrwpJJ6gNl7U+/Hc7Rfe3mamnoadZ1VL6/TQpu0
	Mwe920Bo7mOj8q1tQV3buSN7a0lQIs5U+sQp0Cs+mHDmjofewm8ggqNa2EZC7A==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711455011; a=rsa-sha256; cv=none;
	b=ta+vMoTKe8bviX6E70VDiFZmJPPOERTufqaqLZpLyFdb6tZQWFyfpGCD+yLgLhmHgrv0zZ
	vS+IaP0ww1D3RkVylk1S4SKBWjGG/4Ix0TO+7ez18e/WqroeR+7CYJv28d3kCVlKsJBkir
	LIU+1GRDs3alBex9v7QXIv8TxVCXd+YBRbsCcQhSROIlPKPIPPXPhNw67IWFgO1PAmkXAv
	/QaJUhciRJh9nUPMYf6OgC3sHIiQmoi/rwNHJpzR0SOEOaLpiuyZ6tY5gSjwAZ45Xe9jTL
	laVyYDtQfVVWIu2e5KBu6z1mCeugYtCmARLT0EloxBoyBxqz27tvZlInrzoayA==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1711455011;
	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;
	bh=e14uZzRFNGi/cq2WzCTxePvu3EIagjDupYD5Q1kIVUQ=;
	b=JBROe+LL8p8UeCL5xQU9HteNTpoZTWSFokjAyWFCjgIMxibYC1GiC//DtZ7zisd+d2X0h5
	RTUTBOgTyxSd7rQDV24M3FQlBhbPs89TG/IrZLof6RBK2DS8/IVkRhvHKRy/dLzb2tPOB8
	fB7x60+zIVDl9a9NlcPiozUhAyPO9il+bh9ZKRIK7cFG/re1NVLRggMTVM9ukTu6BjfXTc
	gFjkQ+45gDMfbAm/SPziOT6hd9UIjYyViJXtxrTWRT6CSWkSAIDVeL0p4TWTPky51vSd7f
	iIVR+Y3aOmU40IFKujyqsOIQRv8l7W/TyqeCqofFm/Kwhncd29tob9QyOUaotw==
Received: from ltc.des.dev (163.23.65.37.rev.sfr.net [37.65.23.163])
	(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 did not present a certificate)
	(Authenticated sender: des)
	by smtp.freebsd.org (Postfix) with ESMTPSA id 4V3pXL6Sxnz1Bxx;
	Tue, 26 Mar 2024 12:10:10 +0000 (UTC)
	(envelope-from des@freebsd.org)
Received: by ltc.des.dev (Postfix, from userid 1001)
	id 966C178366; Tue, 26 Mar 2024 13:10:08 +0100 (CET)
From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To: Warner Losh <imp@bsdimp.com>
Cc: Mark Saad <nonesuch@longcount.org>,  FreeBSD Hackers
 <freebsd-hackers@freebsd.org>
Subject: Re: TarFS
In-Reply-To: <CANCZdfoCtPMOzOOzQtm1S+xQ-vy=utcewWG9mPbuV24xP9OVyQ@mail.gmail.com>
	(Warner Losh's message of "Tue, 26 Mar 2024 09:33:51 +0100")
References: <CAMXt9NYOA4KJu86gnCwOZeDp31gsxwwrzdb+c6KLsOQxxD6r5A@mail.gmail.com>
	<86edbyh0od.fsf@ltc.des.dev>
	<CAMXt9NYNmaCJhSmFg4QAS2d7Lia1oEVAgTeas50w=+ohsdrwCw@mail.gmail.com>
	<867chpg2d2.fsf@ltc.des.dev>
	<CANCZdfoCtPMOzOOzQtm1S+xQ-vy=utcewWG9mPbuV24xP9OVyQ@mail.gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Tue, 26 Mar 2024 13:10:08 +0100
Message-ID: <8634sdfb33.fsf@ltc.des.dev>
List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-hackers
List-Help: <mailto:freebsd-hackers+help@freebsd.org>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org>
Sender: owner-freebsd-hackers@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Warner Losh <imp@bsdimp.com> writes:
> Dag-Erling Sm=C3=B8rgrav <des@freebsd.org> writes:
> > They can be exported, but I'm not sure what you mean by =E2=80=9Cmounte=
d on a
> > tmpfs=E2=80=9D.
> I think he means does it work witg unionfs.

There's no reason why it shouldn't, although I haven't tested it.
Unlike exportability, which requires explicit support in each and every
filesystem, it's handled transparently by VFS.

> Side question: how hard is it to add and offset of tarball mount
> option?

It shouldn't be hard, since all I/O goes through tarfs_io_read(), but
why would you want to?

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org