diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-02-26 14:58:54 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-02-26 14:58:54 +0000 |
commit | 65cb6238bd63eda5c71dfc6ef8e0e5f458761a8d (patch) | |
tree | 44bde4d5f256ba7cfb26815701cdc05607d77274 /sys/geom/geom_disk.h | |
parent | f008df5eddcf4d11a7997eb564a6443b46ce4d51 (diff) | |
download | src-65cb6238bd63eda5c71dfc6ef8e0e5f458761a8d.tar.gz src-65cb6238bd63eda5c71dfc6ef8e0e5f458761a8d.zip |
Add the disk ident and a human-meaningful description (here, the disk model
string) to the geom_disk config XML so that they are easily accessible from
userland.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=219056
Diffstat (limited to 'sys/geom/geom_disk.h')
-rw-r--r-- | sys/geom/geom_disk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_disk.h b/sys/geom/geom_disk.h index 01dd73236caa..2d5f15d7cd3a 100644 --- a/sys/geom/geom_disk.h +++ b/sys/geom/geom_disk.h @@ -85,6 +85,7 @@ struct disk { u_int d_stripeoffset; u_int d_stripesize; char d_ident[DISK_IDENT_SIZE]; + char d_descr[DISK_IDENT_SIZE]; uint16_t d_hba_vendor; uint16_t d_hba_device; uint16_t d_hba_subvendor; |