[clc-devel] thoughts on CRUX, post devfs
How soon should we begin to work on a devfs alternative? I've read that Per doesn't like udev. We'll want to at least provide the same level of functionality as devfs did, right? So a nice, clean /dev which reflects installed devices is absolutely paramount. Do we do it in tmpfs? Perhaps, after installation is complete, the user can be asked to run a command which populates a tmpfs mounted on /dev, with their device entries. Is cpio the fastest archiver? Would it slow down booting much, to dump the contents of an uncompressed cpio archive to this empty tmpfs? Because, this cpio archive of /dev could contain the contents of the afore-mentioned populated after scanning sysfs /dev. (perhaps /tmp/dev in that instance, so as not to disrupt the installation shell). Users could tweak permissions, and add additional device nodes--another command (or possibly a 2nd function/argument) could save the tmpfs /dev to the cpio archive, which would preserve permissions, etc. Like a one-time udev_start, without udevd, without hotplug, and with a command which (optionaly) re-saves its state, so that one doesn't need to muck with config files, because one mucks with the device nodes directly. It's just an idea to get a system running cleanly. Personally, I'm going to see how much I can tolerate udev before thinking about things more. P.S. CRUX 2.2 is about January-February far away, yeah? I hope we don't move to GCC4 until at least June. (but that's a huge change, which would probably be called CRUX 3.0, yes?)
On Tuesday 15 November 2005 22:43, Nick Steeves wrote:
P.S. CRUX 2.2 is about January-February far away, yeah? I hope we don't move to GCC4 until at least June. (but that's a huge change, which would probably be called CRUX 3.0, yes?)
I'm running a CRUX system built completely with Gcc 4.0.2 (NOT 4.1). A lot of (old) programs need patches but newer software compiles flawlessly (e.g. I had no problems with KDE; Mplayer was bitching about 'unsupported compiler' but worked just fine after applying a Gentoo patch :-). I don't see any reason to wait any longer - even the big mainstream distributions (Fedora, OpenSuSE) switched to GCC4 some time ago. If our users insist on gcc 3.x.x -> contrib could hold a gcc3-compatibility port.. If a program refuses to compile the packager could also look how other distributions solved that issue (Fedora's Source-RPMs, Gentoo's ebuild files, OpenPKG, ..)
How soon should we begin to work on a devfs alternative? I've read that Per doesn't like udev. We'll want to at least provide the same level of functionality as devfs did, right?
Matt's udev port works quite well. You don't think about a static /dev, do you? bye, danm -- Daniel Mueller Berlin, Germany OpenPGP: 1024D/E4F4383A
Hi Nick, On Tue, Nov 15, 2005 at 14:43:10 -0700, Nick Steeves wrote:
How soon should we begin to work on a devfs alternative? I've read that Per doesn't like udev. Yes, however, at this point in time it seems best to do a 2.2 with udev. We might look into a alternative solution in parallel, but since this solution is not ready yet, and the users can't update kernels without switching to udev will probably make sense for now.
P.S. CRUX 2.2 is about January-February far away, yeah? I hope we don't move to GCC4 until at least June. (but that's a huge change, which would probably be called CRUX 3.0, yes?) Did you experience a lot of problems with gcc 4? We've updated some packages at work, and even though some patches were required, most fixes were rather trivial. So I wouldn't mind seeing gcc 4 in 2.2, even though it doesn't make sense to switch if the amount of work required to build our packages it too large.
Kind regards, Johannes -- Johannes Winkelmann mailto:jw@tks6.net Bern, Switzerland http://jw.tks6.net
On Tue, Nov 15, 2005 at 23:19:13 +0100, Johannes Winkelmann wrote:
Hi Nick,
On Tue, Nov 15, 2005 at 14:43:10 -0700, Nick Steeves wrote:
How soon should we begin to work on a devfs alternative? I've read that Per doesn't like udev. Yes, however, at this point in time it seems best to do a 2.2 with udev. We might look into a alternative solution in parallel, but since this solution is not ready yet, and the users can't update kernels without switching to udev will probably make sense for now. ^ "doing a release using udev" Johannes -- Johannes Winkelmann mailto:jw@tks6.net Bern, Switzerland http://jw.tks6.net
participants (3)
-
Daniel Mueller
-
Johannes Winkelmann
-
Nick Steeves