diff options
| author | Karel Zak <kzak@redhat.com> | 2011-04-21 14:53:23 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2011-04-21 14:53:23 +0200 |
| commit | 699abc838104ff18e0883d42cfdac60a7c9f03ab (patch) | |
| tree | d0b69568262d46de76372e578772cee3fe5f4f9a /tests/expected/libmount/optstr-split | |
| parent | 7f9d92499a35e0165cf863e71500ab3288cfa67a (diff) | |
| download | util-linux-699abc838104ff18e0883d42cfdac60a7c9f03ab.tar.gz | |
libmount: add support for x-* mount comments
The current way how add any comment or extra information to /etc/fstab
is to use comment="" mount option. This is not too elegant and readable
if you want to add more than one comment.
It seems better to add any generic prefix that will be used for all
3rd-party userspace mount options.
Expected syntax is:
x-<application>-<options>[=<data>]
For example:
x-systemd-bar=managed
All x-* options (as well as comment=) are ignored by libmount and not
stored to the mtab file.
Requested-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/libmount/optstr-split')
| -rw-r--r-- | tests/expected/libmount/optstr-split | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expected/libmount/optstr-split b/tests/expected/libmount/optstr-split index bd2bc2374..341a64035 100644 --- a/tests/expected/libmount/optstr-split +++ b/tests/expected/libmount/optstr-split @@ -1,3 +1,3 @@ -user : user=kzak,loop=/dev/loop0 +user : x-bar,x-foo=foodata,user=kzak,loop=/dev/loop0 vfs : noexec,nosuid fs : aaa,bbb=BBB,ccc |
