* udev - please help me to understand
@ 2004-01-02 11:48 Steve Youngs
2004-01-02 13:00 ` Michael Buesch
` (10 more replies)
0 siblings, 11 replies; 20+ messages in thread
From: Steve Youngs @ 2004-01-02 11:48 UTC (permalink / raw)
To: Linux Kernel List; +Cc: linux-hotplug-devel, Greg KH
[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]
Hi Greg!
I've been looking at this "udev" thingy and I can't for the life of me
see why I'd need it. There doesn't appear to be _any_ advantages of
using udev in my present situation.
No, I don't use devfs.
I have zero hot-pluggable devices (that might change somewhere in the
distant future, but for now I don't have any). And never in my wildest
dreams could I ever imagine running out of device numbers.
Reading through the documentation that I've found about udev, your
main points seem to be about:
- udev vs devfs
- running out of device major/minor numbers
- not having to worry about major/minor numbers
For me, the first point is moot because I don't use devfs. The second
point is just plain ridiculous, there is just _no_ way that it could
happen (remember that I'm talking about my own situation).
As for the third point, well, I don't worry about device numbers now.
In the years that I've been using Linux (since 2.0.something) you
could probably count the number of times I've had to worry about
major/minor numbers on the fingers of one hand. The _only_ times
have been on those incredibly rare occasions when I've needed to
create a new device file in /dev/.
So, Greg, is there _any_ reason why I'd want to be using udev?
I have other questions, but they can wait until I know whether or not
I need the thing in the first place.
Thank you very much for your time and patience.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
@ 2004-01-02 13:00 ` Michael Buesch
2004-01-03 3:52 ` Steve Youngs
[not found] ` <20040102123636.GA29909@mark.mielke.cc>
` (9 subsequent siblings)
10 siblings, 1 reply; 20+ messages in thread
From: Michael Buesch @ 2004-01-02 13:00 UTC (permalink / raw)
To: Steve Youngs; +Cc: Linux Kernel List, Greg KH, linux-hotplug-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 02 January 2004 12:48, Steve Youngs wrote:
> I have zero hot-pluggable devices (that might change somewhere in the
> distant future, but for now I don't have any). And never in my wildest
> dreams could I ever imagine running out of device numbers.
Yea, _you_ can't imagine this. :) But Kernel developers can... .
> Reading through the documentation that I've found about udev, your
> main points seem to be about:
>
> - udev vs devfs
> - running out of device major/minor numbers
> - not having to worry about major/minor numbers
>
> For me, the first point is moot because I don't use devfs. The second
> point is just plain ridiculous, there is just _no_ way that it could
> happen (remember that I'm talking about my own situation).
I don't think so.
Every new device needs a unique number, that _no other_ device uses.
As more and more devices are developed, we are running out of device
numbers. (well, that may take a while with 32-bit device numbers,
but it may appear so).
> So, Greg, is there _any_ reason why I'd want to be using udev?
(Hm, I'm not Greg, but...)
Because it's cool. :)
No, you're right.
I am not going to use udev or devfs on my server
for example. The reason is quite simple. This server will be running
linux-2.4 until it dies and I will never add some more device to it.
So there is no point of using udev or devfs on it. I know the hardware,
create all nodes for it and it runs (without all the problems devfs
and udev still provide).
But on my main Computer I am going to use udev, because I love it's
flexibility.
_You_ have to decide if you need udev or don't. Nobody else can decide
it for you.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQE/9WtsFGK1OIvVOP4RAoD2AKCMOAVWp226hzMQxju9Yo7t8uO7FQCguSJe
7XksJs4zqwCeFyBQkcBOn98=chS9
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&opÌk
_______________________________________________
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] 20+ messages in thread
* Re: udev - please help me to understand
[not found] ` <20040102123636.GA29909@mark.mielke.cc>
@ 2004-01-02 20:21 ` Greg KH
2004-01-02 20:39 ` T'aZ
2004-01-03 3:56 ` Steve Youngs
0 siblings, 2 replies; 20+ messages in thread
From: Greg KH @ 2004-01-02 20:21 UTC (permalink / raw)
To: Linux Kernel List, linux-hotplug-devel
On Fri, Jan 02, 2004 at 07:36:36AM -0500, Mark Mielke wrote:
>
> Personally, I like the idea of having a clean /dev where names only
> exist for devices that I care about. On my Fedora Core 1 box, it looks
> like /dev is currently:
>
> $ ls /dev | wc -l
> 7528
>
> Seven *THOUSAND* five hundred and twenty eight. Sheesh. I probably only
> use a few dozen, or maybe even a few hundred, but definately not 7000+.
You missed all of the subdirectories. Here's what FC-1 has on my laptop:
$ tree /dev/ | tail -1
41 directories, 18721 files
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
2004-01-02 13:00 ` Michael Buesch
[not found] ` <20040102123636.GA29909@mark.mielke.cc>
@ 2004-01-02 20:23 ` Greg KH
2004-01-03 1:00 ` J.A. Magallon
2004-01-03 3:28 ` Steve Youngs
2004-03-29 15:39 ` T'aZ
` (7 subsequent siblings)
10 siblings, 2 replies; 20+ messages in thread
From: Greg KH @ 2004-01-02 20:23 UTC (permalink / raw)
To: Linux Kernel List, linux-hotplug-devel
On Fri, Jan 02, 2004 at 09:48:36PM +1000, Steve Youngs wrote:
> Hi Greg!
>
> I've been looking at this "udev" thingy and I can't for the life of me
> see why I'd need it. There doesn't appear to be _any_ advantages of
> using udev in my present situation.
Ok, great. Then don't use it, I'm not forcing you to for 2.6 :)
> No, I don't use devfs.
>
> I have zero hot-pluggable devices (that might change somewhere in the
> distant future, but for now I don't have any). And never in my wildest
> dreams could I ever imagine running out of device numbers.
>
> Reading through the documentation that I've found about udev, your
> main points seem to be about:
>
> - udev vs devfs
> - running out of device major/minor numbers
> - not having to worry about major/minor numbers
>
> For me, the first point is moot because I don't use devfs. The second
> point is just plain ridiculous, there is just _no_ way that it could
> happen (remember that I'm talking about my own situation).
If you never have any hotpluggable devices, nor any need to move disks
around in your system, then you don't need udev.
Hope this helps,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 20:21 ` Greg KH
@ 2004-01-02 20:39 ` T'aZ
2004-01-03 3:56 ` Steve Youngs
1 sibling, 0 replies; 20+ messages in thread
From: T'aZ @ 2004-01-02 20:39 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel, linux-hotplug-devel
On Fri, 2 Jan 2004 12:21:25 -0800
Greg KH <greg@kroah.com> wrote:
> On Fri, Jan 02, 2004 at 07:36:36AM -0500, Mark Mielke wrote:
> >
> > Personally, I like the idea of having a clean /dev where names only
> > exist for devices that I care about. On my Fedora Core 1 box, it looks
> > like /dev is currently:
> >
> > $ ls /dev | wc -l
> > 7528
> >
> > Seven *THOUSAND* five hundred and twenty eight. Sheesh. I probably only
> > use a few dozen, or maybe even a few hundred, but definately not 7000+.
>
> You missed all of the subdirectories. Here's what FC-1 has on my laptop:
> $ tree /dev/ | tail -1
> 41 directories, 18721 files
>
> thanks,
>
> greg k-h
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
T'aZ |Jabber:taz-007@jabber.org|GPG keyID:E051925D|http://taz.prout.be
*They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.* Benjamin Franklin 1759
*Beaucoup,vite,loin,mal.* http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 20:23 ` Greg KH
@ 2004-01-03 1:00 ` J.A. Magallon
2004-01-03 12:54 ` Witukind
2004-01-03 3:28 ` Steve Youngs
1 sibling, 1 reply; 20+ messages in thread
From: J.A. Magallon @ 2004-01-03 1:00 UTC (permalink / raw)
To: Greg KH; +Cc: Linux Kernel List, linux-hotplug-devel
On 01.02, Greg KH wrote:
> On Fri, Jan 02, 2004 at 09:48:36PM +1000, Steve Youngs wrote:
> > Hi Greg!
> >
> > I've been looking at this "udev" thingy and I can't for the life of me
> > see why I'd need it. There doesn't appear to be _any_ advantages of
> > using udev in my present situation.
>
> Ok, great. Then don't use it, I'm not forcing you to for 2.6 :)
>
> > No, I don't use devfs.
> >
> > I have zero hot-pluggable devices (that might change somewhere in the
> > distant future, but for now I don't have any). And never in my wildest
> > dreams could I ever imagine running out of device numbers.
> >
> > Reading through the documentation that I've found about udev, your
> > main points seem to be about:
> >
> > - udev vs devfs
> > - running out of device major/minor numbers
> > - not having to worry about major/minor numbers
> >
> > For me, the first point is moot because I don't use devfs. The second
> > point is just plain ridiculous, there is just _no_ way that it could
> > happen (remember that I'm talking about my own situation).
>
> If you never have any hotpluggable devices, nor any need to move disks
> around in your system, then you don't need udev.
>
Don't think so. My first use for udev is a cluster (when bproc works on
2.6 ;)). Or in general diskless booting.
You build your initrd for remote boot. You have two options:
- copy a full /dev from a working host (tons of files that make the rd big
just to fit all the inodes).
- spend a lot of time guessing what is and what is not needed on each node
(you can have ata drives, scsi ones, different network cards, different
graphics cards...)
I just want to boot with and empty /dev and let udev populate it, even with
same device names for different hadrware. And nodes will never hotplug anything.
IE, I want a working and race free devfs, and this is udev.
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.1-rc1-jam1 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-3mdk))
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 20:23 ` Greg KH
2004-01-03 1:00 ` J.A. Magallon
@ 2004-01-03 3:28 ` Steve Youngs
1 sibling, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-01-03 3:28 UTC (permalink / raw)
To: Linux Kernel List; +Cc: linux-hotplug-devel
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
|--==> "GK" == Greg KH <greg@kroah.com> writes:
GK> If you never have any hotpluggable devices, nor any need to move
GK> disks around in your system, then you don't need udev.
GK> Hope this helps,
Yes it does. Thanks!
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 13:00 ` Michael Buesch
@ 2004-01-03 3:52 ` Steve Youngs
0 siblings, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-01-03 3:52 UTC (permalink / raw)
To: Linux Kernel List; +Cc: linux-hotplug-devel
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
|--==> "MB" == Michael Buesch <mbuesch@freenet.de> writes:
MB> _You_ have to decide if you need udev or don't.
Precisely why I sent the post, to find out whether or not I need it,
or if there are any benefits (for me) to using it. I don't, there
aren't, so I won't. Pretty easy decision, actually. :-)
And just so there's no confusion, I'm not against the concept of
udev, I think it is a _very_ good idea. I just don't have a need for
it right now, that's all.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 20:21 ` Greg KH
2004-01-02 20:39 ` T'aZ
@ 2004-01-03 3:56 ` Steve Youngs
1 sibling, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-01-03 3:56 UTC (permalink / raw)
To: Linux Kernel List; +Cc: linux-hotplug-devel
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
|--==> "GK" == Greg KH <greg@kroah.com> writes:
GK> $ tree /dev/ | tail -1
GK> 41 directories, 18721 files
I feel cheated, I've only got 46 directories, 9859 files. :-)
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-03 1:00 ` J.A. Magallon
@ 2004-01-03 12:54 ` Witukind
2004-01-03 21:56 ` Greg KH
0 siblings, 1 reply; 20+ messages in thread
From: Witukind @ 2004-01-03 12:54 UTC (permalink / raw)
To: J.A. Magallon; +Cc: greg, linux-kernel, linux-hotplug-devel
On Sat, 3 Jan 2004 02:00:10 +0100
"J.A. Magallon" <jamagallon@able.es> wrote:
> IE, I want a working and race free devfs, and this is udev.
Well udev != devfs. I think it's two different ways to solve a same problem.
What I wonder now is why do we need both /proc and sysfs?
--
Jabber: heimdal@jabber.org
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-03 12:54 ` Witukind
@ 2004-01-03 21:56 ` Greg KH
2004-01-04 16:02 ` Kevin P. Fleming
0 siblings, 1 reply; 20+ messages in thread
From: Greg KH @ 2004-01-03 21:56 UTC (permalink / raw)
To: Witukind; +Cc: J.A. Magallon, linux-kernel, linux-hotplug-devel
On Sat, Jan 03, 2004 at 01:54:33PM +0100, Witukind wrote:
> On Sat, 3 Jan 2004 02:00:10 +0100
> "J.A. Magallon" <jamagallon@able.es> wrote:
> > IE, I want a working and race free devfs, and this is udev.
>
> Well udev != devfs. I think it's two different ways to solve a same problem.
> What I wonder now is why do we need both /proc and sysfs?
procfs is for process information.
sysfs is for system information. Slowly, over time, things that are
currently in procfs will be moving to sysfs.
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-03 21:56 ` Greg KH
@ 2004-01-04 16:02 ` Kevin P. Fleming
0 siblings, 0 replies; 20+ messages in thread
From: Kevin P. Fleming @ 2004-01-04 16:02 UTC (permalink / raw)
To: Greg KH; +Cc: Witukind, J.A. Magallon, linux-kernel, linux-hotplug-devel
Greg KH wrote:
> procfs is for process information.
> sysfs is for system information. Slowly, over time, things that are
> currently in procfs will be moving to sysfs.
Slight clarification:
Slowly, over time, things that are currently in procfs _that never
belonged there_ will be moving to sysfs. procfs isn't going away, it's
just being converted back to its original purpose (that of providing
process-specific information).
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (2 preceding siblings ...)
2004-01-02 20:23 ` Greg KH
@ 2004-03-29 15:39 ` T'aZ
2004-03-29 15:39 ` J.A. Magallon
` (6 subsequent siblings)
10 siblings, 0 replies; 20+ messages in thread
From: T'aZ @ 2004-03-29 15:39 UTC (permalink / raw)
To: linux-hotplug
On Fri, 2 Jan 2004 12:21:25 -0800
Greg KH <greg@kroah.com> wrote:
> On Fri, Jan 02, 2004 at 07:36:36AM -0500, Mark Mielke wrote:
> >
> > Personally, I like the idea of having a clean /dev where names only
> > exist for devices that I care about. On my Fedora Core 1 box, it looks
> > like /dev is currently:
> >
> > $ ls /dev | wc -l
> > 7528
> >
> > Seven *THOUSAND* five hundred and twenty eight. Sheesh. I probably only
> > use a few dozen, or maybe even a few hundred, but definately not 7000+.
>
> You missed all of the subdirectories. Here's what FC-1 has on my laptop:
> $ tree /dev/ | tail -1
> 41 directories, 18721 files
>
> thanks,
>
> greg k-h
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
T'aZ |Jabber:taz-007@jabber.org|GPG keyID:E051925D|http://taz.prout.be
*They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.* Benjamin Franklin 1759
*Beaucoup,vite,loin,mal.* http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (3 preceding siblings ...)
2004-03-29 15:39 ` T'aZ
@ 2004-03-29 15:39 ` J.A. Magallon
2004-03-29 15:39 ` Steve Youngs
` (5 subsequent siblings)
10 siblings, 0 replies; 20+ messages in thread
From: J.A. Magallon @ 2004-03-29 15:39 UTC (permalink / raw)
To: linux-hotplug
On 01.02, Greg KH wrote:
> On Fri, Jan 02, 2004 at 09:48:36PM +1000, Steve Youngs wrote:
> > Hi Greg!
> >
> > I've been looking at this "udev" thingy and I can't for the life of me
> > see why I'd need it. There doesn't appear to be _any_ advantages of
> > using udev in my present situation.
>
> Ok, great. Then don't use it, I'm not forcing you to for 2.6 :)
>
> > No, I don't use devfs.
> >
> > I have zero hot-pluggable devices (that might change somewhere in the
> > distant future, but for now I don't have any). And never in my wildest
> > dreams could I ever imagine running out of device numbers.
> >
> > Reading through the documentation that I've found about udev, your
> > main points seem to be about:
> >
> > - udev vs devfs
> > - running out of device major/minor numbers
> > - not having to worry about major/minor numbers
> >
> > For me, the first point is moot because I don't use devfs. The second
> > point is just plain ridiculous, there is just _no_ way that it could
> > happen (remember that I'm talking about my own situation).
>
> If you never have any hotpluggable devices, nor any need to move disks
> around in your system, then you don't need udev.
>
Don't think so. My first use for udev is a cluster (when bproc works on
2.6 ;)). Or in general diskless booting.
You build your initrd for remote boot. You have two options:
- copy a full /dev from a working host (tons of files that make the rd big
just to fit all the inodes).
- spend a lot of time guessing what is and what is not needed on each node
(you can have ata drives, scsi ones, different network cards, different
graphics cards...)
I just want to boot with and empty /dev and let udev populate it, even with
same device names for different hadrware. And nodes will never hotplug anything.
IE, I want a working and race free devfs, and this is udev.
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.1-rc1-jam1 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-3mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (4 preceding siblings ...)
2004-03-29 15:39 ` J.A. Magallon
@ 2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:39 ` Steve Youngs
` (4 subsequent siblings)
10 siblings, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-03-29 15:39 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
|--==> "GK" == Greg KH <greg@kroah.com> writes:
GK> If you never have any hotpluggable devices, nor any need to move
GK> disks around in your system, then you don't need udev.
GK> Hope this helps,
Yes it does. Thanks!
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (5 preceding siblings ...)
2004-03-29 15:39 ` Steve Youngs
@ 2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:39 ` Steve Youngs
` (3 subsequent siblings)
10 siblings, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-03-29 15:39 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
|--==> "GK" == Greg KH <greg@kroah.com> writes:
GK> $ tree /dev/ | tail -1
GK> 41 directories, 18721 files
I feel cheated, I've only got 46 directories, 9859 files. :-)
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (6 preceding siblings ...)
2004-03-29 15:39 ` Steve Youngs
@ 2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:40 ` Witukind
` (2 subsequent siblings)
10 siblings, 0 replies; 20+ messages in thread
From: Steve Youngs @ 2004-03-29 15:39 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
|--==> "MB" == Michael Buesch <mbuesch@freenet.de> writes:
MB> _You_ have to decide if you need udev or don't.
Precisely why I sent the post, to find out whether or not I need it,
or if there are any benefits (for me) to using it. I don't, there
aren't, so I won't. Pretty easy decision, actually. :-)
And just so there's no confusion, I'm not against the concept of
udev, I think it is a _very_ good idea. I just don't have a need for
it right now, that's all.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs@bigpond.net.au>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (7 preceding siblings ...)
2004-03-29 15:39 ` Steve Youngs
@ 2004-03-29 15:40 ` Witukind
2004-03-29 15:40 ` Greg KH
2004-03-29 15:42 ` Kevin P. Fleming
10 siblings, 0 replies; 20+ messages in thread
From: Witukind @ 2004-03-29 15:40 UTC (permalink / raw)
To: linux-hotplug
On Sat, 3 Jan 2004 02:00:10 +0100
"J.A. Magallon" <jamagallon@able.es> wrote:
> IE, I want a working and race free devfs, and this is udev.
Well udev != devfs. I think it's two different ways to solve a same problem.
What I wonder now is why do we need both /proc and sysfs?
--
Jabber: heimdal@jabber.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (8 preceding siblings ...)
2004-03-29 15:40 ` Witukind
@ 2004-03-29 15:40 ` Greg KH
2004-03-29 15:42 ` Kevin P. Fleming
10 siblings, 0 replies; 20+ messages in thread
From: Greg KH @ 2004-03-29 15:40 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jan 03, 2004 at 01:54:33PM +0100, Witukind wrote:
> On Sat, 3 Jan 2004 02:00:10 +0100
> "J.A. Magallon" <jamagallon@able.es> wrote:
> > IE, I want a working and race free devfs, and this is udev.
>
> Well udev != devfs. I think it's two different ways to solve a same problem.
> What I wonder now is why do we need both /proc and sysfs?
procfs is for process information.
sysfs is for system information. Slowly, over time, things that are
currently in procfs will be moving to sysfs.
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 20+ messages in thread
* Re: udev - please help me to understand
2004-01-02 11:48 udev - please help me to understand Steve Youngs
` (9 preceding siblings ...)
2004-03-29 15:40 ` Greg KH
@ 2004-03-29 15:42 ` Kevin P. Fleming
10 siblings, 0 replies; 20+ messages in thread
From: Kevin P. Fleming @ 2004-03-29 15:42 UTC (permalink / raw)
To: linux-hotplug
Greg KH wrote:
> procfs is for process information.
> sysfs is for system information. Slowly, over time, things that are
> currently in procfs will be moving to sysfs.
Slight clarification:
Slowly, over time, things that are currently in procfs _that never
belonged there_ will be moving to sysfs. procfs isn't going away, it's
just being converted back to its original purpose (that of providing
process-specific information).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 20+ messages in thread
end of thread, other threads:[~2004-03-29 15:42 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-02 11:48 udev - please help me to understand Steve Youngs
2004-01-02 13:00 ` Michael Buesch
2004-01-03 3:52 ` Steve Youngs
[not found] ` <20040102123636.GA29909@mark.mielke.cc>
2004-01-02 20:21 ` Greg KH
2004-01-02 20:39 ` T'aZ
2004-01-03 3:56 ` Steve Youngs
2004-01-02 20:23 ` Greg KH
2004-01-03 1:00 ` J.A. Magallon
2004-01-03 12:54 ` Witukind
2004-01-03 21:56 ` Greg KH
2004-01-04 16:02 ` Kevin P. Fleming
2004-01-03 3:28 ` Steve Youngs
2004-03-29 15:39 ` T'aZ
2004-03-29 15:39 ` J.A. Magallon
2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:39 ` Steve Youngs
2004-03-29 15:40 ` Witukind
2004-03-29 15:40 ` Greg KH
2004-03-29 15:42 ` Kevin P. Fleming
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).