diff options
author | pjd <pjd@FreeBSD.org> | 2005-08-12 00:34:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-08-12 00:34:45 +0000 |
commit | e0a42961b2423dd06838fbd6b69e60f941ed2305 (patch) | |
tree | 43bfacde7b0c9f2e8fd4aeab064dc1c1964e4893 /sys/geom | |
parent | b9935076f6d0352cb96735e74d00a7850815549e (diff) | |
download | FreeBSD-src-e0a42961b2423dd06838fbd6b69e60f941ed2305.zip FreeBSD-src-e0a42961b2423dd06838fbd6b69e60f941ed2305.tar.gz |
Provide more complete "How to add a new file system to glabel." list.
MFC after: 1 week
Diffstat (limited to 'sys/geom')
-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 d3f9815..1f49d0b 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, |