summaryrefslogtreecommitdiff
path: root/hurd/libstore/zero_store.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-05-20 10:49:07 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-05-20 10:49:07 +0200
commitf90c5b8e926cad2bd21e93c523be5a1776e11796 (patch)
tree8b184df0904c50a7cdfde98781b4bb8af8a4097e /hurd/libstore/zero_store.mdwn
parentca4f4b137695e989666ddc7d5344d8d07532ec54 (diff)
Text from a 2000-12-21 email by Roland McGrath.
Message-Id: <200012210724.eBL7OHv09671@neuralgia.linnaean.org>
Diffstat (limited to 'hurd/libstore/zero_store.mdwn')
-rw-r--r--hurd/libstore/zero_store.mdwn9
1 files changed, 8 insertions, 1 deletions
diff --git a/hurd/libstore/zero_store.mdwn b/hurd/libstore/zero_store.mdwn
index 120847ba..4c53ab56 100644
--- a/hurd/libstore/zero_store.mdwn
+++ b/hurd/libstore/zero_store.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2007, 2008, 2009 Free Software Foundation,
+[[!meta copyright="Copyright © 2000, 2007, 2008, 2009 Free Software Foundation,
Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
@@ -10,3 +10,10 @@ is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
[[!meta title="zero store: empty block device"]]
+
+A *zero* store is what `/dev/zero` is (always reads zeros), the setting on
+`/dev/zero` gives no name (i.e. size) and the default size is the maximum
+possible. The only meaning of the size of a *zero* is what `st_size` will
+report and what offsets it will let you try to read or write from--there is
+never any data associated with a *zero* store. (The code for this is in
+`libstore/zero.c`.)