[LTP] [PATCH 1/3] tst_test: Handle device mkfs/mount int the library

Cyril Hrubis chrubis@suse.cz
Tue Feb 14 16:28:56 CET 2017


Hi!
> +	/* Minimal device size in bytes */
                                  ^
				  This should be megabytes
				  I will fix it in my tree
> +	unsigned int dev_min_size;
> +
> +	/* Device filesystem type override NULL == default */
> +	const char *dev_fs_type;
> +
> +	/* Options passed to SAFE_MKFS() when format_device is set */
> +	struct tst_dev_opts *dev_opts;
> +	const char *const *dev_fs_opts;
> +	const char *dev_extra_opt;
> +
> +	/* Device mount options, used if mount_device is set */
> +	const char *mntpoint;
> +	unsigned int mnt_flags;
> +	void *mnt_data;

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list