*Drive*- Здесь рулят padonki

*Drive* - Counter Strike Source
It is currently 18 Mar 2019, 22:19

All times are UTC + 3 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 23 Aug 2010, 12:51 
Offline
User avatar

Joined: 15 Nov 2006, 20:41
Posts: 58
Location: msk
Has thanked: 0 time
Have thanks: 0 time
Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command:

Code:
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:

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


These commands can be combined into a single command:

Code:
mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt

_________________
Image
Image
Image
Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by -=PadonaK=- ®, Forum Drivesource.ru, Статситика игрового ресурса *Drive* HLstatsX, Система забаненых игроков Sourcebans

drivesource.ru ® 2006-2019