Benutzer-Werkzeuge

Webseiten-Werkzeuge


de:sysadmin:tools:mount-cd

Mounting CDs under HP-UX or AIX

Stand ≤ 2007

Anmerkung: unter Linux ist das alles viel entspannter …

CD-Standards

ISO-9660

CDs muessen im ISO-9660 Standard gebrannt werden, sonst kann man sie (zumindest unter Unix) gar nicht lesen. ISO-9660 unterstuetzt nur kurze Dateinamen, eventuell wird noch ein Semikolon und eine Nummer angefuegt ( ABCDEFGH.XYZ;1 ).

Rock Ridge

Wenn lange Dateinamen gewuenscht sind, braucht man die Rock Ridge Erweiterung des ISO-9660 Standards. Leider wird das nicht von jedem Windows Brennprogramm unterstuetzt.

Joliet

Die Joliet-Erweiterung ist ein reines Windowsformat - und sonst nur unter Linux lesbar.

Hinweis: CDs koennen auch in Joliet und Rock Ridge gebrannt werden!

CD-Brenner vorhanden, aber kein passendes Brennprogramm unter Windows?

  • CDs mit Knoppix brennen (Knoppix ist ein von CD bootbares Linux)
  • oder ISO-CD Image mit mkisofs unter AIX oder Linux (oder Windows)

Mounting a CD

Quelle: https://support.thewrittenword.com/resources/install/dists/cd/mount/

CDs are created to conform to the ISO-9660 standard with Rock Ridge extensions. The examples below assume a particular SCSI ID or device path for the CD-ROM drive. Please adjust for your configuration.

( HP-UX: /usr/sbin/ioscan -fun )

AIX 4.3.x, 5.x

Issue the following command to mount the CD-ROM:

$ mount -rv cdrfs /dev/cd0 /mnt

HP-UX 10.20

The HP-UX 10.20 mount(1M) command does not support the Rock Ridge extension to ISO-9660 CDs.

Because the mount(1M) command cannot be patched to support the Rock Ridge formatted CDs, the pfs daemons must be started prior to mounting the CD. The pfs suite of utilities, shipped with the OS, provide the ability to support the Rock Ridge extensions. To use the pfs tools, two daemons must be started, invoked with the following commands:

$ pfs_mountd &
$ pfsd &

Once the above is done, the following commands are used to mount and unmount the CD:

$ pfs_mount -t rrip -o ro /dev/dsk/c0t4d0 /mnt

Do whatever you want to do on the cd data, then stop all processes using that directory.

$ pfs_umount /mnt

The pfsd and pfs_mountd programs must be killed once the CD is unmounted.

HP-UX 11.x

The PHCO_26449, PHKL_26450, and PHKL_28060 patches must be installed to add Rock Ridge support for HP-UX 11.00 and the PHKL_26269, PHCO_25841, and PHKL_28025 patches must be installed for HP-UX 11i (11.11).

Once the above patches have been applied, the following command can be used to mount the CD:

$ mount -o ro,rr /dev/dsk/c0t4d0 /mnt

Anmerkung: wenn die Patche nicht installiert sind, muss man wie bei HP-UX 10 vorgehen.


de/sysadmin/tools/mount-cd.txt · Zuletzt geändert: 2019-09-28 16:53 von hella

Seiten-Werkzeuge

Mastodon Twitter