Skip to contentSkip to conversation

udev housekeeping

DISCUSSION Kay Sievers 2 participants 7 messages Dec 5, 2004 – Dec 7, 2004

lore
Share & tools
lore
#0 lore raw

We have several files laying around in the tree, which should be updated or deleted:

Not useful anymore:
etc/conf.d/udev
etc/dev.d/default/dbus.dev
etc/dev.d/default/selinux.dev
test/udevd_test.sh
test/wait_for_sysfs_test.sh

RH specific and different from current RH version:
etc/dev.d/default/pam_console.dev

Calls udev binary for every node. Should be deleted or converted to use udevstart:
etc/init.d/udev
etc/init.d/udev.init.LSB
etc/init.d/udev.init.lfs
etc/extras/start_udev

Most of them are broken an replaced by udev-test.pl:
test/ignore_test
test/label_test
test/modifier_test
test/net_test
test/replace_test
test/test.all
test/test.block
test/test.tty
test/testd.block
test/topo_test
test/devd_test

Thanks,
Kay

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 5 lines · Kay Sievers

We have several files laying around in the tree, which should be updated or deleted:

Not useful anymore:
etc/conf.d/udev

This came from Red Hat, they don't use it anymore in their rpm?

Quoted 1 line

etc/dev.d/default/dbus.dev

Now deleted.

Quoted 1 line

etc/dev.d/default/selinux.dev

Now deleted.

Quoted 1 line

test/udevd_test.sh

Now deleted.

Quoted 1 line

test/wait_for_sysfs_test.sh

Hm, I liked this script... oh well, it's gone.

Quoted 2 lines

RH specific and different from current RH version:
etc/dev.d/default/pam_console.dev

Care to provide the latest version?

Quoted 3 lines

Calls udev binary for every node. Should be deleted or converted to use udevstart:
etc/init.d/udev

Deleted.

Quoted 1 line

etc/init.d/udev.init.LSB

Converted.

Quoted 1 line

etc/init.d/udev.init.lfs

Converted.

Quoted 1 line

etc/extras/start_udev

Left alone, I want to keep that logic around somewhere :)

Quoted 2 lines

Most of them are broken an replaced by udev-test.pl:
test/ignore_test

delted.

Quoted 1 line

test/label_test

deleted

Quoted 1 line

test/modifier_test

deleted

Quoted 1 line

test/net_test

Left alone, as we don't test this in udev-test.pl (yeah, it's broken, but it can work by hand.)

Quoted 1 line

test/replace_test

deleted.

Quoted 3 lines

test/test.all
test/test.block
test/test.tty

Left alone, they are good for debugging at times.

Quoted 1 line

test/testd.block

Hm, I don't remember even why I added this :)

Quoted 1 line

test/topo_test

deleted

Quoted 1 line

test/devd_test

Nah, I'll leave this if I need to verify the dev.d stuff again.

Thanks for pointing this all out.

greg k-h

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Kay Sievers
Quoted 8 lines · Greg KH
Quoted 5 lines · Kay Sievers

We have several files laying around in the tree, which should be updated or deleted:

Not useful anymore:
etc/conf.d/udev

This came from Red Hat, they don't use it anymore in their rpm?

No, seems gone.

Quoted 4 lines
Quoted 2 lines

RH specific and different from current RH version:
etc/dev.d/default/pam_console.dev

Care to provide the latest version?

Will do it.

Quoted 5 lines
Quoted 3 lines

Calls udev binary for every node. Should be deleted or converted to use udevstart:
etc/init.d/udev

Deleted.

We have a logic in our Makefile to install an init script, this fails now on Fedora, cause this script is gone :) Some extended version of start_udev is called from /etc/rc.sysinit instead.

We may remove the "install-initscript" target completely from the Makefile?

Thanks,
Kay

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Kay Sievers
Quoted 6 lines · Kay Sievers

We have a logic in our Makefile to install an init script, this fails now on Fedora, cause this script is gone :) Some extended version of start_udev is called from /etc/rc.sysinit instead.

We may remove the "install-initscript" target completely from the Makefile?

Yes, that's a good idea.

thanks,

greg k-h

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Kay Sievers
Quoted 9 lines · Greg KH
Quoted 6 lines · Kay Sievers

We have a logic in our Makefile to install an init script, this fails now on Fedora, cause this script is gone :) Some extended version of start_udev is called from /etc/rc.sysinit instead.

We may remove the "install-initscript" target completely from the Makefile?

Yes, that's a good idea.

I've removed it in my tree along with the unused conf.d/

Please pull along with all the other changes from:
bk://vrfy.bkbits.net/udev

Thanks,
Kay

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Kay Sievers
Quoted 11 lines · Kay Sievers
Quoted 8 lines · Greg KH
Quoted 5 lines · Kay Sievers

We have several files laying around in the tree, which should be updated or deleted:

RH specific and different from current RH version:
etc/dev.d/default/pam_console.dev

Care to provide the latest version?

Will do it.

I've updated it to the latest version now.

Thanks,
Kay

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
In reply to Kay Sievers
Quoted 7 lines · Kay Sievers
Quoted 6 lines · Greg KH
Quoted 5 lines · Kay Sievers

We have a logic in our Makefile to install an init script, this fails now on Fedora, cause this script is gone :) Some extended version of start_udev is called from /etc/rc.sysinit instead.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

We may remove the "install-initscript" target completely from the Makefile?

Yes, that's a good idea.

I've removed it in my tree along with the unused conf.d/

Please pull along with all the other changes from:
bk://vrfy.bkbits.net/udev

Pulled from.

Hm. Anything anyone can think of that would prevent me from making a new udev release today?

thanks,

greg k-h

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel