Re: Mount bzip2 disk image

From: Polytropon <freebsd_at_edvax.de>
Date: Wed, 13 Sep 2023 23:59:57 UTC
On Wed, 13 Sep 2023 17:01:36 +0200, Andrea Venturoli wrote:
> On 9/13/23 15:28, Frank Leonhardt wrote:
> 
> > The rest of the paragraph explains this would be decompressing the bzip2 
> > image from tape (or other offline stream), so the actual disk space 
> > would be about the same as having the bzip2 file on DASD.
> 
> I'm not sure I understand what you mean...
> I have no tape.

DASD = Direct Access Storage Device, i. e., disks or SSDs,
also known as on-line storage ("D U,DASD,ONLINE", if you
wish).

Yes, I am old. ;-)

Tape is sequential access. In FreeBSD, see da* and sa* devices,
speaking the SCSI language.



> I only have internal HD storage, where the bzip2 image is and where I 
> could decompress it (provided enough space would be free).

Do you have the change to temporarily add a sufficiently
big external disk, even if it's just a cheap 5 TB USB disk?
It won't be fast (as it's the speed limit of USB), but you
could then use the image file in the mentioned way of vnode
(mdconfig + mount -o ro + cp + umount), and afterwards you
have a nice big disk - a DASD - to your disposal... :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...