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

Re: how can I create the /dev/gpmdata file?



Hallo Pavios,

> yesterday night I removed the /dev/gpmdata file by mistake and now I
> don't know how I can create. I reinstalled the gpm package but it
> didn't create the file.  Any ideas?


I first thought you can do this with "cd /dev;./MAKEDEV gpmdata" then
I did a "ls -lap /dev/gpmdata" and got

prw-rw-rw-    1 root     root      0 2003-03-18 10:39 /dev/gpmdata|

and realised that this is not a normal device.

I could not immediately remember what the | is referring to so I did a 

zsh % file /dev/gpmdata
/dev/gpmdata: fifo (named pipe)

So to create that you can use "mkfifo /dev/gpmdata"

Regards.
Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Lay not up for yourselves treasures upon earth, where 
      moth and rust doth corrupt, and where thieves break 
      through and steal; But lay up for yourselves treasures
      in heaven, where neither moth nor rust doth corrupt, 
      and where thieves do not break through nor steal; For 
      where your treasure is, there will your heart be 
      also."           Matthew 6:19-21 



Reply to: