*BSD News Article 5150


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!cs.utexas.edu!natinst.com!news.dell.com!uudell!obiwan!bob
From: bob@obiwan.uucp (Bob Willcox)
Newsgroups: comp.unix.bsd
Subject: Re: How can I print on my parallel printer?
Message-ID: <BuI1qF.H0r@obiwan.uucp>
Date: 13 Sep 92 04:27:51 GMT
References: <colin.716015692@marsh> <BuB0yD.An3@ibmpcug.co.uk>
Organization: Bob's Place, Austin TX
Lines: 20

In article <BuB0yD.An3@ibmpcug.co.uk> adrian@ibmpcug.co.uk (Adrian Hall) writes:
>You need to make the /dev/lp and /dev/lpt1 nodes.
>
>	mknod /dev/lpt1 c 15 64
>	ln -s /dev/lpt1 /dev/lp

Coming from a mostly System V world (prior to Vr4) I feel like I must be
missing something here (i.e., I have little experience with symbolic
links).  My question is why would one want to use a symbolic link (as
indicated) in the above situation rather than simply a hard link?  Is
there some problem with hard links in this situation?  Seems to me that
a symbolic link here simply requires an extra inode, some additional
disk space, and slows down access to the /dev/lpt1 device.  What am I
missing???

Thanks,
-- 
Bob Willcox                ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob
Phone: 512 258-4224 (home)
       512 838-3914 (work)