Re: Cannot mount linprocfs by unresolving sysvs?m symbols

From: Roman Divacky <rdivacky_at_FreeBSD.org>
Date: Fri, 6 Apr 2007 19:43:05 +0200
> Index: linprocfs.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/compat/linprocfs/linprocfs.c,v
> retrieving revision 1.108
> diff -u -r1.108 linprocfs.c
> --- linprocfs.c	30 Mar 2007 17:56:44 -0000	1.108
> +++ linprocfs.c	6 Apr 2007 17:33:05 -0000
> _at__at_ -1238,3 +1238,5 _at__at_
>  PSEUDOFS(linprocfs, 1);
>  MODULE_DEPEND(linprocfs, linux, 1, 1, 1);
>  MODULE_DEPEND(linprocfs, procfs, 1, 1, 1);
> +MODULE_DEPEND(linprocfs, sysvmsg, 1, 1, 1);
> +MODULE_DEPEND(linprocfs, sysvsem, 1, 1, 1);

I dont like this, I would prefer some dynamic determining
whether sysv symbols are present and if not just fill
in "safe" values. 

is there a way to do this nicely?
Received on Fri Apr 06 2007 - 15:43:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC