diff options
| author | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-24 23:08:09 +0200 |
|---|---|---|
| committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-24 23:08:09 +0200 |
| commit | 2910b7c5b1d55bc304344b584a25ea571a9075fb (patch) | |
| tree | bfbfbc98d4c0e205d2726fa44170a16e8421855e /hurd/interface/fsys | |
| parent | 35b719f54c96778f571984065579625bc9f15bf5 (diff) | |
Prepare toolchain/logs/master branch.
Diffstat (limited to 'hurd/interface/fsys')
| -rw-r--r-- | hurd/interface/fsys/00.mdwn | 23 | ||||
| -rw-r--r-- | hurd/interface/fsys/01.mdwn | 19 | ||||
| -rw-r--r-- | hurd/interface/fsys/02.mdwn | 33 | ||||
| -rw-r--r-- | hurd/interface/fsys/03.mdwn | 22 | ||||
| -rw-r--r-- | hurd/interface/fsys/04.mdwn | 58 | ||||
| -rw-r--r-- | hurd/interface/fsys/05.mdwn | 20 | ||||
| -rw-r--r-- | hurd/interface/fsys/06.mdwn | 20 | ||||
| -rw-r--r-- | hurd/interface/fsys/07.mdwn | 19 | ||||
| -rw-r--r-- | hurd/interface/fsys/08.mdwn | 23 | ||||
| -rw-r--r-- | hurd/interface/fsys/09.mdwn | 19 |
10 files changed, 0 insertions, 256 deletions
diff --git a/hurd/interface/fsys/00.mdwn b/hurd/interface/fsys/00.mdwn deleted file mode 100644 index 68e0479e..00000000 --- a/hurd/interface/fsys/00.mdwn +++ /dev/null @@ -1,23 +0,0 @@ -[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009 -Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_startup"]] - - routine fsys_startup ( - bootstrap: mach_port_t; - RPT - openflags: int; - control_port: mach_port_send_t; - out realnode: mach_port_send_t); - -Sent by filesystem on its bootstrap port upon startup. `realnode` is the node -this filesystem is the translator for, opened with flags `flags` (`O_NOTRANS` -is assumed even if not provided). diff --git a/hurd/interface/fsys/01.mdwn b/hurd/interface/fsys/01.mdwn deleted file mode 100644 index 9cb95de5..00000000 --- a/hurd/interface/fsys/01.mdwn +++ /dev/null @@ -1,19 +0,0 @@ -[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009 -Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_goaway"]] - - routine fsys_goaway ( - fsys: fsys_t; - RPT - flags: int); - -Filesystem should go away. Bye. diff --git a/hurd/interface/fsys/02.mdwn b/hurd/interface/fsys/02.mdwn deleted file mode 100644 index 63b84c48..00000000 --- a/hurd/interface/fsys/02.mdwn +++ /dev/null @@ -1,33 +0,0 @@ -[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009 -Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_getroot"]] - - routine fsys_getroot( - fsys: fsys_t; - RPT - #ifdef FSYS_GETROOT_UREPLY - ureplyport ureply: mig_reply_port_t; - #endif - dotdot_node: mach_port_send_t; - gen_uids: idarray_t; - gen_gids: idarray_t; - flags: int; - out do_retry: retry_type; - out retry_name: string_t; - out file: mach_port_send_t); - -Return a file to the root of the filesystem. `flags` are as for -[[`dir_lookup`|dir_lookup]] (but `O_CREAT` and `O_EXCL` are not meaningful). -`do_retry`, `retry_name`, and `result` are as for [[`dir_lookup`|dir_lookup]]. -The port should be authenticated with `gen_uids` and `gen_gids` (except, of -course, for `FS_RETRY_REAUTH` and `FS_RETRY_MAGICAL). `dotdot_node` is an -unauthenticated port for the directory in which this root is located. diff --git a/hurd/interface/fsys/03.mdwn b/hurd/interface/fsys/03.mdwn deleted file mode 100644 index b0c033c2..00000000 --- a/hurd/interface/fsys/03.mdwn +++ /dev/null @@ -1,22 +0,0 @@ -[[!meta copyright="Copyright © 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2009 -Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_getfile"]] - - routine fsys_getfile ( - fsys: fsys_t; - RPT - gen_uids: idarray_t; - gen_gids: idarray_t; - filehandle: data_t; - out file: mach_port_send_t); - -Get a file given a file handle (see [[`file_getfh`|file_getfh]]). diff --git a/hurd/interface/fsys/04.mdwn b/hurd/interface/fsys/04.mdwn deleted file mode 100644 index 7b370d2b..00000000 --- a/hurd/interface/fsys/04.mdwn +++ /dev/null @@ -1,58 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_syncfs"]] - - routine fsys_syncfs ( - fsys: fsys_t; - RPT - wait: int; - do_children: int); - -Synchronize the entire filesystem. - -This function has a companion in [[`file_syncfs`|file_syncfs]], which is -invoked on an arbitrary node instead of the server's control port. Both of -them are usually implemented in equivalent ways. - -# 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/symlink]], -[[translator/nfs]]. - -## [[libtrivfs]] - -Invoke [[`file_sync`|file_sync]] on the underlying node. Rationale: the -underlying node represents this filesystem's backend, and once this node is -synchronized, the whole [[libtrivfs]]-based filesystem is to be considered -synchronized. - -### [[storeio]] / [[streamio]] - -Instead of to the underlying node, pass the call through to the backend -(device). - -## [[libnetfs]] - -Invoke `netfs_attempt_syncfs`. - -## [[libdiskfs]] - -Invoke [[`fsys_syncfs`|fsys_syncfs]] on all active children, and invoke -`diskfs_sync_everything` and `diskfs_set_hypermetadata`. - -# Usage Examples - -## [[libdiskfs]] - -In the implementations of both [[`file_syncfs`|file_syncfs]] and -[[`fsys_syncfs`|fsys_syncfs]], [[`fsys_syncfs`|fsys_syncfs]] is invoked on all -active children. diff --git a/hurd/interface/fsys/05.mdwn b/hurd/interface/fsys/05.mdwn deleted file mode 100644 index 5caf6b17..00000000 --- a/hurd/interface/fsys/05.mdwn +++ /dev/null @@ -1,20 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_set_options"]] - - routine fsys_set_options ( - fsys: fsys_t; - RPT - options: data_t; - do_children: int); - -Pass a server-specific options string. This usually includes flags similar to -command line options, e.g., `--readonly`, or `--sync=30`. diff --git a/hurd/interface/fsys/06.mdwn b/hurd/interface/fsys/06.mdwn deleted file mode 100644 index c8ccbed8..00000000 --- a/hurd/interface/fsys/06.mdwn +++ /dev/null @@ -1,20 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_getpriv"]] - - routine fsys_getpriv ( - fsys: fsys_t; - RPT - out host_priv: mach_port_send_t; - out device_master: mach_port_send_t; - out fstask: mach_port_send_t); - -This is only implemented by bootstrap filesystems. diff --git a/hurd/interface/fsys/07.mdwn b/hurd/interface/fsys/07.mdwn deleted file mode 100644 index 4700416d..00000000 --- a/hurd/interface/fsys/07.mdwn +++ /dev/null @@ -1,19 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_init"]] - - routine fsys_init ( - fsys: fsys_t; - sreplyport reply_port: sreply_port_t; - proc_server: mach_port_send_t; - auth_handle: auth_t); - -This is only implemented by bootstrap filesystems. diff --git a/hurd/interface/fsys/08.mdwn b/hurd/interface/fsys/08.mdwn deleted file mode 100644 index 42ac277d..00000000 --- a/hurd/interface/fsys/08.mdwn +++ /dev/null @@ -1,23 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_forward"]] - - routine fsys_forward ( - server: mach_port_t; - RPT - requestor: mach_port_send_t; - argv: data_t); - -Ask `server` to provide [[`fsys`|fsys]] translation service for us. -`requestor` is the bootstrap port supplied to the original translator, and -`argv` are the command line arguments. If the recipient accepts the request, -he (or some delegate) should send [[`fsys_startup`|fsys_startup]] to -`requestor` to start the filesystem up. diff --git a/hurd/interface/fsys/09.mdwn b/hurd/interface/fsys/09.mdwn deleted file mode 100644 index fa5c4117..00000000 --- a/hurd/interface/fsys/09.mdwn +++ /dev/null @@ -1,19 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="fsys_get_options"]] - - routine fsys_get_options ( - server: fsys_t; - RPT - out options: data_t, dealloc); - -Return the options describing the operation of the receiving filesystem -(sutiable for [[`fsys_set_options`|fsys_set_options]]). |
