The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
quick sed help katrvu Shell Programming and Scripting 3 02-20-2008 10:54 PM
Quick one kekanap Shell Programming and Scripting 4 01-31-2008 03:23 AM
Need quick help SanjayLinux Shell Programming and Scripting 1 09-25-2007 06:36 AM
i need quick help???...please M_Hafez UNIX for Dummies Questions & Answers 3 01-14-2005 03:22 AM
Quick Q, DNS sajjan2 UNIX for Dummies Questions & Answers 1 04-22-2002 09:50 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2008
Registered User
 

Join Date: May 2008
Posts: 11
Quick help!!!!!!!!!!!!!!!!!!

Hi,
iam trying to use lofiadm in solaris 5.10 but getting the following error..
Code:
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..
Code:
$ ls -lt lofictl
lrwxrwxrwx   1 root     root          28 Nov  4  2005 lofictl -> ../devices/pseudo/lofi@0:ctl

Please suggest

Last edited by Yogesh Sawant; 06-18-2008 at 06:15 AM. Reason: added code tags
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-19-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 503
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
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0