Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying mount a DVD (or a CD) on HP-UX 11.31, like so:

$ mount -F cdfs -o rr /dev/dsk/c0t2d0 /dvdrom
/dev/dsk/c0t2d0: unrecognized file system

I've tried each other devices listed in /dev/dsk/ with the same result.

I've also tried mount -F cdfs -o cdcase. Same problem.

Any suggestions on what could be the problem?

share|improve this question

migrated from Jul 8 '10 at 21:25

This question came from our site for professional and enthusiast programmers.

I'm getting this information from the Unix man page and my own Linux system. I don't know anything about hp-ux so hopefully this applies.

When I do a ls -al /dev on my linux system, I get various devices named dvd, cdrom, and scd0 which are all symbolic links to sr0. You might have something similar.

I am able to mount cdrom's with a line like this:

mount -t iso9660 /dev/cdrom /cdrom

where /cdrom is a pre-created directory for mounting cds. You might have some directories under /mnt that you can use. I can replace /dev/cdrom with /dev/dvd or /dev/sr0... it all goes to the same place.

Mount is usually smart enough to figure out what file-system type it is trying to mount so you can usually get away with a line like this:

mount /dev/cdrom /cdrom

Where you only need to specify the device you'd like to mount and the location or directory you'd like to mount it to.

These command would need to be run as root. If you have an entry in /etc/fstab or /etc/mmtab for the cdrom... then you can mount it with something like

mount /dev/cdrom

where the mount point is predefined. Here is a snippet from the Unix man page:

   The file /etc/fstab (see fstab(5)), may contain lines  describing  what
   devices  are  usually  mounted where, using which options. This file is
   used in three ways:

   (i) The command
      mount -a [-t type] [-O optlist]
   (usually given in a bootscript) causes all file  systems  mentioned  in
   fstab  (of  the  proper  type  and/or  having  or not having the proper
   options) to be mounted as indicated, except for those whose  line  con-
   tains the noauto keyword. Adding the -F option will make mount fork, so
   that the filesystems are mounted simultaneously.

   (ii) When mounting a file system mentioned in  fstab,  it  suffices  to
   give only the device, or only the mount point.

   (iii)  Normally,  only  the superuser can mount file systems.  However,
   when fstab contains the user option on a line, anybody  can  mount  the
   corresponding system.

   Thus, given a line
      /dev/cdrom  /cd  iso9660  ro,user,noauto,unhide
   any user can mount the iso9660 file system found on his CDROM using the
      mount /dev/cdrom
      mount /cd
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.