blob: 8f4558d7d6f5a7534315b05edc33136ad1ba9762 (
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
|
/***************************************************************************
*
* fsutils.h : definitions for filesystem utilities
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Licensed under the Academic Free License version 2.1
*
**************************************************************************/
#ifndef FSUTILS_H
#define FSUTILS_H
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
bool dos_to_dev(char *path, char **devpath, int *num);
char *get_slice_name (char *devlink);
bool is_dos_drive(u_char id);
bool is_dos_extended(u_char id);
bool find_dos_drive(int fd, int num, int *relsect, int *numsect, int *systid);
#endif /* FSUTILS_H */
|