diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-12 00:34:45 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-12 00:34:45 +0000 |
| commit | ac445fbab5265e30150f8ce02d5fcc3198d2e944 (patch) | |
| tree | 43bfacde7b0c9f2e8fd4aeab064dc1c1964e4893 /sys | |
| parent | 9417a618d1f79a2f3ab7d9dd94190e88ec839624 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/geom/label/g_label.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c index d3f981526db1..1f49d0b65eb3 100644 --- a/sys/geom/label/g_label.c +++ b/sys/geom/label/g_label.c @@ -67,9 +67,13 @@ struct g_class g_label_class = { /* * To add a new file system where you want to look for volume labels, * you have to: - * 1. Add a file which implements looking for volume labels. - * 2. Add an 'extern const struct g_label_desc g_label_<your file system>;'. - * 3. Add an element to the table below '&g_label_<your_file_system>,'. + * 1. Add a file g_label_<file system>.c which implements labels recognition. + * 2. Add an 'extern const struct g_label_desc g_label_<file system>;' into + * g_label.h file. + * 3. Add an element to the table below '&g_label_<file system>,'. + * 4. Add your file to sys/conf/files. + * 5. Add your file to sys/modules/geom/geom_label/Makefile. + * 6. Add your file system to manual page sbin/geom/class/label/glabel.8. */ const struct g_label_desc *g_labels[] = { &g_label_ufs, |
