Re: Bug#545691: diverting telinit
On Mon, Oct 26 2009, Michael Biebl wrote:
> Manoj Srivastava wrote:
>> if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
>
> It was brought to my attention [1], that apparently this check does
> not work on GNU/Hurd as it does not provide /proc/$PID/root
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552386
Right. The solution has issues on both Hurd and KfreeBSD. That
was not an issue for the packages in question, since they do not
support !linux. A generic solution would probably look different (and
is not directly my problem).
manoj
--
No more blah, blah, blah! Kirk, "Miri", stardate 2713.6
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: