summaryrefslogtreecommitdiffstats
path: root/isys/isys.h
blob: 7f594543cff026193c2e8031ba1be6421bbe189b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef H_ISYS
#define H_ISYS

#define MIN_ROOTPART_SIZE_MB	250

#define MIN_RAM			17000	    /* 20M or so */
#define MIN_GUI_RAM		48000
#define EARLY_SWAP_RAM		72000

/* returns -2 for errno, -1 for unknown device */
int devMakeInode(char * devName, char * path);

int insmod(char * modName, char * path, char ** args);
int rmmod(char * modName);

/* returns 0 for true, !0 for false */
int fileIsIso(const char * file);

/* returns 1 for link, 0 for no link, -1 for unknown */
int get_link_status(char *ifname);

#endif