Quick help!

Hi,
iam trying to use lofiadm in solaris 5.10 but getting the following error..

bash-3.00# lofiadm -a /asmdisks/_file_disk1
lofiadm: /dev/lofictl: No such file or directory

i dont see lofictl file in /dev ..
i checked in other similar machines..i found this file..can i export this file from the other machine?if yes..what is the process..i could see the file in the other machine as below..

$ ls -lt lofictl
lrwxrwxrwx   1 root     root          28 Nov  4  2005 lofictl -> ../devices/pseudo/lofi@0:ctl

Please suggest

Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command:

lofiadm -a /export/temp/software.iso /dev/lofi/1

The lofi device creates a block device version of a file. This block device can be mounted to /mnt with the following command:

mount -F hsfs -o ro /dev/lofi/1 /mnt

These commands can be combined into a single command:
mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt

command lofiadm -a /tmp/z.iso /dev/lofi/1 failed on Solaris 10 because there is no /devices/pseudo/lofi@0:ctl exists on Solaris 10.

However, /devices/pseudo/lofi@0:ctl exists on Solaris 9, so the same command would work.

I don't think one can copy that file from a Solaris 9 server to a Solaris 10.

I'm searching for an answer to this problem too ... :eek: