Whamcloud - gitweb
LU-1581 utils: osd_make_lustre() wrapper
[fs/lustre-release.git] / lustre / utils / mount_utils.h
index 9d732c3..ad2f266 100644 (file)
@@ -98,10 +98,16 @@ int loop_setup(struct mkfs_opts *mop);
 int loop_cleanup(struct mkfs_opts *mop);
 
 /* generic target support */
+int osd_read_ldd(char *dev, struct lustre_disk_data *ldd);
+int osd_is_lustre(char *dev, unsigned *mount_type);
+int osd_make_lustre(struct mkfs_opts *mop);
 int osd_prepare_lustre(struct mkfs_opts *mop,
                       char *default_mountopts, int default_len,
                       char *always_mountopts, int always_len);
 
+int ldiskfs_read_ldd(char *dev, struct lustre_disk_data *ldd);
+int ldiskfs_is_lustre(char *dev, unsigned *mount_type);
+int ldiskfs_make_lustre(struct mkfs_opts *mop);
 int ldiskfs_prepare_lustre(struct mkfs_opts *mop,
                           char *default_mountopts, int default_len,
                           char *always_mountopts, int always_len);