From owner-freebsd-questions@freebsd.org Mon Aug 28 22:45:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14019E1560C for ; Mon, 28 Aug 2017 22:45:11 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA44A6799A for ; Mon, 28 Aug 2017 22:45:10 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wm0-x236.google.com with SMTP id y71so11140750wmd.0 for ; Mon, 28 Aug 2017 15:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacehouse.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=DGsrRyiwuDB4qvUvMjGq+JNQZ913LwQqqI/SWKt4swc=; b=cKgvdQ0yc7YhW1BMBevlUH6xQvwPoLuiO/7pXEtxgnD8AOTf98iaRIIX5x4c3FS0Va zsXDVj62V5kKpaitC+qZ1w3b6nsXDKdmNnBDoJHsojJoRB3O1zZCos3bT3CvRtCgC6EO rE+5qvmAYPZuoAD4Q2d5kF0HdEwjWqFyh6dg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DGsrRyiwuDB4qvUvMjGq+JNQZ913LwQqqI/SWKt4swc=; b=cQexkfedDvHCBSoSgXB1a8b6wEyes+6MAef9flso8PN6fW9bIkjCuHyvf8gxbq0Xvu t7DPUPWX5mro0YR4ey0lj93qt79W95wUjQTFhE25VEZUn0fLawVWrbyTIP9lnG7ho+4H /N+wZvOxbr8KeUCq8ecwee77mMok1iSu+sZ+WNz1kqQwVh7Ri5XaNn6XPQ7ZH8BBlH7J H6RxiKVxWUDCHJ9Dqe9PItBrPevXgQw7rHikF6bd0rjHxrKsyjLZ6Er4XqDL1I7gAhox 1ddJxhs/hfzRHgwOknWmlK+lu9llANmI/8LaKnNkAQ5clyXi9kp/2LyVGVNrjaF5dyMD SQGA== X-Gm-Message-State: AHYfb5hWbo6P0JrpxR8x0M4v4U0/yhbZr047WiWDpPKDikLZH93jrcKG V/JSiLapxDsGBjzitNYyHUDHFoykK2Wxc7xXNw== X-Received: by 10.28.236.69 with SMTP id k66mr1424745wmh.163.1503960307991; Mon, 28 Aug 2017 15:45:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Mon, 28 Aug 2017 15:44:47 -0700 (PDT) From: "James E. Pace" Date: Mon, 28 Aug 2017 15:44:47 -0700 Message-ID: Subject: mknod to create /dev/null equivalent not working To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:45:11 -0000 After "mknod /foo/dev/null c 0 0x1b": $ \ls -l /dev/null /foo/dev/null crw-rw-rw- 1 root wheel 0x1b Aug 28 15:34 /foo/dev/null crw-rw-rw- 1 root wheel 0x1b Aug 28 15:36 /dev/null $ cat /etc/hosts > /dev/null $ cat /etc/hosts > /foo/dev/null /foo/dev/null: Operation not supported. What am I doing wrong? Why isn't the device I created acting like /dev/null? Tried on FreeBSD 11.1. Thanks, James -- James E. Pace