bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wiki Edits: tmpfs, emacs, fcntl, and nice issues 4/4] edits to the tmpf


From: address@hidden
Subject: [Wiki Edits: tmpfs, emacs, fcntl, and nice issues 4/4] edits to the tmpfs page
Date: Sun, 14 Jan 2024 21:33:46 -0500

* hurd/translator/tmpfs.mdwn: removed "tmpfs requires root
permissions", and I added a short tmpfs example.
---
 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
-- 
2.43.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]