From nobody Mon Apr 29 11:32:58 2024 X-Original-To: freebsd-fs@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 4VSh5v34P4z5J7sh for ; Mon, 29 Apr 2024 11:33:07 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSh5t2YTzz4vXc for ; Mon, 29 Apr 2024 11:33:06 +0000 (UTC) (envelope-from infoomatic@gmx.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.at header.s=s31663417 header.b=jBARNNQv; dmarc=pass (policy=quarantine) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.15.19 as permitted sender) smtp.mailfrom=infoomatic@gmx.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1714390379; x=1714995179; i=infoomatic@gmx.at; bh=bhd/jtDevzh/mgwAPWDUgNkuoz4jekIN8limcNdAOe4=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=jBARNNQvWFDwW+9YcCNI15voGsv1aajQDFTm9tYU4CmfulTxnMUBliOgWJRbZ2sh Rz9uzpJKF0CLr/Ly+srWbujvix+ed4wkd0JqUuvVklHpBF5BvtgNJ5T1z2MU6MfhN OXpLkN4GFsHa+r3h/YaQmpWSItSTgaiK8empg2ZY2wQYFaG+F35hP6v6PN8nkELEa 6rG71QilHGUq90aIKe9u2nR1phI6tAjzyrqW9/hMNaC08oL6Uj9QCX/gfLKpF7N2L Y41EbE3TgT4mjWCbe2DdMCJsjWiD/ojEBgKAtTyyES//pa4b09DgBJI4z44p5ypTn bFkAkS/GlaZhWNLNEw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.0.1.209] ([178.114.178.7]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MxDkw-1suMOB18Jc-00zLBH for ; Mon, 29 Apr 2024 13:32:59 +0200 Message-ID: <913eea5e-1a78-4983-b287-c6633d308efe@gmx.at> Date: Mon, 29 Apr 2024 13:32:58 +0200 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to create overlay file system on FreeBSD? To: freebsd-fs@freebsd.org References: <823a4c68-37ad-4fd9-9a54-f49f25f3b50c@callfortesting.org> Content-Language: en-US From: infoomatic In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/P5BNmW6P9qpLinWpY55nZjESyEFbtSJWkunTWAjbqCkTu6DjKF tsrT1eq/aW2pczH1DUje99LbiWDXR/OJe+Le0lqgEGqKGO9hEk/trEVSfz6KTLiXE0FT+0k EXplgudAPdW3yFU05EBOw+e5gDBhvM7L2fcTXKwuPyP5ejnqLk+KMeFMpzhI6DuZXBXh+Sh C4/9aHwch5OHQgfvZ3piQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:7IEZxh8skyI=;ZCOKuXdcGgQvKSK5W3k+oC88OK6 6USnPoSLpI4D24wLGMerZ+GCpv/68qd8911N8n+qFEl4Sps4OGghYwhhn9ojJcLgF2D8P62LM TDiMTrLVOojcuP6cOsEG1m+vWuMBZevCWyDUqCoCIA5Q45iWuI8xCDJApD6/E3WT7zhvqJ4FZ 1tSxaucF2YtCO1KlM9iFBO0piml0Uvc5gEKFOYx+FOhYRs3hv2jrijLeOo4HmkX/+QILyn7TQ D7DeljzUb+epj7tlJ4n6fltkZca1psorn49t0nEqxL5xH2uzUy5sAAQxek6PSF9b+mGUNtVKu qsm1/VOxdDo/A7DRlErFkMzVMqZyYq3pxEo9nqv+s0vtMOHWBnzskn742uInLNsIl2guM/MbT sJ1854xds1+VmfCX+KX/vQ8INyvsqSN/3u94z/bQhGd5e3dfqvBRVbpziYZ6vDIAbRvt4Lzfo dSEn8uIwehCakNl3q7te2Y9BbaoUPOkud2wtKVdMOSy+b/yx/n7Ybca2Kniyqh2Sq/ODPoW3x bay1Ux+wp7naQ16JElz60it5/aRR4FbBcB5UPB03uPFmzVDapbMIVC6UDw//K+w2EWYi8fFdv TiGCvvOd4vvFoVr9qLNoDnNsL5EQFgx/k8ucYE8mq/lHODzt0DrV580+Hco0bFUEMq8Bt1Bid Ir4nl45gwWuJ/olO+w4I/eLVO2IHEUW0/ernd4brBKWx8YRyX95TMCQMr4rr3wFe6BfLANukZ i4sL8rp9DMpw591gntrmGpoK8C36hK6sSwBhJ/zQd/mxm3nUhH7MaG7NrwuY+2PuTCna9Z3cl RQG4+yVEK5CI6yGrJD4dY9usYmcE89Nnd03QeIc3QgTvI= X-Spamd-Bar: - X-Spamd-Result: default: False [-1.03 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_SPAM_SHORT(0.95)[0.952]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,quarantine]; R_DKIM_ALLOW(-0.20)[gmx.at:s=s31663417]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmx.at]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmx.at:+]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.at] X-Rspamd-Queue-Id: 4VSh5t2YTzz4vXc On 29.04.24 12:53, Chen, Alvin W wrote: > Hi, > I'd like to overlay tmpfs on top of a read only dataset. > /var/data -> lower: dataset mount as read-only > /tmp/ ->upper: writable > /var/overlay -> any files created will be created in /tmp/ > As I know FreeBSD can't support overlayfs, any other ways to achieve it? > Maybe unionfs does what you want - have you had a look at it? Regards, Robert