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

Re: How to keep both kernel-2.0.36 and 2.2.x? (in terms of lp setti ng)

*- On  1 Mar, Yi-ping Chang wrote about "How to keep both kernel-2.0.36 and 2.2.x? (in terms of lp setting)"
> Hi, there:
> I would like to keep both kernel-2.0.36 and 2.2.x in my machine.  As you
> all have known, 2.2.x change the LPT1 as lp0.  That becomes a problem if I
> want to keep both version of kernels.  Any body got a solution?
> My idea is to modify the initializtion script (/etc/init.d/lpd) to
> recognize the version of kernel it is running and using different setting
> for corresponding kernels.  But I am not familiar with script language...
> Thanks in advance.
> Yi-ping Chang

Well, if you only have one parallel printer you could remove the
/dev/lp1 device file and make link of /dev/lp1 -> /dev/lp0 (i.e. 'ln
-s /dev/lp0 /dev/lp1').  That should work.

No need to modify a file, although that would be the most robust

"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis

Reply to: