1fstyp_ident(3FSTFYiPl)e System Type Identification Library Functfisotnysp_ident(3FSTYP)
2
3
4
6 fstyp_ident - identify file system attributes
7
9 cc [ flag... ] file... -lfstyp -lnvpair [ library... ]
10 #include <libnvpair.h>
11 #include <libfstyp.h>
12
13 int fstyp_ident(fstyp_handle_t handle, const char *fstyp,
14 const char **ident);
15
16
18 handle Opaque handle returned by fstyp_init(3FSTYP).
19
20
21 fstype Opaque argument that specifies the file system type to be
22 identified.
23
24
25 ident File system type returned if identification succeeds.
26
27
29 The fstyp_ident() function attempts to identify a file system associ‐
30 ated with the handle. If the function succeeds, the file system name is
31 returned in the ident pointer.
32
33
34 If fstype is NULL, the fstyp_ident() function tries all available iden‐
35 tification modules. If fstype is other than NULL, fstyp_ident() tries
36 only the module for the file system type which is specified.
37
39 The fstyp_ident() function returns 0 on success and an error value on
40 failure. See fstyp_strerror(3FSTYP).
41
43 See attributes(5) for descriptions of the following attributes:
44
45
46
47
48 ┌─────────────────────────────┬─────────────────────────────┐
49 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Interface Stability │Evolving │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │MT-Level │MT-Safe │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 fstyp_init(3FSTYP), fstyp_mod_init(3FSTYP), fstyp_strerror(3FSTYP),
58 libfstyp(3LIB), attributes(5)
59
60
61
62SunOS 5.11 20 Jun 2006 fstyp_ident(3FSTYP)