From nobody Mon Jul 25 20:01:47 2022 X-Original-To: dev-commits-src-all@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 4Ls9t35FVpz4WcYN; Mon, 25 Jul 2022 20:01:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ls9t34klJz3mNG; Mon, 25 Jul 2022 20:01:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658779307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IMWtJktVfG7PMOJOb4Y/TwD9kR4OL7su2nr/ZgwomCQ=; b=R6G03q9eJ0Z6P0uMfalhf+C2rYJCaQdCYOxEGjCRdg5FggJ/wri54weMLQP35hBfqb9MAL atkJ1zXIHxnXZjEV0/lfb1s6gB9hy/lUJmQpueR++zXejJdo1YC7ViDc7n1aeZd4abZc2p 5DCVWqEG5/NyumotnvS62lFDGGcWgwdFeJiRyVpvCAYv4foKdzvfDx64S+Pou8wAUm0tMC /zq7JsuBRLjLry21M7z57fhgIuqRO1b6HtX1/ScOmXbv/9/EkB6VXuWYypGZiOqmi4a7UI NTDcGmF7VWT3jK5CwrrxNGQEtbKEhBiyvaF8viXaXuaAa6wrfzTJooBQni0q/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ls9t33nLBz18yR; Mon, 25 Jul 2022 20:01:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26PK1luh022558; Mon, 25 Jul 2022 20:01:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26PK1lWc022557; Mon, 25 Jul 2022 20:01:47 GMT (envelope-from git) Date: Mon, 25 Jul 2022 20:01:47 GMT Message-Id: <202207252001.26PK1lWc022557@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 45e2c2f70d04 - stable/12 - tmpfs.5: Add fstab line example List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 45e2c2f70d04be123b3232c53528e841931fbdac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658779307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IMWtJktVfG7PMOJOb4Y/TwD9kR4OL7su2nr/ZgwomCQ=; b=AkavhgtBEthQUWIjo3thirG3UeTMZDDVpfcqT5or/dJxcpdsywc2Ydu7EDxCFdu71fWxbx jTp+K9dypbUcIMbnU/hpLCWfRHyDG6Q3Gk8UR45WSemqGDKuy/O6qCeVVAycYke0TPf2Yb p2zVc6QKVYElGL4/ogB0k+akozjPgZ8yjN6ja93g2+j8h9cdaR1d09OpKafWyyDuJE9cOF yATVh5QoHWrTR/76ceY3qMEny+9tjPxom+SlufnBaGOFf/zZT/kqNhUvvLyFUsGKLlcJQt s7pr8lJUw5w9Kpdc66eO5RSfn/HrIuNFXR68wVCAdj3rBAqynw6gO6okzWIHqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658779307; a=rsa-sha256; cv=none; b=WCDoZDD345l5BFlWGobmPB/dGN9AYy4v0JpiX9Aq1gvC/I9XzekXw5X4CB/cHS+O6m4C7n 5ryIsAmFltSPNAxwfBNwidOm3x3jio5g3Uf19cvqTSvXQNOVu3QjeQl82FDow9BKqav0Qs yRdcbyQiIFusXs9RhqP+lpz1rfmGIqsW3mILNsXck5ydCR7BYQezG6wSRSTh4HkNcD6CdV x/j+ix3ZPDSgRmhqaTybNfMvYM67d4a4nnketgWQ5bOiYy+wpUBMJgMyb1N/dIOjLPVYqs UbzD6SpyVOPGw5WbBJLYmBQtYmyTQjH3h8HKUv90bCZJPUfQ3xjx88C2Qt24jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=45e2c2f70d04be123b3232c53528e841931fbdac commit 45e2c2f70d04be123b3232c53528e841931fbdac Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-21 18:06:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-25 20:01:43 +0000 tmpfs.5: Add fstab line example MFC after: 3 days (cherry picked from commit 7c2ec6cdf575de11d5ed33109d92e757dd3d072c) --- share/man/man5/tmpfs.5 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/share/man/man5/tmpfs.5 b/share/man/man5/tmpfs.5 index 84b394da6210..82b0f41bfd60 100644 --- a/share/man/man5/tmpfs.5 +++ b/share/man/man5/tmpfs.5 @@ -53,7 +53,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 8, 2017 +.Dd July 21, 2022 .Dt TMPFS 5 .Os .Sh NAME @@ -141,11 +141,19 @@ Specifies the maximum file size in bytes. Defaults to the maximum possible value. .El .Sh EXAMPLES -To mount a +Mount a .Nm memory file system: .Pp .Dl "mount -t tmpfs tmpfs /tmp" +.Pp +Configure a +.Nm +mount via +.Xr fstab 5 : +.Bd -literal -offset indent +tmpfs /tmp tmpfs rw 0 0 +.Ed .Sh SEE ALSO .Xr procstat 1 , .Xr mmap 2 ,