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

Re: look like ps don't work



Alain Toussaint <alaint@cgocable.ca> writes:

> i played a bit with ps on the NW and i think there's a bug:
> 
> [root@gandalf src]# ps
> Error: /proc must be mounted
>   To mount /proc at boot you need an /etc/fstab line like:
>       /proc   /proc   proc    defaults
>   In the meantime, mount /proc /proc -t proc
> Error: /proc must be mounted
>   To mount /proc at boot you need an /etc/fstab line like:
>       /proc   /proc   proc    defaults
>   In the meantime, mount /proc /proc -t proc
> [root@gandalf src]# mount
> /dev/hda2 on / type ext2 (rw)
> /proc on /proc type proc (rw)
> 
> would ps need to be recompiled ??

No.  It is just saying this because /proc isn't mounted in the chroot
area.  If it is mounted (ie. "mount /proc /proc -t proc"), then ps
works.

We purposely aren't mounting it in the chroot area, just in case it is
causing the machine to act unstable.

Cheers,

 - Jim


-- 
To UNSUBSCRIBE, email to debian-arm-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: