From nobody Thu Jul 21 18:09:25 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 4LpgZG0BShz4XC2Z; Thu, 21 Jul 2022 18:09:26 +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 4LpgZF5TbNz3McJ; Thu, 21 Jul 2022 18:09:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658426965; 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=FQiP3jSSbWg2hmoV9DM7KlWSgqa9hKBW1Z0ApbpjAes=; b=TFRrKIkF14o1ltaFJRmnxsTHRQdwp1nudnXR28hI1sSxsIMhUYS9QCRyIzX9QOqtH6tboh gkytekMa24u6vseTqDF+kS/pxU7MwVBjj+k7DzP86JZTTYQCWmimMh6UaSRgtq7NGlCAU/ OjMJaunsRz6Z5+7RcOsspRjxu844DG+Iii2B7talp6Sr4su+MLCPZ6pDXWfBEtQDi8Dhmn fobiGLfebIJjki9UQl74SAZAH6izsjmzqEav4O9Ce/Z357anuCkTJLsWEmFw5A+nhp0KNS k8lPKt1WWv6ws6zoslxb/l0Kbe8Pr0LGaEalH9UyKx0P+jdB7oDDNl0SUiCu1A== 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 4LpgZF4XLTzWZS; Thu, 21 Jul 2022 18:09:25 +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 26LI9Pf2056906; Thu, 21 Jul 2022 18:09:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26LI9PnQ056905; Thu, 21 Jul 2022 18:09:25 GMT (envelope-from git) Date: Thu, 21 Jul 2022 18:09:25 GMT Message-Id: <202207211809.26LI9PnQ056905@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 7c2ec6cdf575 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 7c2ec6cdf575de11d5ed33109d92e757dd3d072c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658426965; 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=FQiP3jSSbWg2hmoV9DM7KlWSgqa9hKBW1Z0ApbpjAes=; b=j8iQFyHVXMjYmh2jyP0LQ3lzrdIwbR7sDL/FFKxnsyfRVB89Sbr2og8EcAjkVHJ+thX84h H0jSTBo+TR5n3/YnDsI3g/1vOg/eHUDtRoHp6aV8sNCm2ieozUEcwSVrzuhQ2yICodaq5U IvUjSwxeGU9xnqNTtiNewB7bEGqDmc1UwWSZEG4P8VSv/gKNJ8WkmH9psASLebZmWWESms 7l+Xo/r+1mqPHVnRCWU3wu8QmwSgxR/xbJogO0KW5WyDsixuQVW10qZcunXc1BvvKwvpk9 AiX7L0QmOfeHRPP1KaNd9lreXgWr4Fo3bw/XCvc8Pl+0iiVlt8NaddVyRshnmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658426965; a=rsa-sha256; cv=none; b=lFa+QmIb4IkAgmjpjElZKIKDMoSaXENA2ITez0X4SuF2XpcjZRSVPD57nEb6Uz/wCAn0zu NOR3XEwI7nJhDbXALdX5k/VdoFKhu7kWyrDul+Hjw2Kt0omteHMuCFIzS5fBZnFd1Sv7bM GQbTtNDKuRk35fp+AVKbqDi3dkB3vtHBD5DVxAkcfhN2DZJ5rxxTL/D+YTXU1dpS7xJTjw NqXzMv2qbi/cBgzHFPbzxWqN9bjFT4O/dJVBwlLheVPLs0HvWe9byu2KcfwdJIKcAPLGVz G3Q7YBZ8ize5Jg8h0EIBGswwrM6S3G9NutMZfTTfB1VoZXgcD7GVsefhBjH4Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=7c2ec6cdf575de11d5ed33109d92e757dd3d072c commit 7c2ec6cdf575de11d5ed33109d92e757dd3d072c Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-21 18:06:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-21 18:08:06 +0000 tmpfs.5: Add fstab line example MFC after: 3 days --- 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 53d4c02b0aef..b934fe02868d 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 @@ -142,11 +142,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 ,