Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - mount of image file: (3 Items)
   
mount of image file  
It's possible to do this :

mount -tqnx4 imagefile /image

But aside from copying a real hd partition how can I create such an imagefile from scratch ?
Re: mount of image file  
dd if=/dev/zero of=imagefile bs=512 count=nblocks
dinit -H imagefile

Mario Charest wrote:
> It's possible to do this :
> 
> mount -tqnx4 imagefile /image
> 
> But aside from copying a real hd partition how can I create such an 
> imagefile from scratch ?
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post8193
> 

-- 
cburgess@qnx.com
Re: mount of image file  
> dd if=/dev/zero of=imagefile bs=512 count=nblocks
> dinit -H imagefile
> 

Is the -H a typo? Capital -H is not in the use message. I tried with -h, works fine.

Never occured to me that dinit could take a file as an argument.  Thanks

Would be nice to have a utility similar to mkefs so we can build a "filesystem image", unless there is already a way to 
do it ( I'm most interested in being able to do it from Windows)

> Mario Charest wrote:
> > It's possible to do this :
> > 
> > mount -tqnx4 imagefile /image
> > 
> > But aside from copying a real hd partition how can I create such an 
> > imagefile from scratch ?
> > 
> > _______________________________________________
> > OSTech
> > http://community.qnx.com/sf/go/post8193
> > 
> 
> -- 
> cburgess@qnx.com