diff options
author | pjd <pjd@FreeBSD.org> | 2004-11-06 13:07:02 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-11-06 13:07:02 +0000 |
commit | d18ec52c7546f2c9d388a7ea50c53e7fe5c40659 (patch) | |
tree | 1082e170109a097c61a61bf73ce9f89781b9a66c /sys/sys/mdioctl.h | |
parent | 2b775a8633a9fd57b9fe564ed98292d3b7fac655 (diff) | |
download | FreeBSD-src-d18ec52c7546f2c9d388a7ea50c53e7fe5c40659.zip FreeBSD-src-d18ec52c7546f2c9d388a7ea50c53e7fe5c40659.tar.gz |
For file backed md(4) devices output their source file via
'mdconfig -l -u <unit>'.
Bump version number, as this change breaks ABI/API.
Diffstat (limited to 'sys/sys/mdioctl.h')
-rw-r--r-- | sys/sys/mdioctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h index e45c096..afc0cb8 100644 --- a/sys/sys/mdioctl.h +++ b/sys/sys/mdioctl.h @@ -54,20 +54,20 @@ struct md_ioctl { unsigned md_version; /* Structure layout version */ unsigned md_unit; /* unit number */ enum md_types md_type ; /* type of disk */ - char *md_file; /* pathname of file to mount */ off_t md_mediasize; /* size of disk in bytes */ unsigned md_sectorsize; /* sectorsize */ unsigned md_options; /* options */ u_int64_t md_base; /* base address */ int md_fwheads; /* firmware heads */ int md_fwsectors; /* firmware sectors */ + char md_file[PATH_MAX]; /* pathname of file to mount */ int md_pad[MDNPAD]; /* padding for future ideas */ }; #define MD_NAME "md" #define MD_MODNAME "g_md" #define MDCTL_NAME "mdctl" -#define MDIOVERSION 0 +#define MDIOVERSION 1 /* * Before you can use a unit, it must be configured with MDIOCSET. |