* init.d debian patch
@ 2004-02-16 21:23 John L. Fjellstad
2004-02-17 19:04 ` Greg KH
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: John L. Fjellstad @ 2004-02-16 21:23 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]
I dualboot between 2.4.x and 2.6.x right now, and although I
want udev to start up when 2.6 is booting, I don't want it to try when
2.4.x is booting.
This is a small patch to not start up udev if sysfs is not
mounted.
--
John L. Fjellstad
web: http://www.fjellstad.org/ Quis custodiet ipsos custodes
[-- Attachment #1.2: udev.debian.patch --]
[-- Type: text/plain, Size: 373 bytes --]
--- udev.debian.orig 2004-02-13 02:01:37.000000000 +0100
+++ udev.debian 2004-02-16 22:20:19.000000000 +0100
@@ -61,7 +61,8 @@
if [ ! -d $udev_dir ]; then
mkdir $udev_dir
fi
- if [ ! -d $sysfs_dir ]; then
+ # don't use udev if sysfs is not mounted
+ if [ ! -d $sysfs_dir/block ]; then
exit 1
fi
# propogate /udev from /sys - we only need this while we do not
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
@ 2004-02-17 19:04 ` Greg KH
2004-02-17 19:53 ` Bryan W. Headley
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-02-17 19:04 UTC (permalink / raw)
To: linux-hotplug
On Mon, Feb 16, 2004 at 10:23:21PM +0100, John L. Fjellstad wrote:
> I dualboot between 2.4.x and 2.6.x right now, and although I
> want udev to start up when 2.6 is booting, I don't want it to try when
> 2.4.x is booting.
>
> This is a small patch to not start up udev if sysfs is not
> mounted.
Thanks, I've also made this change to the red hat init script.
And I've added some other stuff to the red hat one, so you might want to
take a look at it too.
Is there a official udev Debian package yet? If so, who is the
maintainer of it?
thanks,
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
2004-02-17 19:04 ` Greg KH
@ 2004-02-17 19:53 ` Bryan W. Headley
2004-02-17 19:55 ` Marco d'Itri
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Bryan W. Headley @ 2004-02-17 19:53 UTC (permalink / raw)
To: linux-hotplug
Greg KH wrote:
> On Mon, Feb 16, 2004 at 10:23:21PM +0100, John L. Fjellstad wrote:
>
>>I dualboot between 2.4.x and 2.6.x right now, and although I
>>want udev to start up when 2.6 is booting, I don't want it to try when
>>2.4.x is booting.
>>
>>This is a small patch to not start up udev if sysfs is not
>>mounted.
>
>
> Thanks, I've also made this change to the red hat init script.
>
> And I've added some other stuff to the red hat one, so you might want to
> take a look at it too.
>
> Is there a official udev Debian package yet? If so, who is the
> maintainer of it?
>
I see a udev backported to Debian Woody, owned by Marco d'Itri
<md@linux.it>. Seems to be 0.014.
Also seen udev hanging out in Madrake Cooker & SuSE 9.
--
____ .:. ____
Bryan W. Headley - bwheadley@earthlink.net
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
2004-02-17 19:04 ` Greg KH
2004-02-17 19:53 ` Bryan W. Headley
@ 2004-02-17 19:55 ` Marco d'Itri
2004-02-17 21:00 ` Greg KH
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2004-02-17 19:55 UTC (permalink / raw)
To: linux-hotplug
On Feb 17, Greg KH <greg@kroah.com> wrote:
>Is there a official udev Debian package yet? If so, who is the
>maintainer of it?
Yes, you know I am the maintainer and the package has been for months
available from http://www.bofh.it/~md/debian/ .
I have not uploaded it yet to the archive because udev keeps changing
and I do not want to support upgrades until it will be more stable.
I also see no point in uploading it until it will manage /dev, and it
has been pointed out by multiple people that this cannot be done until a
solution is found for devices like /dev/console, which are needed at the
beginning of the boot sequence.
Anyway, I'd prefer if you did not ship this init script with udev,
there is no point in doing this and it will always lag behind the
official one.
--
ciao, |
Marco | [4642 diTX4Gz46z.u2]
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
` (2 preceding siblings ...)
2004-02-17 19:55 ` Marco d'Itri
@ 2004-02-17 21:00 ` Greg KH
2004-02-17 21:04 ` Greg KH
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-02-17 21:00 UTC (permalink / raw)
To: linux-hotplug
On Tue, Feb 17, 2004 at 01:53:18PM -0600, Bryan W. Headley wrote:
> I see a udev backported to Debian Woody, owned by Marco d'Itri
> <md@linux.it>. Seems to be 0.014.
Hm, a bit out of date :(
> Also seen udev hanging out in Madrake Cooker & SuSE 9.
Great, thanks for letting me know.
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
` (3 preceding siblings ...)
2004-02-17 21:00 ` Greg KH
@ 2004-02-17 21:04 ` Greg KH
2004-02-17 21:28 ` Marco d'Itri
2004-02-17 22:06 ` Greg KH
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-02-17 21:04 UTC (permalink / raw)
To: linux-hotplug
On Tue, Feb 17, 2004 at 08:55:25PM +0100, Marco d'Itri wrote:
> On Feb 17, Greg KH <greg@kroah.com> wrote:
>
> >Is there a official udev Debian package yet? If so, who is the
> >maintainer of it?
> Yes, you know I am the maintainer and the package has been for months
> available from http://www.bofh.it/~md/debian/ .
> I have not uploaded it yet to the archive because udev keeps changing
> and I do not want to support upgrades until it will be more stable.
Hm, you mean Red Hat is shipping something that Debian thinks isn't
stable enough? Just kidding...
> I also see no point in uploading it until it will manage /dev, and it
> has been pointed out by multiple people that this cannot be done until a
> solution is found for devices like /dev/console, which are needed at the
> beginning of the boot sequence.
I just booted my laptop that runs Fedora and a stock 2.6.3-rc4 kernel
using udev to manage /dev. Gentoo is also able to do this just fine.
I'll clean up my scripts that I used to do this and post how to do this
with the next release for others who also want to do this.
So it is possible.
> Anyway, I'd prefer if you did not ship this init script with udev,
> there is no point in doing this and it will always lag behind the
> official one.
Well, I'll leave it alone for now, is that ok?
thanks,
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
` (4 preceding siblings ...)
2004-02-17 21:04 ` Greg KH
@ 2004-02-17 21:28 ` Marco d'Itri
2004-02-17 22:06 ` Greg KH
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2004-02-17 21:28 UTC (permalink / raw)
To: linux-hotplug
On Feb 17, Greg KH <greg@kroah.com> wrote:
>> I see a udev backported to Debian Woody, owned by Marco d'Itri
>> <md@linux.it>. Seems to be 0.014.
>Hm, a bit out of date :(
Backports are unofficial packages maintained by random people, so far I
have always packaged the latest release in no more than a few days.
Anyway, if the next release will support multiple configuration files
and additional symlink configuration entries I will try uploading it
and see what will happen.
--
ciao, |
Marco | [4646 riQS6Ce.awRJI]
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
* Re: init.d debian patch
2004-02-16 21:23 init.d debian patch John L. Fjellstad
` (5 preceding siblings ...)
2004-02-17 21:28 ` Marco d'Itri
@ 2004-02-17 22:06 ` Greg KH
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-02-17 22:06 UTC (permalink / raw)
To: linux-hotplug
On Tue, Feb 17, 2004 at 10:28:26PM +0100, Marco d'Itri wrote:
>
> Anyway, if the next release will support multiple configuration files
> and additional symlink configuration entries I will try uploading it
> and see what will happen.
I'm waiting for a updated patch for both of those features :)
thanks,
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&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] 8+ messages in thread
end of thread, other threads:[~2004-02-17 22:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-16 21:23 init.d debian patch John L. Fjellstad
2004-02-17 19:04 ` Greg KH
2004-02-17 19:53 ` Bryan W. Headley
2004-02-17 19:55 ` Marco d'Itri
2004-02-17 21:00 ` Greg KH
2004-02-17 21:04 ` Greg KH
2004-02-17 21:28 ` Marco d'Itri
2004-02-17 22:06 ` Greg KH
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).