summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-03-05 18:07:59 +0000
committersobomax <sobomax@FreeBSD.org>2003-03-05 18:07:59 +0000
commite7458d0bf2dcb8c909280d2518c0cd3b07ccf2f3 (patch)
tree67a7f32a4e24cb3b9ba3a01c3b9d005f899e1206 /usr.sbin
parentafad0cd7d12c266168acda2e3d48a1587d3fc07b (diff)
downloadFreeBSD-src-e7458d0bf2dcb8c909280d2518c0cd3b07ccf2f3.zip
FreeBSD-src-e7458d0bf2dcb8c909280d2518c0cd3b07ccf2f3.tar.gz
Add missed description for the `ds' (disc(4)) pseudo-interface.
Sponsored by: Porta Software Ltd MFC after: 20 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/devices.c3
-rw-r--r--usr.sbin/sysinstall/devices.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c
index e939a28..835233d 100644
--- a/usr.sbin/sade/devices.c
+++ b/usr.sbin/sade/devices.c
@@ -131,6 +131,7 @@ static struct _devname {
{ DEVICE_TYPE_NETWORK, "cuaa%d", "%s on device %s (COM%d)", 28, 128, 1, 16 },
{ DEVICE_TYPE_NETWORK, "lp", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
+ { DEVICE_TYPE_NETWORK, "ds", "Software discard network interface" },
#ifdef PC98
{ DEVICE_TYPE_DISK, "wd%d", "IDE disk device", 3, 65538, 8, 16 },
{ DEVICE_TYPE_CDROM, "wcd%dc", "ATAPI IDE CDROM", 69, 2, 8, 4 },
@@ -446,7 +447,7 @@ skipif:
Disk *d;
/* Ignore memory disks */
- if (!strncmp(names[i], "md", 2))
+ if (!strncmp(names[i], "m_d", 2))
continue;
d = Open_Disk(names[i]);
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c
index e939a28..835233d 100644
--- a/usr.sbin/sysinstall/devices.c
+++ b/usr.sbin/sysinstall/devices.c
@@ -131,6 +131,7 @@ static struct _devname {
{ DEVICE_TYPE_NETWORK, "cuaa%d", "%s on device %s (COM%d)", 28, 128, 1, 16 },
{ DEVICE_TYPE_NETWORK, "lp", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
+ { DEVICE_TYPE_NETWORK, "ds", "Software discard network interface" },
#ifdef PC98
{ DEVICE_TYPE_DISK, "wd%d", "IDE disk device", 3, 65538, 8, 16 },
{ DEVICE_TYPE_CDROM, "wcd%dc", "ATAPI IDE CDROM", 69, 2, 8, 4 },
@@ -446,7 +447,7 @@ skipif:
Disk *d;
/* Ignore memory disks */
- if (!strncmp(names[i], "md", 2))
+ if (!strncmp(names[i], "m_d", 2))
continue;
d = Open_Disk(names[i]);
OpenPOWER on IntegriCloud