Oberon Community Platform Forum
December 07, 2019, 08:39:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: loopback driver ?  (Read 5620 times)
Bernhard T.
Administrator
Full Member
*****
Posts: 164


« on: December 01, 2010, 05:10:56 PM »

is there something like a loopback filesystem driver?

I'd like to mount an image of a cd and look into it. Under linux it can be done with a loopback driver. Is there something like that also for A2/BlueBottle/AOS? I found only the "relative filesystem driver" for WinAOS.

regards
    Bernhard
Logged
Bernhard T.
Administrator
Full Member
*****
Posts: 164


« Reply #1 on: February 20, 2012, 02:33:50 PM »

I found the answer myself:

there is a module called VirtualDisks, which does exactly what I was asking for ...

With

   VirtualDisks.Install VD USB:A2.ISO ~


after having mounted my USB stick with the graphical Partition Tool I see similar stuff in the Partition Tool as I see on the burned CD ...

Although I was not yet successfull in mounting an ISO image (most probably I did not get the block size right for an ISO image), I was able to mount a hard disk image:

   VirtualDisks.Install VD USB:a2.img ~
   FSTools.Mount N AosFS VD#1 ~


The second step can be achieved in the graphical Partition Tool.

VirtualDisks are used heavily in Build.Tool for creating the bootable images.
--
  Bernhard
« Last Edit: February 22, 2012, 04:49:54 PM by Bernhard T. » Logged
Bernhard T.
Administrator
Full Member
*****
Posts: 164


« Reply #2 on: February 23, 2012, 03:01:59 PM »

yet another update:

  FSTools.Mount USB FatFS USB0#1 ~
  VirtualDisks.Install -b=2048 VD USB:A2.ISO ~
  FSTools.Mount CD AosFS VD#0

works. I can see all files which would be on the CD, if I would have burned the image.
« Last Edit: March 16, 2012, 11:27:59 AM by Bernhard T. » Logged
peasthope
Full Member
***
Posts: 100


WWW
« Reply #3 on: February 24, 2012, 06:24:00 PM »

Bernhard,

Quote
I can see all files which would be on the CD, if I would have burned the image.

Thanks for explaining.  In the context of MacOS this was described as "mounting a disk image".  At first the "disk" was a diskette; later a CD.  Ideally it should work for any media.  Correct?

Might be obvious to others, but what formats are allowed for the disk image here?  Only ISO?

Thanks again,                ... Peter E.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!