Tuesday, January 3, 2006

Chapter 2( Mounting the CD drive on HP-UX )

different with the other software like asp.net , php , jsp. in coldfusion mx can Mounting the CD drive on HP-UX

To accommodate long filenames, Macromedia writes ColdFusion MX 6.1 to the CD using the

RockRidge format. This format is supported by HP-UX using the Portable File System (PFS)

commands, not the standard HP-UX mount/umount commands. For more information on PFS

commands, enter the following command: man pfs_mount.

To mount the CD drive on HP-UX using the HP PFS extensions:

1 Create a mount point for the CD drive; for example:

mkdir /SD_CDROM

2 Create an entry in the PFS mount file, as follows:

a Create or edit the file /etc/pfs_fstab, adding an entry like the following:

/dev/dsk/c1t2d0 /SD_CDROM pfs-rrip xlat=unix 0

(In this example, /dev/dsk/c1t2d0 is the , /SD_CDROM is the

, pfs-rrip is the , and xlat=unix 0 is the .)

b In your entry, ensure that the path that you set in the device_file field is the device name of

your CD drive, and that your mount_point is the name that you selected for the mount

point in step 1.

3 Start the PFS processes, as follows:

nohup /usr/sbin/pfs_mountd &

nohup /usr/sbin/pfsd &

4 Mount the CD drive, as follows:

/usr/sbin/pfs_mount /SD_CDROM

The CD appears under /SD_CDROM.

5 When you finish using the CD, you can unmount it using the following command:

/usr/sbin/pfs_umount /SD_CDROM

No comments: