[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/16] hurd: add fsys_get_source
From: |
Justus Winter |
Subject: |
[PATCH 15/16] hurd: add fsys_get_source |
Date: |
Tue, 30 Jul 2013 11:59:23 +0200 |
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.
---
hurd/fsys.defs | 12 ++++++++++++
hurd/fsys_reply.defs | 5 +++++
2 files changed, 17 insertions(+)
diff --git a/hurd/fsys.defs b/hurd/fsys.defs
index 15c903b..c031da7 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 087b3cc..2f5b035 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);
--
1.7.10.4
- [PATCH 09/16] trans/symlink.c: add fsys_get_children, (continued)
[PATCH 11/16] libdiskfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 12/16] libnetfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 14/16] trans/symlink.c: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 13/16] libtrivfs: add fsys_get_source, Justus Winter, 2013/07/30
[PATCH 15/16] hurd: add fsys_get_source,
Justus Winter <=
[PATCH 16/16] trans: add mtab translator, Justus Winter, 2013/07/30