Gentoo Archives: gentoo-dev

From: Nathaniel McCallum <npmccallum@g.o>
To: Andrew Gaffney <agaffney@×××××××××××.com>
Cc: Greg KH <gregkh@g.o>, gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] HDD Detection
Date: Sun, 13 Jun 2004 02:16:40
Message-Id: 1087092972.6083.72.camel@localhost
In Reply to: Re: [gentoo-dev] HDD Detection by Andrew Gaffney
1 On Sat, 2004-06-12 at 20:47, Andrew Gaffney wrote:
2 > Greg KH wrote:
3 > > On Sat, Jun 12, 2004 at 05:00:55PM -0500, Andrew Gaffney wrote:
4 > >
5 > >>Nathaniel McCallum wrote:
6 > >>
7 > >>>On Sat, 2004-06-12 at 15:05, Nathaniel McCallum wrote:
8 > >>>OK, the script has been rewritten to use sysfs now. Please try it
9 > >>
10 > >>Doesn't sysfs only exist in 2.6 kernels?
11 > >
12 > > Yes, and that is a problem why? :)
13 >
14 > It is definately not a problem for me, but there are a lot of users out there
15 > who are still using 2.4 kernels. Any yes, I do understand that you were making a
16 > joke :)
17
18 Actually, by the time this code is actually widely used for anything,
19 2.4 will probably be largely phased out. If supporting 2.4 is a pain
20 (ie. lack of sysfs), we will not support it. BTW, this script will only
21 be used on liveCDs, so users are fine to use 2.4 kernels after the
22 install. I also don't want to rely on tools like fdisk/parted because
23 they are not available for all arches. Therefore, I'd like to do
24 detection relying only on the kernel, which generally means sysfs and/or
25 system calls.
26
27 Nathaniel
28
29 Nathaniel
30
31
32 --
33 gentoo-dev@g.o mailing list