- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ejecting CD-ROM
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
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-24-2002 01:46 AM
тАО04-24-2002 01:46 AM
Ejecting CD-ROM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 01:51 AM
тАО04-24-2002 01:51 AM
Re: Ejecting CD-ROM
unfortunatly unlike Solaris which has an eject command I have never seen this in hpux. I hope you get a program or command to do it .
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 01:53 AM
тАО04-24-2002 01:53 AM
Re: Ejecting CD-ROM
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb59d0559ff7cd4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 01:54 AM
тАО04-24-2002 01:54 AM
Re: Ejecting CD-ROM
You can dismount the cdrom as follows. Find first the device file of the cdrom:
ioscan -funC disk
Then dismount it:
umount /dev/dsk/c3t2d0 (use your device file)
Make sure that no one is in the directory where the cdrom is mounted. You could kill those sessions with the command:
fuser -ku /dev/dsk/c3t2d0
You can combine these 2 commands easily in a shell script.
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 02:01 AM
тАО04-24-2002 02:01 AM
Re: Ejecting CD-ROM
Only a note:
Beware, if you mount a CD with the "mount" command use "umount" to unmount the CD, but if you mount the CD with the "pfs_mount" command unmount it with pfs_umount. If not you go into troubles with your CD.
I think that there is not an eject command in HP/UX too. You must push the button.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 05:17 AM
тАО04-24-2002 05:17 AM
Re: Ejecting CD-ROM
Following are steps to use if you do use the pfs_mount option:
1.Insert cdrom into drive
2.start processes Pfs:
#/usr/sbin/pfs_mountd &
#/usr/sbin/pfsd &
3.Note: verify > #ps -ef | grep pfs
4.find cdrom device name (ioscan -funC disk) [e.g. /dev/dsk/c1t2d0]
5.validate mount point to mount cdrom [e.g. /cdrom]
6.#pfs_mount /dev/dsk/c1t2d0 /cdrom
To umount do the following:
1.#pfs_umount /cdrom
2. manually eject cdrom from drive. (press eject button)
3.#kill processess [pfsd and pfs_mountd]
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 05:29 AM
тАО04-24-2002 05:29 AM
Re: Ejecting CD-ROM
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 05:49 AM
тАО04-24-2002 05:49 AM
Re: Ejecting CD-ROM
Sure is handy in Solaris.
HP folks, are you listening?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2002 04:14 AM
тАО04-27-2002 04:14 AM
Re: Ejecting CD-ROM
please take a look to thread
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb59d0559ff7cd4118fef0090279cd0f9,00.html
There has someone posted a c-source to eject a (scsi)cdrom. i haven't tested it, but maybe it helps.
Heiner
--
"If this makes any sense to you, you have a big problem."