- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command for eject cd from cdrom
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
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
09-11-2000 01:46 AM
09-11-2000 01:46 AM
Command for eject cd from cdrom
What is the command for eject a cd from cdrom?
Thanks in Advance.
Regards,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 01:52 AM
09-11-2000 01:52 AM
Re: Command for eject cd from cdrom
There isnt one on HP-UX. umount the CD from HP-UX and then you have to manually press the eject/unload button on the actual CD drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 05:06 AM
09-11-2000 05:06 AM
Re: Command for eject cd from cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 06:02 AM
09-11-2000 06:02 AM
Re: Command for eject cd from cdrom
i put you a C source at attachment which i have extracted and modified from xmcd (CD player).
It umounts and sends a scsi command to cdrom for eject. May not work with all drivers.
I've tested it on K220 with character driver major 188 (/dev/rdsk/c?t?d0) and it worked.
You can obtain your device file from ioscan -fnC disk.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 07:59 AM
09-11-2000 07:59 AM
Re: Command for eject cd from cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 12:18 PM
09-11-2000 12:18 PM
Re: Command for eject cd from cdrom
First unmount the cdrom drive.(If you are not able to unmount cdrom drive, some user may be working in corresponding /cdrom directory/subdirectory. Ask them to come out of that directory and then unmount cdrom drive).
After that physicall press eject button on cdrom drive.
P V Patel