[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: PIDOF
From:       mike <wtf62 () rovoreed ! com>
Date:       2006-12-25 15:44:06
Message-ID: 1167061446.10282.15.camel () glynys
[Download RAW message or body]

On Sun, 2006-12-24 at 20:16 +0000, Luciano Miguel Ferreira Rocha wrote:
> On Sun, Dec 24, 2006 at 07:35:19PM +0000, mike wrote:
> > On Sun, 2006-12-24 at 18:44 +0000, Luciano Miguel Ferreira Rocha wrote:
> > > On Sun, Dec 24, 2006 at 04:47:06PM +0000, mike wrote:
> > > > Is it just me or does pidof not do anything. e.g.
> > > > 
> > > > # pidof init
> > > 
> > > # pidof init
> > > 478 477 476 1
> > > # umount /proc
> > > # pidof init
> > > 
> > > Do you have /proc mounted?
> > > 
> > 
> > Glad to know it does work. I do have /proc mounted
> > 
> > # cat /proc/mounts
> > rootfs / rootfs rw 0 0
> > /dev/root / ext2 rw 0 0
> > proc /proc proc rw,nodiratime 0 0
> > #
> > 
> > Any other suggestions ? If it helps I built the system using Buildroot
> > obtained via svn
> 
> Note that pidof doesn't report an error for unknown processes. So, are
> you sure you're running init and not linuxrc? :)
> 
> If you're sure, can you send a strace log?

OK. Bit of a mystery this. I've just upgraded the kernel from 2.6.12 to
2.6.19.1 (to take advantage of extra features on PCMCIA) and pidof now
works.

I'm not going to worry about it further - it must have been something to
do with the kernel or my setup

Happy Xmas

Mike

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic