From 508d432bd5e43b2af315b1a8a99fdb84c4bd294a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 18 Aug 2009 15:51:49 +0200 Subject: Some examples gathered from Hurd sources. --- hurd/interface/fs/13.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'hurd/interface/fs/13.mdwn') diff --git a/hurd/interface/fs/13.mdwn b/hurd/interface/fs/13.mdwn index 72ae0d06..2e06e0c4 100644 --- a/hurd/interface/fs/13.mdwn +++ b/hurd/interface/fs/13.mdwn @@ -21,6 +21,28 @@ Sync the individual file. If `omit_metadata` is set, then it is only necessary for the server to updated the actual contents of the file, not any associated metadata. +# Implementation Examples + +Servers that either don't keep any unsynchronized state (or don't have a +backing store at all) can simply `return 0`. Examples: [[translator/nfs]]. + +## [[libtrivfs]] + +Pass the call through to the underlying node. + +### [[storeio]] / [[streamio]] + +Instead of to the underlying node, pass the call through to the backend +(device). + +## [[libnetfs]] + +Invoke `netfs_attempt_sync`. + +## [[libdiskfs]] + +Invoke `diskfs_file_update`. + # Usage Examples ## [[glibc]] -- cgit v1.2.3