diff options
author | Sven Gothel <[email protected]> | 2022-10-17 06:13:58 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-10-17 06:13:58 +0200 |
commit | 85b21599f165f082381d50233992f0bb72d4d519 (patch) | |
tree | 0190918d005dce0009ed55323726996af5d9aaaa /java_jni/org | |
parent | 495a2b415e211e1b1b61f1811371b2ed1ab3c03d (diff) |
jau.fs.linux.[Unm|M]outFlags: Use lower case names in analog to changed C++ jau::fs API
See commit 89f1f86838aee8d712c063411641be69c74da7d6
Diffstat (limited to 'java_jni/org')
-rw-r--r-- | java_jni/org/jau/fs/linux/MountFlags.java | 52 | ||||
-rw-r--r-- | java_jni/org/jau/fs/linux/UnmountFlags.java | 8 |
2 files changed, 30 insertions, 30 deletions
diff --git a/java_jni/org/jau/fs/linux/MountFlags.java b/java_jni/org/jau/fs/linux/MountFlags.java index 010e3a9..e4d7c2f 100644 --- a/java_jni/org/jau/fs/linux/MountFlags.java +++ b/java_jni/org/jau/fs/linux/MountFlags.java @@ -37,32 +37,32 @@ public class MountFlags extends org.jau.fs.MountFlags { public static enum Bit implements org.jau.fs.MountFlags.Bit { none ( 0 ), - MS_RDONLY ( 1 ), - MS_NOSUID ( 2 ), - MS_NODEV ( 4 ), - MS_NOEXEC ( 8 ), - MS_SYNCHRONOUS ( 16 ), - MS_REMOUNT ( 32 ), - MS_MANDLOCK ( 64 ), - MS_DIRSYNC ( 128 ), - MS_NOATIME ( 1024 ), - MS_NODIRATIME ( 2048 ), - MS_BIND ( 4096 ), - MS_MOVE ( 8192 ), - MS_REC ( 16384 ), - MS_SILENT ( 32768 ), - MS_POSIXACL ( 1 << 16 ), - MS_UNBINDABLE ( 1 << 17 ), - MS_PRIVATE ( 1 << 18 ), - MS_SLAVE ( 1 << 19 ), - MS_SHARED ( 1 << 20 ), - MS_RELATIME ( 1 << 21 ), - MS_KERNMOUNT ( 1 << 22 ), - MS_I_VERSION ( 1 << 23 ), - MS_STRICTATIME ( 1 << 24 ), - MS_LAZYTIME ( 1 << 25 ), - MS_ACTIVE ( 1 << 30 ), - MS_NOUSER ( 1 << 31 ); + rdonly ( 1 ), + nosuid ( 2 ), + nodev ( 4 ), + noexec ( 8 ), + synchronous ( 16 ), + remount ( 32 ), + mandlock ( 64 ), + dirsync ( 128 ), + noatime ( 1024 ), + nodiratime ( 2048 ), + bind ( 4096 ), + move ( 8192 ), + rec ( 16384 ), + silent ( 32768 ), + posixacl ( 1 << 16 ), + unbindable ( 1 << 17 ), + private_ ( 1 << 18 ), + slave ( 1 << 19 ), + shared ( 1 << 20 ), + relatime ( 1 << 21 ), + kernmount ( 1 << 22 ), + i_version ( 1 << 23 ), + strictatime ( 1 << 24 ), + lazytime ( 1 << 25 ), + active ( 1 << 30 ), + nouser ( 1 << 31 ); Bit(final long v) { _value = v; } private final long _value; diff --git a/java_jni/org/jau/fs/linux/UnmountFlags.java b/java_jni/org/jau/fs/linux/UnmountFlags.java index b5ba6e7..73da40f 100644 --- a/java_jni/org/jau/fs/linux/UnmountFlags.java +++ b/java_jni/org/jau/fs/linux/UnmountFlags.java @@ -37,10 +37,10 @@ public class UnmountFlags extends org.jau.fs.UnmountFlags { public static enum Bit implements org.jau.fs.UnmountFlags.Bit { none ( 0 ), - MNT_FORCE ( 1 ), - MNT_DETACH ( 2 ), - MNT_EXPIRE ( 4 ), - UMOUNT_NOFOLLOW ( 8 ); + force ( 1 ), + detach ( 2 ), + expire ( 4 ), + nofollow ( 8 ); Bit(final int v) { _value = v; } |