More on Failure to reinstall Gnome2

Michal Varga varga.michal at gmail.com
Thu Sep 15 15:51:24 UTC 2011


On Thu, 2011-09-15 at 14:55 +0000, Scott Ballantyne wrote:
> 
> Nothing particularly unusual, I'm not running in a jail and I haven't
> done anything 'custom' to the kernel.
> 
> Yes, I noticed that. /dev/stdout doesn't work here, and the entries
> are peculiar. 
> 
> --------
> $ ls -l /dev/stdout
> lrwxr-xr-x  1 root  wheel  4 Aug 29 23:50 /dev/stdout -> fd/1
> $ ls -l /dev/fd
> dr-xr-xr-x  1 root  wheel  0 Sep 15 10:50 /dev/fd
> $ ls -l /dev/fd/1
> total 0
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 cmdline
> --w-------  1 root  wheel  0 Sep 15 10:50 ctl
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 etype
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 rlimit
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 status
> --------
> 
> All the directories under FD are of this format, however, so I assumed
> it was a change to the OS that I simply don't understand.

While I'm far from devfs expert, I'm not familiar with this format
either.

What you should normally see is something along:

# ls -l /dev/fd/
total 0
crw-rw-rw-  1 root  wheel    0,  18 Sep 12 14:01 0
crw-rw-rw-  1 root  wheel    0,  20 Sep 12 14:01 1
crw-rw-rw-  1 root  wheel    0,  22 Sep 12 14:01 2
                                                     
# ls -l /dev/fd/0
crw-rw-rw-  1 root  wheel    0,  18 Sep 12 14:01 /dev/fd/0

# ls -l /dev/fd/1
crw-rw-rw-  1 root  wheel    0,  20 Sep 12 14:01 /dev/fd/1

Could it be that you are using fdescfs on that machine? I'm not familiar
with it, I just know that it exists, so that might be one thing to
explain the different fd/ structure.


> It's also interesting to cd soobj and run genconf:
> 
> # ./genconf devs.tr -h FOO -p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&" -ol ld.tr
> Can't read ./obj/../soobj/unix_.dev.
> 
> FOO isn't created


This is most probably harmless - I would generally expect something like
that ./genconf to be using tons of environment variables during the
build, so running it outside/alone won't produce anything useful.

But just to be sure - I tried and got the same result.

m.


-- 
Michal Varga,
Stonehenge (Gmail account)




More information about the freebsd-gnome mailing list