mount an iso from a url without downloading httpfs2

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

mount an iso from a url without downloading httpfs2

Post#1 by bigbass » 01 Oct 2012, 02:24

This is really great news !
We can mount an iso from a web page without downloading it
talk about saving bandwidth make an installer or just extract few files from a large iso or all

I compiled a package for porteus 1.2 and at 41kb could be added in the next iso
http://bigbass-porteus.googlecode.com/f ... 7_PORT.tgz

# make a directory so you have a place to mount the iso

Code: Select all

mkdir -p /mnt/urliso
# then get a link for testing < httpfs2 URL mountpoint >

Code: Select all

httpfs2 http://www.ponce.cc/porteus/i486/current/Porteus-v1.2-i486.iso /mnt/urliso
the output in the terminal will be this
file name: Porteus-v1.2-i486.iso
host name: http://www.ponce.cc
port number: 80
protocol: http
request path: /porteus/i486/current/Porteus-v1.2-i486.iso
auth data: (null)
file size: 263495680
root@porteus:/tmp#

look in /mnt/urliso for the iso now you can extract a file or copy all


more info

Description: FUSE filesystem for mounting files from http servers
httpfs2 is a FUSE based filesystem for mounting http or https URLS as files in
the filesystem. There is no notion of listable directories in http so only a
single URL can be mounted. The server must be able to send byte ranges.



Edited to remove smiles
Joe
Last edited by bigbass on 02 Oct 2012, 18:53, edited 1 time in total.

User avatar
Quax
Full of knowledge
Full of knowledge
Posts: 21
Joined: 29 Dec 2010, 21:28
Distribution: FluxFlux (ARM + x86), Slax7
Location: Muelheim an der Ruhr, Germany
Contact:

Re: mount an iso from a url without downloading httpfs2

Post#2 by Quax » 01 Oct 2012, 07:48

bigbass wrote:This is really great news !
We can mount an iso from a web page without downloading it
Good find!

Nevertheless this is possible with httpfs since Slax-6.0.0 and from then was used to run Slax or mount modules via the web ;)

Regards, Quax
Erfahrung bedeutet gar nichts - man kann Dinge auch 15 Jahre lang falsch machen...

Experience means nothing - one could have done things wrong for the last 15 years...

User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

Re: mount an iso from a url without downloading httpfs2

Post#3 by bigbass » 01 Oct 2012, 16:51

Quax
this is possible with httpfs since Slax-6.0.0

Hey Quax

That info caused me to find this thread
http://www.slax.org/forum.php?action=view&parentID=367

so many good things that get overlooked

Joe

Post Reply