diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2017-02-06 09:18:47 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2017-02-06 09:18:47 +0000 |
commit | 467c82cb848afc8fc3e1540553900c9ed2c97082 (patch) | |
tree | 5a821e5720c5e7092421d568d6853e789ba18eb0 /lib/libstand | |
parent | 7a60826b652cf75ae70515ab07ca1ab42dc98379 (diff) | |
download | src-467c82cb848afc8fc3e1540553900c9ed2c97082.tar.gz src-467c82cb848afc8fc3e1540553900c9ed2c97082.zip |
loader: Replace EFI part devices.
Rewrite EFI part device interface to present disk devices in more
user friendly way.
We keep list of three types of devices: floppy, cd and disk, the
visible names: fdX: cdX: and diskX:
Use common/disk.c and common/part.c interfaces to manage the
partitioning.
The lsdev -l will additionally list the device path.
Reviewed by: imp, allanjude
Approved by: imp (mentor), allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D8581
Notes
Notes:
svn path=/head/; revision=313333
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/stand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 112a75b39414..537fca759954 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -168,6 +168,7 @@ struct devdesc #define DEVT_NET 2 #define DEVT_CD 3 #define DEVT_ZFS 4 +#define DEVT_FD 5 int d_unit; void *d_opendata; }; |