<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Renaming special device files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828072#M635071</link>
    <description>Yes you can rename the special files, but you have to move all of them (rewind, norewind, ...). The other simple solution is to use the ioinit command and change the instance numbers of your tapes.&lt;BR /&gt;&lt;BR /&gt;- Create a file with your new mapping :&lt;BR /&gt;&lt;BR /&gt;&lt;HW path=""&gt;    tape    instance&lt;BR /&gt;&lt;BR /&gt;- run ioinit -f file&lt;BR /&gt;&lt;BR /&gt;- if there is no error, shutdown -r&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jean-Louis.&lt;BR /&gt;&lt;BR /&gt;&lt;/HW&gt;</description>
    <pubDate>Thu, 17 Oct 2002 13:22:00 GMT</pubDate>
    <dc:creator>Jean-Louis Phelix</dc:creator>
    <dc:date>2002-10-17T13:22:00Z</dc:date>
    <item>
      <title>Renaming special device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828069#M635068</link>
      <description>Can I simply use the "mv" command to rename special tape device files (ie., /dev/rmt/5mnb) ? We have 20 tape drives configured in our backup software, and when we do DR testing we inevitably have to reconfigure the software to point to different tape device files. I thought it might be easier to simply rename the files to what is already in the software.&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Thu, 17 Oct 2002 13:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828069#M635068</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2002-10-17T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming special device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828070#M635069</link>
      <description>better create a new file&lt;BR /&gt;&lt;BR /&gt;make a &lt;BR /&gt;#ll /dev/rmt/*crw-rw-rw-   2 bin        bin        205 0x013000 Aug  4 11:25 0m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013080 Aug  4 11:25 0mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013040 Aug  4 11:25 0mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0130c0 Aug  4 11:25 0mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013000 Aug  4 11:25 c1t3d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013080 Aug  4 11:25 c1t3d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013040 Aug  4 11:25 c1t3d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0130c0 Aug  4 11:25 c1t3d0BESTnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013001 Aug  4 11:25 c1t3d0DDS&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013081 Aug  4 11:25 c1t3d0DDSb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013041 Aug  4 11:25 c1t3d0DDSn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0130c1 Aug  4 11:25 c1t3d0DDSnb&lt;BR /&gt;crw-r--r--   1 bin        bin        205 0xfffffe Aug  4 11:25 stape_config&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;create a new one with the same major and minor number&lt;BR /&gt;# mknod /dev/rmt/cinta c 205 0x013000&lt;BR /&gt;# ll /dev/rmt/*crw-rw-rw-   2 bin        bin        205 0x013000 Aug  4 11:25 /dev/rmt/0m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013080 Aug  4 11:25 /dev/rmt/0mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013040 Aug  4 11:25 /dev/rmt/0mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0130c0 Aug  4 11:25 /dev/rmt/0mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013000 Aug  4 11:25 /dev/rmt/c1t3d0BE&lt;BR /&gt;ST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013080 Aug  4 11:25 /dev/rmt/c1t3d0BE&lt;BR /&gt;STb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x013040 Aug  4 11:25 /dev/rmt/c1t3d0BE&lt;BR /&gt;STn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0130c0 Aug  4 11:25 /dev/rmt/c1t3d0BE&lt;BR /&gt;STnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013001 Aug  4 11:25 /dev/rmt/c1t3d0DD&lt;BR /&gt;S&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013081 Aug  4 11:25 /dev/rmt/c1t3d0DD&lt;BR /&gt;Sb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x013041 Aug  4 11:25 /dev/rmt/c1t3d0DD&lt;BR /&gt;Sn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0130c1 Aug  4 11:25 /dev/rmt/c1t3d0DD&lt;BR /&gt;Snb&lt;BR /&gt;crw-rw-rw-   1 root       sys        205 0x013000 Sep 16 16:24 /dev/rmt/cinta&lt;BR /&gt;crw-r--r--   1 bin        bin        205 0xfffffe Aug  4 11:25 /dev/rmt/stape_co&lt;BR /&gt;nfig&lt;BR /&gt;# chown bin:bin /dev/rmt/cinta&lt;BR /&gt;&lt;BR /&gt;(look at owners and permissions)&lt;BR /&gt;&lt;BR /&gt;# ioscan -kfnCtape# ioscan -kfnCtape&lt;BR /&gt;Class     I  H/W Path    Driver      S/W State H/W Type  Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;tape      0  8/16/5.3.0  stape       CLAIMED   DEVICE    HP      C1533A&lt;BR /&gt;                        /dev/rmt/0m            /dev/rmt/c1t3d0BESTnb&lt;BR /&gt;                        /dev/rmt/0mb           /dev/rmt/c1t3d0DDS&lt;BR /&gt;                        /dev/rmt/0mn           /dev/rmt/c1t3d0DDSb&lt;BR /&gt;                        /dev/rmt/0mnb          /dev/rmt/c1t3d0DDSn&lt;BR /&gt;                        /dev/rmt/c1t3d0BEST    /dev/rmt/c1t3d0DDSnb&lt;BR /&gt;                        /dev/rmt/c1t3d0BESTb   /dev/rmt/cinta&lt;BR /&gt;                        /dev/rmt/c1t3d0BESTn&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# &lt;BR /&gt;now you have an alias... is not necessary to delete files&lt;BR /&gt;(if you want to delete any special file use the rmsf command)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Oct 2002 13:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828070#M635069</guid>
      <dc:creator>Joaquin Gil de Vergara</dc:creator>
      <dc:date>2002-10-17T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming special device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828071#M635070</link>
      <description>THe better way is to simply do an ls -l of the existing desired device node and note the major and minor device numbers.&lt;BR /&gt;&lt;BR /&gt;Let's say that you have c2t0d0BEST and 0m that have major numbers 205 and minor numbers 0x020000. You want them 0m to be 5m.&lt;BR /&gt;&lt;BR /&gt;1) rm /dev/rmt/0m&lt;BR /&gt;2) mknod /dev/rmt/5m c 205 0x020000&lt;BR /&gt;&lt;BR /&gt;The computer only cares about the major and minor device numbers; you could rename /dev/rmt/0m to MickeyMouse and as long as the device numbers are correct then the tape drive will work just fine.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Oct 2002 13:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828071#M635070</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-17T13:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming special device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828072#M635071</link>
      <description>Yes you can rename the special files, but you have to move all of them (rewind, norewind, ...). The other simple solution is to use the ioinit command and change the instance numbers of your tapes.&lt;BR /&gt;&lt;BR /&gt;- Create a file with your new mapping :&lt;BR /&gt;&lt;BR /&gt;&lt;HW path=""&gt;    tape    instance&lt;BR /&gt;&lt;BR /&gt;- run ioinit -f file&lt;BR /&gt;&lt;BR /&gt;- if there is no error, shutdown -r&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jean-Louis.&lt;BR /&gt;&lt;BR /&gt;&lt;/HW&gt;</description>
      <pubDate>Thu, 17 Oct 2002 13:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-special-device-files/m-p/2828072#M635071</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-10-17T13:22:00Z</dc:date>
    </item>
  </channel>
</rss>

