David Howells
6f8880d8e6
afs: Implement @sys substitution handling
...
Implement the AFS feature by which @sys at the end of a pathname component
may be substituted for one of a list of values, typically naming the
operating system. Up to 16 alternatives may be specified and these are
tried in turn until one works. Each network namespace has[*] a separate
independent list.
Upon creation of a new network namespace, the list of values is
initialised[*] to a single OpenAFS-compatible string representing arch type
plus "_linux26". For example, on x86_64, the sysname is "amd64_linux26".
[*] Or will, once network namespace support is finalised in kAFS.
The list may be set by:
# for i in foo bar linux-x86_64; do echo $i; done >/proc/fs/afs/sysname
for which separate writes to the same fd are amalgamated and applied on
close. The LF character may be used as a separator to specify multiple
items in the same write() call.
The list may be cleared by:
# echo >/proc/fs/afs/sysname
and read by:
# cat /proc/fs/afs/sysname
foo
bar
linux-x86_64
Signed-off-by: David Howells <dhowells@redhat.com>
2018-04-09 21:12:31 +01:00
..
2018-04-07 09:08:24 -07:00
2017-11-27 13:05:09 -08:00
2018-02-01 08:15:25 -05:00
2018-04-09 21:12:31 +01:00
2018-04-02 20:16:00 +02:00
2018-01-15 12:07:54 -08:00
2017-11-02 11:10:55 +01:00
2018-04-04 13:03:38 -07:00
2018-04-06 14:05:14 +01:00
2018-04-07 09:08:24 -07:00
2018-04-07 09:08:24 -07:00
2018-02-11 14:34:03 -08:00
2017-10-19 16:15:16 +02:00
2018-02-08 11:37:31 -08:00
2018-02-01 10:51:18 -05:00
2018-03-29 15:07:47 -04:00
2018-03-14 13:31:23 +01:00
2018-02-12 14:15:04 -05:00
2018-02-11 14:34:03 -08:00
2018-02-22 10:21:02 -08:00
2017-11-27 13:05:09 -08:00
2018-02-07 14:25:22 -08:00
2018-03-02 14:23:11 +01:00
2018-04-06 11:07:08 -07:00
2018-04-03 18:52:47 -07:00
2018-02-01 08:15:25 -05:00
2018-01-15 12:07:57 -08:00
2018-04-06 14:05:14 +01:00
2018-03-23 06:31:37 -04:00
2018-04-06 11:07:08 -07:00
2017-11-27 13:05:09 -08:00
2018-02-06 18:32:45 -08:00
2018-04-02 20:15:53 +02:00
2017-12-10 12:58:18 -08:00
2018-04-05 21:36:21 -07:00
2017-11-27 13:05:09 -08:00
2018-02-19 12:22:53 -05:00
2018-03-15 18:22:26 +01:00
2018-02-03 16:25:42 -08:00
2018-02-11 14:34:03 -08:00
2018-03-27 13:18:09 -04:00
2018-03-26 15:55:57 +02:00
2018-04-07 09:08:24 -07:00
2018-03-27 13:18:09 -04:00
2018-04-03 16:27:08 -04:00
2018-02-06 18:32:45 -08:00
2017-11-02 11:10:55 +01:00
2018-04-05 19:17:50 -07:00
2018-03-28 01:39:02 -04:00
2018-04-06 14:19:26 -07:00
2017-11-02 11:10:55 +01:00
2017-11-27 13:05:09 -08:00
2018-04-09 12:45:47 -07:00
2018-03-07 11:47:15 +01:00
2018-03-27 13:18:09 -04:00
2018-04-06 15:45:33 -07:00
2017-11-27 13:05:09 -08:00
2017-11-27 13:05:09 -08:00
2018-04-02 20:15:47 +02:00
2017-09-06 17:27:26 -07:00
2018-03-09 13:04:20 +01:00
2017-11-27 13:05:09 -08:00
2017-11-27 13:05:09 -08:00
2018-03-19 21:14:26 -04:00
2017-11-27 13:05:09 -08:00
2017-07-06 03:31:46 -04:00
2018-03-28 01:39:02 -04:00
2018-03-02 14:23:12 +01:00
2018-02-07 14:25:22 -08:00
2018-04-06 11:07:08 -07:00
2018-03-19 10:12:03 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-09-04 19:05:15 -04:00
2017-11-17 12:54:01 -08:00
2018-02-06 18:32:45 -08:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:16:00 +02:00
2017-10-03 17:54:25 -07:00
2018-04-05 21:36:23 -07:00
2018-04-05 21:36:27 -07:00
2018-03-15 17:59:24 +01:00
2017-12-28 11:17:29 -05:00
2017-04-17 12:52:27 -04:00
2017-11-17 11:54:55 -08:00
2018-03-29 15:07:46 -04:00
2018-02-03 13:49:22 -08:00
2018-03-29 15:08:21 -04:00
2018-04-02 20:15:39 +02:00
2018-04-06 14:19:26 -07:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:15:39 +02:00
2018-04-02 20:15:37 +02:00
2018-03-19 15:49:32 +11:00
2018-04-02 20:15:42 +02:00
2018-01-15 12:07:51 -08:00
2017-12-07 14:23:30 -05:00
2018-04-02 20:16:00 +02:00
2017-11-02 11:10:55 +01:00
2017-11-07 10:32:44 +01:00
2018-03-28 01:39:02 -04:00
2018-03-11 20:27:56 -07:00
2018-04-06 11:07:08 -07:00
2018-04-02 20:16:03 +02:00
2018-01-29 07:27:24 -08:00
2018-02-06 10:41:33 -08:00
2018-03-26 15:55:57 +02:00
2017-11-27 13:05:09 -08:00
2018-03-26 11:13:09 +02:00
2018-03-29 15:07:46 -04:00
2018-01-09 23:57:52 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-09 12:48:05 -07:00
2018-04-02 20:15:48 +02:00
2018-02-15 15:34:42 -05:00
2018-04-06 11:07:08 -07:00
2018-04-02 20:15:35 +02:00
2017-05-23 08:41:17 -05:00
2018-01-02 19:27:28 -08:00
2018-02-11 14:34:03 -08:00
2018-04-02 20:16:09 +02:00
2018-04-02 20:16:02 +02:00
2018-04-02 20:15:42 +02:00
2018-01-20 02:31:15 -05:00
2018-04-02 20:15:43 +02:00
2018-04-02 20:15:40 +02:00
2018-04-02 20:15:34 +02:00
2017-11-27 13:05:09 -08:00
2018-01-31 09:25:20 -08:00
2018-04-04 12:44:02 -07:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-04-02 20:15:44 +02:00
2017-10-04 18:03:15 +11:00