1*2912Sartem /*************************************************************************** 2*2912Sartem * 3*2912Sartem * fsutils.h : definitions for filesystem utilities 4*2912Sartem * 5*2912Sartem * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 6*2912Sartem * Use is subject to license terms. 7*2912Sartem * 8*2912Sartem * Licensed under the Academic Free License version 2.1 9*2912Sartem * 10*2912Sartem **************************************************************************/ 11*2912Sartem 12*2912Sartem #pragma ident "%Z%%M% %I% %E% SMI" 13*2912Sartem 14*2912Sartem #ifndef FSUTILS_H 15*2912Sartem #define FSUTILS_H 16*2912Sartem 17*2912Sartem #include <sys/types.h> 18*2912Sartem #include <sys/vtoc.h> 19*2912Sartem 20*2912Sartem boolean_t dos_to_dev(char *path, char **devpath, int *num); 21*2912Sartem char *get_slice_name (char *devlink); 22*2912Sartem boolean_t is_dos_drive(uchar_t id); 23*2912Sartem boolean_t is_dos_extended(uchar_t id); 24*2912Sartem boolean_t find_dos_drive(int fd, int num, int *relsect, int *numsect, int *systid); 25*2912Sartem int get_num_dos_drives(int fd); 26*2912Sartem boolean_t vtoc_one_slice_entire_disk(struct vtoc *vtoc); 27*2912Sartem 28*2912Sartem #endif /* FSUTILS_H */ 29