Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: /dev/printer
- To: tlug@example.com
- Subject: Re: /dev/printer
- From: turnbull@example.com (Stephen J. Turnbull)
- Date: Wed, 4 Dec 96 09:23 JST
- In-reply-to: <199612031247.VAA00501@example.com> (message from Craig Oda on Tue, 3 Dec 1996 21:47:05 +0900)
- Reply-To: tlug@example.com
- Sender: owner-tlug
Craig> Hi, on a working Linux machine I have Craig> niji:/dev$ ls -l printer Craig> srwxrwxrwx 1 root root 0 Dec 3 14:58 printer= Craig> On a non-functional Linux machine I have: Craig> [root@example.com /dev]# ls -l printer Craig> ls: printer: No such file or directory Craig> Does anyone know the proper command to create the printer device? /usr/sbin/lpd ;-) I don't have the source code available, and couldn't figure out how to identify the (process) owner of /dev/printer, but that is a socket (ls -l shows file type 's', or use 'file /dev/printer'), presumably the one that lpd creates to listen on port "printer". Note that 'strings /usr/sbin/lpd' produces: /var/spool/lpd/lpd.lock %s: %m /dev/printer <---- lookee, lookee! socket: %m ubind: %m Note also that the location of the lpd.lock file is apparently hard-coded. -- Stephen J. Turnbull Institute of Policy and Planning Sciences Yaseppochi-Gumi University of Tsukuba http://turnbull.sk.tsukuba.ac.jp/ Tel: +81 (298) 53-5091; Fax: 55-3849 turnbull@example.com ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- References:
- /dev/printer
- From: Craig Oda <craig@example.com>
Home | Main Index | Thread Index
- Prev by Date: /dev/printer
- Next by Date: pcmcia card recognition
- Prev by thread: /dev/printer
- Next by thread: pcmcia card recognition
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links