EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Help with udev
From: Emmanuel Mayssat <[email protected]>
To: "J. Lewis Muir" <[email protected]>
Cc: "Scott D. Davilla" <[email protected]>, [email protected], [email protected]
Date: Wed, 02 Jan 2008 11:14:50 -0800
Mark,


>  > I am not a Linux expert by any means. What is the difference between
>  > the /dev and /proc filesystems? 
>  >


/proc is similar to the registry in windows, it used for very low
level/kernel level configuration. You probably don't want to touch that
unless, you really know what you are doing.

/dev is were the device files are located. In Unix, you read from and
write to a device, by reading and writing to a file. If you need more
sophisticated command like "eject cdrom" you use ioctl/or direct system
calls.

Previously /dev files were "static" files, created once and for all.
Because of the number of devices supported by the OS kept on increasing,
that directory became overpopulated. udev is solved the overpopulation
problem of devfs.

With 2.6 kerenls and udev, the creation of the /dev files is done
dynamically when the kernel modules/driver is loaded (kernel modules are
usually loaded at reboot).

So when you load the module, the associated /dev files are created. Now
those files have default settings/rights, which may not be those you
want. If this is the case, you need to configure udev to give the
correct rights to those files. This is done by changing the udev
configuration files in /etc/udev

Good luck,

--
Emmanuel




References:
Re: Help with udev J. Lewis Muir

Navigate by Date:
Prev: RE: Ca error Jeff Hill
Next: Re: build snl program 师昊礼
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Help with udev J. Lewis Muir
Next: RE: Help with udev Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·