From 9caea6e1b74471c20dcca08efe0534df3f71b0dc Mon Sep 17 00:00:00 2001 From: "jbranso@dismail.de" Date: Sun, 14 Jan 2024 21:33:46 -0500 Subject: edits to the tmpfs page * hurd/translator/tmpfs.mdwn: removed "tmpfs requires root permissions", and I added a short tmpfs example. Message-ID: <20240115023446.6431-4-jbranso@dismail.de> --- hurd/translator/tmpfs.mdwn | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/hurd/translator/tmpfs.mdwn b/hurd/translator/tmpfs.mdwn index 3d5cb74e..4db6542b 100644 --- a/hurd/translator/tmpfs.mdwn +++ b/hurd/translator/tmpfs.mdwn @@ -20,6 +20,18 @@ system|ext2fs]] on it, having a real `tmpfs` is better, as it need not deal with the additional block-level indirection layer that `ext2` (or any other disk-based file system) imposes. -`tmpfs` generally works, although it requires root permissions for file content; -see the [[discussion]] sub-pages for the past and current issues. -There is a [[!FF_project 271]][[!tag bounty]] on this task. +`tmpfs` generally works. See the [[discussion]] sub-pages for the +past and current issues. There is a [[!FF_project 271]][[!tag +bounty]] on this task. + +## How to use tmpfs + + $ settrans -ac tmp /hurd/tmpfs 1MB + $ cd tmp + $ touch file + $ cat file + + $ echo "tmpfs rocks!" > ./file + $ cat file + tmpfs rocks! + $ \ No newline at end of file -- cgit v1.2.3