scsh-users
[Top] [All Lists]

Re: scsh mis-interacting with FreeBSD procfs??

To: scsh@martigny.ai.mit.edu
Subject: Re: scsh mis-interacting with FreeBSD procfs??
From: Faried Nawaz <fn@Hungry.COM>
Date: 01 Apr 1997 19:58:02 -0800
Organization: dis.
ortmann@VNET.IBM.COM (Daniel Ortmann) writes:

   Problem: 
   (run ("/bin/ls -l /proc/curproc/file")) appears to fail on FreeBSD with
   /proc being the mount point for the procfs filesystem.  ('curproc' is a
   'link' to the current process number and 'file' is the current load
   image.)  The process number that is printed was completely wrong ... and
   failed. 

Try
        (run (ls -l /proc/curproc/file))

> (run (ls -l /proc/curproc/file))
-r-xr-xr-x  1 bin  bin  167936 Mar  6 08:33 /proc/curproc/file
0
> 

<Prev in Thread] Current Thread [Next in Thread>