[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#592684: debian-installer-utils: please don't check for /sys on Hurd



Hello,

Jeremie Koenig, le Thu 12 Aug 2010 11:49:22 +0200, a écrit :
> On Thu, Aug 12, 2010 at 09:43:06AM +0200, Petter Reinholdtsen wrote:
> > [Jeremie Koenig]
> > > -	if [ ! -d /target/sys ]; then
> > > +	if [ ! -d /target/sys ] && [ "$(udpkg --print-os)" != hurd ]; then
> > 
> > Would it be better to look for 'sysfs' in /proc/filesystems to avoid
> > hardcoding OS names there?
> 
> Unfortunately, neither Hurd nor kFreeBSD have a /proc/filesystems file.
> Also, the /sys filesystem is named "linsysfs" on kFreeBSD.
> 
> An alternative would be to check for, say, /sys/devices in the installer
> itself. Does this sound reasonable?

So?

Aurelien, could you confirm whether kFreeBSD's installer has a
/sys/devices?

Samuel


Reply to: