linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cleaning /dev
@ 2004-07-29  2:17 mike dixon
  2004-07-29  2:32 ` Mike Frysinger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mike dixon @ 2004-07-29  2:17 UTC (permalink / raw)
  To: linux-hotplug

Hi - 

I just replaced devfs with udev.  I had/have something like1600 entries in /dev and would like to trim that way back to just what is needed (a home computer).  Can I boot from a floppy and remove /dev then restart and only the devs needed will be created?  If so, and it creates all1600 entries again (I don't know how much was left over from devfs), do I need to go through udev conf files figuring out how to keep so many from being created?

Mike

-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cleaning /dev
  2004-07-29  2:17 cleaning /dev mike dixon
@ 2004-07-29  2:32 ` Mike Frysinger
  2004-07-29 23:26 ` mike dixon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-07-29  2:32 UTC (permalink / raw)
  To: linux-hotplug

On Wednesday 28 July 2004 10:17 pm, mike dixon wrote:
> I just replaced devfs with udev.  I had/have something like1600 entries in
> /dev and would like to trim that way back to just what is needed

those nodes were created by your distribution

what distribution do you use ?
-mike


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cleaning /dev
  2004-07-29  2:17 cleaning /dev mike dixon
  2004-07-29  2:32 ` Mike Frysinger
@ 2004-07-29 23:26 ` mike dixon
  2004-07-29 23:40 ` Mike Frysinger
  2004-07-31  0:16 ` mike dixon
  3 siblings, 0 replies; 5+ messages in thread
From: mike dixon @ 2004-07-29 23:26 UTC (permalink / raw)
  To: linux-hotplug


----- Original Message -----
From: Mike Frysinger <vapier@gentoo.org>
Date: Wed, 28 Jul 2004 22:32:49 -0400
To: linux-hotplug-devel@lists.sourceforge.net
Subject: Re: cleaning /dev

> On Wednesday 28 July 2004 10:17 pm, mike dixon wrote:
> > I just replaced devfs with udev.  I had/have something like1600 entries in
> > /dev and would like to trim that way back to just what is needed
> 
> those nodes were created by your distribution
> 
> what distribution do you use ?

gentoo (uses devfs by default).  

I removed devfs entirely and was a little surprised to see udev re-using some of the goofball names of devfs by creating links.  I imagined gentoo's script was doing that but don't know enough about udev yet to know if some of these names are being used somewhere else (now).

Mike
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cleaning /dev
  2004-07-29  2:17 cleaning /dev mike dixon
  2004-07-29  2:32 ` Mike Frysinger
  2004-07-29 23:26 ` mike dixon
@ 2004-07-29 23:40 ` Mike Frysinger
  2004-07-31  0:16 ` mike dixon
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-07-29 23:40 UTC (permalink / raw)
  To: linux-hotplug

On Thursday 29 July 2004 07:26 pm, mike dixon wrote:
> gentoo (uses devfs by default).

it's because we cant use udev on 2.4.x ;)

> I removed devfs entirely and was a little surprised to see udev re-using
> some of the goofball names of devfs by creating links.  I imagined gentoo's
> script was doing that but don't know enough about udev yet to know if some
> of these names are being used somewhere else (now).

udev comes with a devfs-compatible script

if you dont want /dev being populated with the standard dev files, 
edit /etc/conf.d/rc and set RC_DEVICE_TARBALL="no"

if that's not enough, read our udev guide:
http://www.gentoo.org/doc/en/udev-guide.xml
-mike


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cleaning /dev
  2004-07-29  2:17 cleaning /dev mike dixon
                   ` (2 preceding siblings ...)
  2004-07-29 23:40 ` Mike Frysinger
@ 2004-07-31  0:16 ` mike dixon
  3 siblings, 0 replies; 5+ messages in thread
From: mike dixon @ 2004-07-31  0:16 UTC (permalink / raw)
  To: linux-hotplug


> On Thursday 29 July 2004 07:26 pm, mike dixon wrote:
> > gentoo (uses devfs by default).
> 
> it's because we cant use udev on 2.4.x ;)
> 
> > I removed devfs entirely and was a little surprised to see udev re-using
> > some of the goofball names of devfs by creating links.  I imagined gentoo's
> > script was doing that but don't know enough about udev yet to know if some
> > of these names are being used somewhere else (now).
> 
> udev comes with a devfs-compatible script
> 
> if you dont want /dev being populated with the standard dev files, 
> edit /etc/conf.d/rc and set RC_DEVICE_TARBALL="no"
> 
> if that's not enough, read our udev guide:
> http://www.gentoo.org/doc/en/udev-guide.xml
> -mike

Thanks.  I used that option and now have only half the /dev files I had before (which is still 700+).  That's a start.

There's still piles of crap I don't think I need (like the stupid devfs hierarchical partition names) but will go through the links from the ptr you gave me to see if I can get it cleaned up the rest of the way.  

I'd read the gentoo guide before emerge'ing udev but took its advisement to keep gentoo's udev tweaks and therefore didn't read further  :-)

Mike
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-31  0:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29  2:17 cleaning /dev mike dixon
2004-07-29  2:32 ` Mike Frysinger
2004-07-29 23:26 ` mike dixon
2004-07-29 23:40 ` Mike Frysinger
2004-07-31  0:16 ` mike dixon

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).