Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You could just make symbolic links to the devices you're really using. Or you could use "mknod" to make the devices you want but you'd have to know the major/minor number for each.
The deal is since this was in the RH man page for 3 but the devices were still there it means it had likely been deprecated but still left there for 3 then completely removed for 4. You'd be much better off doing a rewrite to deal with the way it is supposed to be than to trick it into looking the way you originally wrote it. Its also possible whatever utility you're used to expects ioctl or something else to change ownership/permissions which it would still do for the /dev/pts/* stuff but probably wouldn't for what you do your mknod for. The symlinks would have the permission of the /dev/pts/* it pointed to so might be the way to go.
To create a symbolic link named /dev/ttyp1 that points to /dev/pts/1 just type:
ln -s /dev/pts/1 /dev/ttyp1
By the way. The /dev/pts/* entries seem to be created on use rather than staying there. The links can be created even if the /dev/pts/* you link to isn't there yet.