Please what is a logical device?

I am not sure whether lpt1: , com1:, etc. in MSDOS are considered logical devices.  

Is there a common logical device name in UNIX that you could provide as an example?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Logical devices are names given to physical devices. Logical device names are different depending on the OS being used. In the case of MSDOS, lpt1 corresponds to the physical parallel port 1 on the PC.

Therefore, lpt1 is the logical device name MSDOS associates with parallel 1. Parallel, serial and other devices are actual hardware devices. The actual hardware device is independant from the OS. These devices are accessed through the use of logical device names. Logical names can be remapped or redirected to other logical names. MSDOS and Windows does this for network printers. /dev/lp1 is how some unix systems reference parallel port 1.

COM1 is how MSDOS and Windows references serial port 1. Unix uses /dev/tty1a or /dev/tty1A. Again depending on the OS these names can differ.

Hope this answers you question.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.