Mercurial > illumos > onarm
annotate usr/src/cmd/hal/utils/fsutils.h @ 4:1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
author | Koji Uno <koji.uno@sun.com> |
---|---|
date | Mon, 31 Aug 2009 14:38:03 +0900 |
parents | c9caec207d52 |
children |
rev | line source |
---|---|
0 | 1 /*************************************************************************** |
2 * | |
3 * fsutils.h : definitions for filesystem utilities | |
4 * | |
5 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. | |
6 * Use is subject to license terms. | |
7 * | |
8 * Licensed under the Academic Free License version 2.1 | |
9 * | |
10 **************************************************************************/ | |
11 | |
4
1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
Koji Uno <koji.uno@sun.com>
parents:
0
diff
changeset
|
12 #pragma ident "%Z%%M% %I% %E% SMI" |
0 | 13 |
14 #ifndef FSUTILS_H | |
15 #define FSUTILS_H | |
16 | |
17 #include <sys/types.h> | |
18 #include <sys/vtoc.h> | |
19 | |
20 boolean_t dos_to_dev(char *path, char **devpath, int *num); | |
21 char *get_slice_name (char *devlink); | |
22 boolean_t is_dos_drive(uchar_t id); | |
23 boolean_t is_dos_extended(uchar_t id); | |
24 boolean_t find_dos_drive(int fd, int num, int *relsect, int *numsect, int *systid); | |
25 int get_num_dos_drives(int fd); | |
26 boolean_t vtoc_one_slice_entire_disk(struct vtoc *vtoc); | |
27 | |
28 #endif /* FSUTILS_H */ |