HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - MAke a list of CD rom diskContens
 
Operating System - HP-UX
        1840175
        Members
    
    
        2350
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            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
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- 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
 
05-06-2004 08:43 AM
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-06-2004 08:50 AM
05-06-2004 08:50 AM
Solution
			
				
					
					
						Hello,
If you know your cdroms device file just do the following:
mount /dev/dsk/cXtXdX /some_directory
If you don't know the device file for your cdrom do an ioscan to determine:
ioscan -fnC disk
Just look for your cdrom device and note it's device file then mount it as above.
Hope this helps!
-Bryan
		
		
	
	
	
If you know your cdroms device file just do the following:
mount /dev/dsk/cXtXdX /some_directory
If you don't know the device file for your cdrom do an ioscan to determine:
ioscan -fnC disk
Just look for your cdrom device and note it's device file then mount it as above.
Hope this helps!
-Bryan
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-06-2004 08:51 AM
05-06-2004 08:51 AM
			
				
					
						
							Re: MAke a list of CD rom  diskContens
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Sorry, got ahead of myself.
After you have sucessfully mounted the cdrom, just cd into the directory and do an ll to list the files:
cd /some_directory
ll
-Bryan
		
		
	
	
	
After you have sucessfully mounted the cdrom, just cd into the directory and do an ll to list the files:
cd /some_directory
ll
-Bryan
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-06-2004 08:52 AM
05-06-2004 08:52 AM
			
				
					
						
							Re: MAke a list of CD rom  diskContens
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Assuming this is an HP-UX machine:
If /cdrom directory doesn't exist, create it.
# mkdir /cdrom
Determine the device file of your CDROM drive via ioscan:
# ioscan -kfnC disk
look for a CD or DVD in the description and make note of the /dev/dsk/c?t?d0 device file below the description line.
# mount -F cdfs -o ro /dev/dsk/c?t?d0 /cdrom
# cd /cdrom
# ls
To unmount the cdrom so you can eject it:
# cd /
# umount /cdrom
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
If /cdrom directory doesn't exist, create it.
# mkdir /cdrom
Determine the device file of your CDROM drive via ioscan:
# ioscan -kfnC disk
look for a CD or DVD in the description and make note of the /dev/dsk/c?t?d0 device file below the description line.
# mount -F cdfs -o ro /dev/dsk/c?t?d0 /cdrom
# cd /cdrom
# ls
To unmount the cdrom so you can eject it:
# cd /
# umount /cdrom
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP