The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-11-2002
redhead's Avatar
redhead redhead is offline
Registered User
 

Join Date: Feb 2002
Location: Denmark
Posts: 48
Re: /dev/fb* missing

Quote:
Originally posted by heinb
I am trying to run openwin on Solaris 5.8, but get an error:
/dev/fb: No such file or directory

There is no device in /dev called fb, and I want to know how you create this?
This is what the /dev/fb* devices are on my system:
Quote:
redhead@rimfaxe{51} ~> uname -a
SunOS rimfaxe 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-250
redhead@rimfaxe{52} ~> ll /dev/fb*
lrwxrwxrwx 1 root 9 Aug 30 17:34 /dev/fb0 -> fbs/gfxp0

/dev/fbs:
total 1
lrwxrwxrwx 1 root 42 Aug 30 17:34 gfxp0 -> ../../devices/pci@1f,4000/TSI,gfxp@4:gfxp0
redhead@rimfaxe{53} ~> ll /devices/pci@1f,4000/TSI,gfxp@4:gfxp0
crw------- 1 root 68, 0 Aug 30 17:34 /devices/pci@1f,4000/TSI,gfxp@4:gfxp0
This means, the actual /dev/fb0 is only a link to /dev/fbs/gfxp0, which also is a link to /devices/pci@1f,400/TSI,gfxp@4:gfxp0
The device is a charactor device, which you would make with the mknod(1M) command. And from my output, you can see, the device has a major of 68 and a minor of 0, so if you were to create this specific device the command would be:
mknod /devices/pci@1f,4000/TSI,gfxp@4:gfxp0 c 68 0