From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B5C9C433E0 for ; Wed, 17 Mar 2021 18:26:32 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C02164DE0 for ; Wed, 17 Mar 2021 18:26:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C02164DE0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gpanders.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1lMas0-0002bf-AS; Wed, 17 Mar 2021 14:26:12 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lMary-0002bC-J6 for kernelnewbies@kernelnewbies.org; Wed, 17 Mar 2021 14:26:10 -0400 X-Originating-IP: 73.228.7.205 Received: from localhost (c-73-228-7-205.hsd1.nm.comcast.net [73.228.7.205]) (Authenticated sender: greg@gpanders.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 27966240002; Wed, 17 Mar 2021 18:26:06 +0000 (UTC) Date: Wed, 17 Mar 2021 12:26:04 -0600 From: Gregory Anders To: Greg KH Subject: Re: Device file not appearing Message-ID: Mail-Followup-To: Greg KH , kernelnewbies@kernelnewbies.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kernelnewbies-bounces@kernelnewbies.org On Wed, 17 Mar 2021 18:15:27 +0100, Greg KH wrote: >Looks like you have mounted tmpfs on top of devtmpfs, which seems very >odd. Try unmounting the tmpfs instance and see if the node really is >there in devtmpfs. > >Or better yet, mount devtmpfs somewhere else right now to see if the >node is there. > >Good luck with your userspace mount maze! > >greg k-h Ok I finally tracked down what was going on. The embedded distribution I am using uses mdev. mdev has an init script that mounts tmpfs on /dev, which is why devtmpfs wasn't working as expected. mdev requires the kernel option CONFIG_UEVENT_HELPER=y which was not enabled in my configuration (it even has a scary help description, something along the lines of "this should not be used", so I didn't think to enable it until I saw it mentioned somewhere else). After enabling that, the device file appears under /dev. Thanks for your help Greg! _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies