Changeset View
Changeset View
Standalone View
Standalone View
lib/libfstyp/geli.c
- This file was moved from usr.sbin/fstyp/geli.c.
Show All 30 Lines | |||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <geom/eli/g_eli.h> | #include <geom/eli/g_eli.h> | ||||
#include "fstyp.h" | #include "fstyp.h" | ||||
#include "fstyp_p.h" | |||||
int | int | ||||
fstyp_geli(FILE *fp, char *label __unused, size_t labelsize __unused) | fstyp_geli(FILE *fp, char *label __unused, size_t labelsize __unused) | ||||
{ | { | ||||
int error; | int error; | ||||
off_t mediasize; | off_t mediasize; | ||||
u_int sectorsize; | u_int sectorsize; | ||||
struct g_eli_metadata md; | struct g_eli_metadata md; | ||||
Show All 25 Lines |