]>
Commit | Line | Data |
---|---|---|
2bd0ea18 | 1 | /* |
b74a1f6a | 2 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. |
da23017d | 3 | * All Rights Reserved. |
9440d84d | 4 | * |
da23017d NS |
5 | * This program is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU General Public License as | |
2bd0ea18 | 7 | * published by the Free Software Foundation. |
9440d84d | 8 | * |
da23017d NS |
9 | * This program is distributed in the hope that it would be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
9440d84d | 13 | * |
da23017d NS |
14 | * You should have received a copy of the GNU General Public License |
15 | * along with this program; if not, write the Free Software Foundation, | |
16 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
2bd0ea18 | 17 | */ |
9440d84d NS |
18 | #ifndef LIBXFS_INIT_H |
19 | #define LIBXFS_INIT_H | |
2bd0ea18 | 20 | |
f594a0d1 | 21 | struct stat; |
9440d84d | 22 | |
93d9f139 | 23 | extern int platform_check_ismounted (char *path, char *block, |
f594a0d1 FJ |
24 | struct stat *sptr, int verbose); |
25 | extern int platform_check_iswritable (char *path, char *block, struct stat *sptr); | |
edd45774 | 26 | extern int platform_set_blocksize (int fd, char *path, dev_t device, int bsz, int fatal); |
ac419944 | 27 | extern void platform_flush_device (int fd, dev_t device); |
cb5b3ef4 | 28 | extern char *platform_findrawpath(char *path); |
b74a1f6a NS |
29 | extern char *platform_findrawpath (char *path); |
30 | extern char *platform_findblockpath (char *path); | |
31 | extern int platform_direct_blockdev (void); | |
32 | extern int platform_align_blockdev (void); | |
2556c98b | 33 | extern unsigned long platform_physmem(void); /* in kilobytes */ |
e321f629 | 34 | extern int platform_has_uuid; |
b74a1f6a | 35 | |
9440d84d | 36 | #endif /* LIBXFS_INIT_H */ |