diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-07-30 11:59:23 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-15 23:20:31 +0200 |
commit | bdd2c077ee64a236881f6a9de2bb2ab540aeea55 (patch) | |
tree | c6cd2fefee9f421caf7421e4b0d65ecefa197ef7 /hurd | |
parent | 2738f9dc3c24032f94b41fa2e637f1cef581c0e9 (diff) |
hurd: add fsys_get_source
Return information about the source of the receiving filesystem.
If the concept of a source is applicable, SOURCE should refer to
the source of the receiving translator and should be a description
considered appropriate in the context of the translator. For
example for the case of block device based filesystems, SOURCE
should be the file name of the underlying block device.
* hurd/fsys.defs: Add fsys_get_source.
* hurd/fsys_reply.defs: Add fsys_get_source.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/fsys.defs | 12 | ||||
-rw-r--r-- | hurd/fsys_reply.defs | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/hurd/fsys.defs b/hurd/fsys.defs index 15c903b7..c031da7a 100644 --- a/hurd/fsys.defs +++ b/hurd/fsys.defs @@ -135,3 +135,15 @@ routine fsys_get_children ( server: fsys_t; RPT out children: data_t); + +/* Return information about the source of the receiving filesystem. + If the concept of a source is applicable, SOURCE should refer to + the source of the receiving translator and should be a description + considered appropriate in the context of the translator. For + example for the case of block device based filesystems, SOURCE + should be the file name of the underlying block device. */ +routine fsys_get_source ( + server: fsys_t; + RPT + out source: string_t); + diff --git a/hurd/fsys_reply.defs b/hurd/fsys_reply.defs index 087b3cc5..2f5b0351 100644 --- a/hurd/fsys_reply.defs +++ b/hurd/fsys_reply.defs @@ -81,3 +81,8 @@ simpleroutine fsys_get_children ( server: fsys_t; RETURN_CODE_ARG; children: data_t); + +simpleroutine fsys_get_source ( + server: fsys_t; + RETURN_CODE_ARG; + source: string_t); |