diff options
author | cperciva <cperciva@FreeBSD.org> | 2009-06-24 23:17:00 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2009-06-24 23:17:00 +0000 |
commit | 8f1962d8fc528050e30fea347d88c0f96b905608 (patch) | |
tree | cb558ef8f9bf60cb354f08b5cefbf7d7686ceabd /usr.sbin/sysinstall/options.c | |
parent | 11197296caae985dd245decd98433d199f255d12 (diff) | |
download | FreeBSD-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.c | 3 |
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"; |