summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/options.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2009-06-24 23:17:00 +0000
committercperciva <cperciva@FreeBSD.org>2009-06-24 23:17:00 +0000
commit8f1962d8fc528050e30fea347d88c0f96b905608 (patch)
treecb558ef8f9bf60cb354f08b5cefbf7d7686ceabd /usr.sbin/sysinstall/options.c
parent11197296caae985dd245decd98433d199f255d12 (diff)
downloadFreeBSD-src-8f1962d8fc528050e30fea347d88c0f96b905608.zip
FreeBSD-src-8f1962d8fc528050e30fea347d88c0f96b905608.tar.gz
Make sysinstall search for /dev/daXa and register such devices as USB disks.
This covers the common case of unsliced USB drives, and makes it possible to select them as installation source media. PR: 61152, 115197, 135016 Submitted by: randi MFC after: 1 month
Diffstat (limited to 'usr.sbin/sysinstall/options.c')
-rw-r--r--usr.sbin/sysinstall/options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c
index 714ff4d..33b5031 100644
--- a/usr.sbin/sysinstall/options.c
+++ b/usr.sbin/sysinstall/options.c
@@ -78,6 +78,9 @@ mediaCheck(Option *opt)
case DEVICE_TYPE_CDROM:
return "CDROM";
+ case DEVICE_TYPE_USB:
+ return "USB";
+
case DEVICE_TYPE_DOS:
return "DOS";
OpenPOWER on IntegriCloud