linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan Raue <mailinglists@openelec.tv>
To: linux-hotplug@vger.kernel.org
Subject: Re: Migrating from static /dev to udev
Date: Fri, 25 Sep 2009 23:06:27 +0000	[thread overview]
Message-ID: <4ABD4CF3.6020207@openelec.tv> (raw)
In-Reply-To: <4ABD467F.7010901@broadcom.com>

Hi,

when you only need a automatically managed /dev (and not need udev) you 
can try the first snapshots of the new 2.6.32 kernel with enabled 
devtmpfs. i have tryed this yesterday (linux-2.6.31 +patch 
http://www.kernel.org/pub/linux/kernel/v2.6/next/patch-v2.6.31-next-20090925.bz2) 
and its works very good for me. you can mount /dev with "mount -t 
devtmpfs none /dev" and you have a complete /dev managed by kernel (when 
you need udev and it works, udev is very fast with this).

Stephan

Am 26.09.2009 00:38, schrieb Brendan Moran:
> Hi,
> I'm trying to migrate an armeb embedded Linux build from a static /dev 
> to udev.  I now have the system coming up with udev enabled, but the 
> first thing that udev does is disable my console connection.  Before 
> the console starts endlessly spewing "file not found" messages, udev 
> prints a line like this
>
>    tty ttyAMA0: uevent: unsupported action-string; this will be ignored
>    in a futur
>
> for nearly every device that was in the previous static /dev.
>
> I understand that I can add static rules to udev to fix this, but I 
> also want to migrate naming conventions to standard names--ttyAMA0 
> should be ttyS0, etc.  I can keep legacy names around with symlinks if 
> necessary.
>
> So I'm not quite sure how to get started.  I have disabled udev's 
> startup for the moment, so I can get into /sys.  Is there a guide 
> somewhere on how to migrate from a static /dev to udev?
>
> Thanks,
> Brendan
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> linux-hotplug" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv


  reply	other threads:[~2009-09-25 23:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25 22:38 Migrating from static /dev to udev Brendan Moran
2009-09-25 23:06 ` Stephan Raue [this message]
2009-09-26  9:22 ` Alan Jenkins
2009-09-26 15:41 ` Greg KH
2009-09-28 16:09 ` Brendan Moran
2009-09-28 21:02 ` Alan Jenkins
2009-09-29 17:41 ` Brendan Moran
2009-09-30  3:19 ` Bryan Kadzban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ABD4CF3.6020207@openelec.tv \
    --to=mailinglists@openelec.tv \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).