From owner-freebsd-bugs Thu Jan 23 10:30:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA03333 for bugs-outgoing; Thu, 23 Jan 1997 10:30:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA03324; Thu, 23 Jan 1997 10:30:02 -0800 (PST) Resent-Date: Thu, 23 Jan 1997 10:30:02 -0800 (PST) Resent-Message-Id: <199701231830.KAA03324@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, wilcox@nosc.mil Received: from first.nosc.mil (first.nosc.mil [128.49.219.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA03052 for ; Thu, 23 Jan 1997 10:24:51 -0800 (PST) Received: (from wilcox@localhost) by first.nosc.mil (8.7.5/8.7.3) id KAA00462; Thu, 23 Jan 1997 10:28:31 -0800 (PST) Message-Id: <199701231828.KAA00462@first.nosc.mil> Date: Thu, 23 Jan 1997 10:28:31 -0800 (PST) From: wilcox@nosc.mil Reply-To: wilcox@nosc.mil To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2567: mknod minor device field overflow warning Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2567 >Category: bin >Synopsis: mknod doesn't warn when minor overlaps major >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 23 10:30:01 PST 1997 >Last-Modified: >Originator: Dwight R. Wilcox >Organization: NRaD Code 4122, San Diego, CA 92152 >Release: FreeBSD 2.1.5-STABLE i386 >Environment: Nothing unusual relevant to this problem. >Description: The /sbin/mknod command fails to warn the user when a minor device number field is given which has non-zero bits overlapping the major device number field. For example: /sbin/mknod specialfile c 20 256 will set the major device number to 21 and the minor device number to 0. >How-To-Repeat: See description above. >Fix: Verify that bits 8-15 of the minor device number are zero. >Audit-Trail: >Unformatted: