blob: fbd5b1f8bd69becf65f98287114176ebeb4a00b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
const
BLOCK_SIZE = 1024;
BLOCK_SIZE_BITS = 10;
MS_RDONLY = 1;
MS_NOSUID = 2;
MS_NODEV = 4;
MS_NOEXEC = 8;
MS_SYNCHRONOUS = 16;
MS_REMOUNT = 32;
MS_MANDLOCK = 64;
S_WRITE = 128;
S_APPEND = 256;
S_IMMUTABLE = 512;
MS_NOATIME = 1024;
MS_NODIRATIME = 2048;
MS_BIND = 4096;
MS_RMT_MASK = MS_RDONLY or MS_MANDLOCK;
MS_MGC_VAL = $c0ed0000;
MS_MGC_MSK = $ffff0000;
MNT_FORCE = 1;
function mount(__special_file:Pchar; __dir:Pchar; __fstype:Pchar; __rwflag:dword; __data:pointer):longint;cdecl;external clib name 'mount';
function umount(__special_file:Pchar):longint;cdecl;external clib name 'umount';
function umount2(__special_file:Pchar; __flags:longint):longint;cdecl;external clib name 'umount2';
|