Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!ncar!newsxfer.itd.umich.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!depaul!hawk!bhirt From: bhirt@hawk.depaul.edu (Brian A. Hirt) Subject: Re: /proc filesystem strangeness Nntp-Posting-Host: hawk.depaul.edu References: <2qaqct$ick@meatball.rwwa.com> Sender: news@hal.depaul.edu (News Admin) Organization: DePaul University, Chicago Il. Date: Mon, 9 May 1994 19:59:29 GMT Message-ID: <1994May9.195929.25753@hal.depaul.edu> Lines: 30 In article <2qaqct$ick@meatball.rwwa.com>, Robert Withrow <witr@rwwa.com> wrote: >I sent the following as a bug, but I am not familiar >with the semantics of the /proc filesystem outside >of SVR4. Can others familiar with these semantics >on other OSes comment? This releates to 1.1-GAMMA. > > Also, on SVR4, the files are named, for example, > /proc/00060 whereas on FreeBSD they are /proc/60. > I think the former is better. > On my solaris machine the numbers can vary, but default to the five digit style: root@hawk# pwd /proc root@hawk# ls -la 195 -rw------- 1 root root 1069056 May 4 18:33 195 root@hawk# ls -la 0195 -rw------- 1 root root 1069056 May 4 18:33 0195 root@hawk# ls -la 00195 -rw------- 1 root root 1069056 May 4 18:33 00195 root@hawk# ls -la *195 -rw------- 1 root root 1069056 May 4 18:33 00195 root@hawk# ls -la 0000195 -rw------- 1 root root 1069056 May 4 18:33 0000195 root@hawk# Fun, huh?