- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Serial device - HP-UX 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 08:12 AM
05-13-2002 08:12 AM
Serial device - HP-UX 10.20
I need to rename a device from /dev/tty0p0 to /dev/serial2. It is a serial device RS-232 that will be used in HP-VEE software. Can I use "ln tty0p0 serial2" in /dev ? HP-VEE just use serial device with these names serialX, where X is 1 to 9.
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 08:16 AM
05-13-2002 08:16 AM
Re: Serial device - HP-UX 10.20
cd /dev
mknod c 1 0x000000 serial2
BUT double check /dev/tty0p0 first for major minor numbers.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 09:26 AM
05-13-2002 09:26 AM
Re: Serial device - HP-UX 10.20
Just use mknod to create a device file with the same major and minor no as tty0p0,
ll /dev/tty0p0
crw--w--w- 1 bin bin 193 0x000000 Aug 21 2001 /dev/tty0p0
check the major and minor nos, 193 and 0x000000 in this case,
create a new device file serial2,
mknod /dev/serial2 c 163 0x000000
chown bin:bin /dev/serial2
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 10:41 AM
05-13-2002 10:41 AM
Re: Serial device - HP-UX 10.20
And welcome back Sanjay!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 11:01 AM
05-13-2002 11:01 AM
Re: Serial device - HP-UX 10.20
Hi,
As your question is "Can I use ln ..."
the answer is yes.
Since my days with Apollo machines where the
serial-lines were called sio1 and sio2 I have
always created links in /dev called sio1 and
sio2 pointing to the somewhat less descriptive
tty0p0 etc.
So in your case you might just as well do:
cd /dev
ln -s tty0p0 serial2
Regards
Oalv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 11:02 AM
05-13-2002 11:02 AM
Re: Serial device - HP-UX 10.20
Can't say i missed the forum on my vacation. But it is good to be back. I'm trying to catch up with you now.
Regards
Sanjay
P.S.: Everyone hates monday. you're not alone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 11:26 AM
05-13-2002 11:26 AM
Re: Serial device - HP-UX 10.20
Both suggestions will work. You can either create a link or create a new device file with mknod.
HTH,
Shiju
Hey Harry/Sanjay:
Welcome back Sanjay ! How was the vacation ? Is it too hot in India ?