<?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 mounting cd automatically in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981559#M122233</link>
    <description>hi all !&lt;BR /&gt;&lt;BR /&gt;Is there any way to mount cdrom automatically in HP-ux?&lt;BR /&gt;or Is there any way to allow a non root user to mount cdrom ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
    <pubDate>Mon, 26 May 2003 05:38:40 GMT</pubDate>
    <dc:creator>Pramod Sharma</dc:creator>
    <dc:date>2003-05-26T05:38:40Z</dc:date>
    <item>
      <title>mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981559#M122233</link>
      <description>hi all !&lt;BR /&gt;&lt;BR /&gt;Is there any way to mount cdrom automatically in HP-ux?&lt;BR /&gt;or Is there any way to allow a non root user to mount cdrom ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2003 05:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981559#M122233</guid>
      <dc:creator>Pramod Sharma</dc:creator>
      <dc:date>2003-05-26T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981560#M122234</link>
      <description>You can automatically load it from the system boot.&lt;BR /&gt;Just make sure that the entry for the device and the directory are part of /etc/fstab&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c2t1d0 /cdrom cdfs ro 0 2&lt;BR /&gt;&lt;BR /&gt;If you wish another user other than root to mount it, your best bet is to load 'sudo' and allow them access to the mount command.&lt;BR /&gt;&lt;BR /&gt;You can get sudo from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;BR /&gt;"When I have trouble spelling, it's called fat finger syndrome"</description>
      <pubDate>Mon, 26 May 2003 05:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981560#M122234</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-05-26T05:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981561#M122235</link>
      <description>There is no way the cdrom's get mounted automatically as in Solaris where the volmgt takes care.&lt;BR /&gt;&lt;BR /&gt;YOu need to manually mount them when you insert the CDROMs&lt;BR /&gt;&lt;BR /&gt;You can also follow a alternative way of mounting them as suggested above but in that case too the CDROM should be inside the CD-drive.&lt;BR /&gt;&lt;BR /&gt;You can install 'sudo' to provide access to mount CDROMS by normal users.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 26 May 2003 06:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981561#M122235</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-05-26T06:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981562#M122236</link>
      <description>Hi,&lt;BR /&gt;add the entry in /etc/fstab like this&lt;BR /&gt;&lt;BR /&gt;&lt;CDROM device="" file=""&gt;  &lt;MOUNT point=""&gt; cdfs ro,rr 0 0&lt;BR /&gt;&lt;BR /&gt;Ex:&lt;BR /&gt;/dev/dsk/c3t2d0  /cdrom  cdfs  ro,rr  0  0&lt;BR /&gt;&lt;BR /&gt;Better not to allow any other user to mount CDROM. But still u can do it with SUDO.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/MOUNT&gt;&lt;/CDROM&gt;</description>
      <pubDate>Mon, 26 May 2003 06:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981562#M122236</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-05-26T06:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981563#M122237</link>
      <description>Yes you can do it with any extra programm.&lt;BR /&gt;Use the automounter.&lt;BR /&gt;&lt;BR /&gt;1. Change in the file /etc/rc.config.d/nfsconf the paramters&lt;BR /&gt;&lt;BR /&gt;AUTOFS=1&lt;BR /&gt;AUTOMOUNT=1&lt;BR /&gt;AUTO_MASTER="/etc/auto_master"&lt;BR /&gt;AUTO_OPTION="-f $AUTO_MASTER"&lt;BR /&gt;START_MOUNTD=1&lt;BR /&gt;&lt;BR /&gt;(I've attached the file)&lt;BR /&gt;&lt;BR /&gt;2. Create/edit your file /etc/auto_master and add line:&lt;BR /&gt;&lt;BR /&gt;/mount      /etc/auto.cdrom&lt;BR /&gt;&lt;BR /&gt;3. Create a file /etc/auto.cdrom and add line&lt;BR /&gt;&lt;BR /&gt;cdrom     -fstype=cdfs,ro     :&lt;DEVICEFILE of="" cdrom=""&gt;&lt;BR /&gt;i.e your cdrom device file is c2t3d0&lt;BR /&gt;then your line looks like this&lt;BR /&gt;&lt;BR /&gt;cdrom     -fstype=cdfs,ro     :/dev/dsk/c2t3d0&lt;BR /&gt;&lt;BR /&gt;4. Create a directory /mount&lt;BR /&gt;  mkdir /mount&lt;BR /&gt;&lt;BR /&gt;5. Start the nfs client&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/nfs.client start&lt;BR /&gt;&lt;BR /&gt;6. Change in the directory&lt;BR /&gt;&lt;BR /&gt;cd /mount/cdrom &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And now the automounter will mount the cdrom to this dir and you can see its content. It is accesible from the user, too. No need to mount manually with super-user privileges if a user needs the cdrom.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;  Roland&lt;BR /&gt;&lt;BR /&gt;Feel free to assign points.&lt;BR /&gt;&lt;BR /&gt;To all others - read the man page from automount(1m)&lt;/DEVICEFILE&gt;</description>
      <pubDate>Tue, 27 May 2003 11:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981563#M122237</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-05-27T11:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981564#M122238</link>
      <description>In addition to Roland's fine solution:&lt;BR /&gt;pay attention that you don't have patch&lt;BR /&gt;phkl_26239 installed as it has issues with&lt;BR /&gt;automount and non-NFS mounts.phkl_28999 fixes.&lt;BR /&gt;And of course give points to those well deserving :)&lt;BR /&gt;</description>
      <pubDate>Tue, 27 May 2003 12:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981564#M122238</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-05-27T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: mounting cd automatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981565#M122239</link>
      <description>A little typo in my first answer.&lt;BR /&gt;&lt;BR /&gt;You can do it WITHOUT any extra programm.&lt;BR /&gt;&lt;BR /&gt;But what I forgot to mention the automountd hold the mount (default) for 5 minutes, if the mount is not used. Foremost then it unmounts the cdrom.&lt;BR /&gt;&lt;BR /&gt;So, if you have a user, who often changes the cdrom you must set your duration to a lower value. You can to this if you set the parameter to:&lt;BR /&gt;&lt;BR /&gt;AUTO_OPTIONS="-f $AUTO_MASTER -t 10"&lt;BR /&gt;&lt;BR /&gt;Then the automountd will unmount the cdrom after 10 seconds it was not used.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;  Roland&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Feel free to assign points</description>
      <pubDate>Tue, 27 May 2003 12:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mounting-cd-automatically/m-p/2981565#M122239</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-05-27T12:58:43Z</dc:date>
    </item>
  </channel>
</rss>

