- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing device names
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
Discussions
Discussions
Forums
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
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
тАО04-13-2001 07:44 AM
тАО04-13-2001 07:44 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2001 08:00 AM
тАО04-13-2001 08:00 AM
Re: Changing device names
you can give devicefiles any names you want as long as you stay in the HPUX convention.
You delete the existing device file with the rm command and create a new one with the mknod command.
Make sure that you keep a copy of the old file in a different dir to be on the safe side.
Check the manpage for mknod for the complete syntax.
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2001 08:02 AM
тАО04-13-2001 08:02 AM
Re: Changing device names
You can just create a link:
ln /dev/rmt/2m /dev/rmt/1m
and it works
But should remember, that 1 and 2 have their meaning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2001 08:02 AM
тАО04-13-2001 08:02 AM
Re: Changing device names
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2001 08:03 AM
тАО04-13-2001 08:03 AM
Re: Changing device names
#mksf -C tape -I 1 /dev/rmt/1m
See man rmsf and mksf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2001 08:09 AM
тАО04-13-2001 08:09 AM
Solutionexample (0m to 1m):
# cd /dev/rmt
# lssf 0m
stape card instance 0 SCSI target 0 SCSI LUN 0 at&t best density available at ad
dress 16/5.0.0 0m
# mv 0m 1m
# lssf 1m
stape card instance 0 SCSI target 0 SCSI LUN 0 at&t best density available at ad
dress 16/5.0.0 1m
You could also opt to keep the original device file name an create a link to it...
# cd /dev/rmt
# ln -s 0m 1m