java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf92.MntEntFsMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x40 = 64static final int
Constant: 0x20 = 32static final int
Constant: 0x10 = 16static final int
Constant: 0x04 = 4static final int
Constant: 0x20 = 32static final int
Constant: 0x08 = 8static final int
Constant: 0x02 = 2static final int
Constant: 0x04 = 4static final int
Constant: 0x01 = 1static final int
Constant: 0x00 = 0static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x02 = 2static final int
Constant: 0x10 = 16static final int
Constant: 0x01 = 1static final int
Constant: 0x80 = 128 -
Method Summary
Modifier and TypeMethodDescriptionstatic MntEntFsMode
create
(byte[] Data, int offset, int length) create is intended for internal use only.boolean
Return true ifMNTENTFSAUNMOUNT
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTFSCLIENT
bit inmntEntFsMode4()
is set.long
MNTENTFSMODE value.int
MNTENTFSMODE1 value.int
MNTENTFSMODE2 value.int
MNTENTFSMODE3 value.int
MNTENTFSMODE4 value.boolean
Return true ifMNTENTFSMODEBIND
bit inmntEntFsMode3()
is set.boolean
Return true ifMNTENTFSMODEEXPORT
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTFSMODEMOVE
bit inmntEntFsMode3()
is set.boolean
Return true ifMNTENTFSMODENOSEC
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTFSMODENOSUID
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTFSMODEPRIVATE
bit inmntEntFsMode2()
is set.boolean
Return true ifMNTENTFSMODERDONLY
bit inmntEntFsMode4()
is set.boolean
Return true ifmntEntFsMode4()
masked by 0x01 equalsMNTENTFSMODERDWR
.boolean
Return true ifMNTENTFSMODEREC
bit inmntEntFsMode3()
is set.boolean
Return true ifMNTENTFSMODEREMOUNT
bit inmntEntFsMode3()
is set.boolean
Return true ifMNTENTFSMODEUNBINDABLE
bit inmntEntFsMode2()
is set.boolean
Return true ifMNTENTFSNOAUTOMOVE
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTSECACL
bit inmntEntFsMode4()
is set.boolean
Return true ifMNTENTFSSYNCHONLY
bit inmntEntFsMode3()
is set.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
MNTENTFSMODEPRIVATE
public static final int MNTENTFSMODEPRIVATEConstant: 0x04 = 4- See Also:
-
MNTENTFSMODEUNBINDABLE
public static final int MNTENTFSMODEUNBINDABLEConstant: 0x02 = 2- See Also:
-
MNTENTFSMODEREMOUNT
public static final int MNTENTFSMODEREMOUNTConstant: 0x80 = 128- See Also:
-
MNTENTFSMODEREC
public static final int MNTENTFSMODERECConstant: 0x40 = 64- See Also:
-
MNTENTFSMODEMOVE
public static final int MNTENTFSMODEMOVEConstant: 0x20 = 32- See Also:
-
MNTENTFSMODEBIND
public static final int MNTENTFSMODEBINDConstant: 0x10 = 16- See Also:
-
MNTENTFSSYNCHONLY
public static final int MNTENTFSSYNCHONLYConstant: 0x01 = 1- See Also:
-
MNTENTSECACL
public static final int MNTENTSECACLConstant: 0x80 = 128- See Also:
-
MNTENTFSAUNMOUNT
public static final int MNTENTFSAUNMOUNTConstant: 0x40 = 64- See Also:
-
MNTENTFSCLIENT
public static final int MNTENTFSCLIENTConstant: 0x20 = 32- See Also:
-
MNTENTFSNOAUTOMOVE
public static final int MNTENTFSNOAUTOMOVEConstant: 0x10 = 16- See Also:
-
MNTENTFSMODENOSEC
public static final int MNTENTFSMODENOSECConstant: 0x08 = 8- See Also:
-
MNTENTFSMODEEXPORT
public static final int MNTENTFSMODEEXPORTConstant: 0x04 = 4- See Also:
-
MNTENTFSMODENOSUID
public static final int MNTENTFSMODENOSUIDConstant: 0x02 = 2- See Also:
-
MNTENTFSMODERDONLY
public static final int MNTENTFSMODERDONLYConstant: 0x01 = 1- See Also:
-
MNTENTFSMODERDWR
public static final int MNTENTFSMODERDWRConstant: 0x00 = 0- See Also:
-
-
Method Details
-
mntEntFsMode
public long mntEntFsMode()MNTENTFSMODE value.- Returns:
- long MNTENTFSMODE value
-
mntEntFsMode1
public int mntEntFsMode1()MNTENTFSMODE1 value.- Returns:
- int MNTENTFSMODE1 value
-
mntEntFsMode2
public int mntEntFsMode2()MNTENTFSMODE2 value.- Returns:
- int MNTENTFSMODE2 value
-
mntentfsmodeprivate
public boolean mntentfsmodeprivate()Return true ifMNTENTFSMODEPRIVATE
bit inmntEntFsMode2()
is set.- Returns:
- boolean MNTENTFSMODEPRIVATE bit is set in mntEntFsMode2()
MNTENTFSMODEPRIVATE = 0x04
-
mntentfsmodeunbindable
public boolean mntentfsmodeunbindable()Return true ifMNTENTFSMODEUNBINDABLE
bit inmntEntFsMode2()
is set.- Returns:
- boolean MNTENTFSMODEUNBINDABLE bit is set in mntEntFsMode2()
MNTENTFSMODEUNBINDABLE = 0x02
-
mntEntFsMode3
public int mntEntFsMode3()MNTENTFSMODE3 value.- Returns:
- int MNTENTFSMODE3 value
-
mntentfsmoderemount
public boolean mntentfsmoderemount()Return true ifMNTENTFSMODEREMOUNT
bit inmntEntFsMode3()
is set.- Returns:
- boolean MNTENTFSMODEREMOUNT bit is set in mntEntFsMode3()
MNTENTFSMODEREMOUNT = 0x80
-
mntentfsmoderec
public boolean mntentfsmoderec()Return true ifMNTENTFSMODEREC
bit inmntEntFsMode3()
is set.- Returns:
- boolean MNTENTFSMODEREC bit is set in mntEntFsMode3()
MNTENTFSMODEREC = 0x40
-
mntentfsmodemove
public boolean mntentfsmodemove()Return true ifMNTENTFSMODEMOVE
bit inmntEntFsMode3()
is set.- Returns:
- boolean MNTENTFSMODEMOVE bit is set in mntEntFsMode3()
MNTENTFSMODEMOVE = 0x20
-
mntentfsmodebind
public boolean mntentfsmodebind()Return true ifMNTENTFSMODEBIND
bit inmntEntFsMode3()
is set.- Returns:
- boolean MNTENTFSMODEBIND bit is set in mntEntFsMode3()
MNTENTFSMODEBIND = 0x10
-
mntEntFsSynchOnly
public boolean mntEntFsSynchOnly()Return true ifMNTENTFSSYNCHONLY
bit inmntEntFsMode3()
is set.- Returns:
- boolean MNTENTFSSYNCHONLY bit is set in mntEntFsMode3()
MNTENTFSSYNCHONLY = 0x01
-
mntEntFsMode4
public int mntEntFsMode4()MNTENTFSMODE4 value.- Returns:
- int MNTENTFSMODE4 value
-
mntEntFsSecAcl
public boolean mntEntFsSecAcl()Return true ifMNTENTSECACL
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTSECACL bit is set in mntEntFsMode4()
MNTENTSECACL = 0x80
-
mntEntFsAUnmount
public boolean mntEntFsAUnmount()Return true ifMNTENTFSAUNMOUNT
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSAUNMOUNT bit is set in mntEntFsMode4()
MNTENTFSAUNMOUNT = 0x40
-
mntEntFsClient
public boolean mntEntFsClient()Return true ifMNTENTFSCLIENT
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSCLIENT bit is set in mntEntFsMode4()
MNTENTFSCLIENT = 0x20
-
mntEntFsNoAutomove
public boolean mntEntFsNoAutomove()Return true ifMNTENTFSNOAUTOMOVE
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSNOAUTOMOVE bit is set in mntEntFsMode4()
MNTENTFSNOAUTOMOVE = 0x10
-
mntEntFsModeNoSec
public boolean mntEntFsModeNoSec()Return true ifMNTENTFSMODENOSEC
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSMODENOSEC bit is set in mntEntFsMode4()
MNTENTFSMODENOSEC = 0x08
-
mntEntFsModeExport
public boolean mntEntFsModeExport()Return true ifMNTENTFSMODEEXPORT
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSMODEEXPORT bit is set in mntEntFsMode4()
MNTENTFSMODEEXPORT = 0x04
-
mntEntFsModeNoSuid
public boolean mntEntFsModeNoSuid()Return true ifMNTENTFSMODENOSUID
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSMODENOSUID bit is set in mntEntFsMode4()
MNTENTFSMODENOSUID = 0x02
-
mntEntFsModeRdOnly
public boolean mntEntFsModeRdOnly()Return true ifMNTENTFSMODERDONLY
bit inmntEntFsMode4()
is set.- Returns:
- boolean MNTENTFSMODERDONLY bit is set in mntEntFsMode4()
MNTENTFSMODERDONLY = 0x01
-
mntEntFsModeRdwr
public boolean mntEntFsModeRdwr()Return true ifmntEntFsMode4()
masked by 0x01 equalsMNTENTFSMODERDWR
.- Returns:
- boolean
mntEntFsMode4()
& 0x01 equals MNTENTFSMODERDWRMNTENTFSMODERDWR = 0x00
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-