Announcing: .tar filesystem!

The .tar filesystem is now ready for preliminary playing-around.
It’s what I call “pre-alpha” quality, which basically means that it
compiled here and I was able to look at a few files.

What it does

Ever wanted to just look at one or two files within a .tar file,
without having to unpack the whole thing? Well, now you can :slight_smile:
The tarfs “.tar filesystem” opens the .tar file, and presents the
contents as a virtual filesystem. It interfaces with the mount
command, so you can mount a .tar anywhere you like.

For example, if you’re in /home/root, and looking at “spud.tar”,
you can:

mount -T tarfs /home/root/spud.tar spud.tar.dir

(assuming that “tarfs” is already running).

Now, the best part is you can just “cd” into “spud.tar.dir” and
look at the files.

Visit:

http://www.parse.com/free/tarfs.html

to download.

Cheers,
-RK

[spammed to comp.os.qnx qdn.cafe qdn.public.qnxrtp.os]


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

IMHO … tarfs is now near beta quality. Thanks Rob!

A look into a tar.gy archive is now only three clicks away:

  • start tarfs&
  • associate the ‘open’ function of the Photon file manager (pfm) with
    the command ‘mount_tarfs @ /@’

Example: archive.tar.gz (can’t be located at / )
left, right mouse click → open
cd to / → dir /archive.tar.gz shows the contents :slight_smile:

Armin







Robert Krten wrote:

The .tar filesystem is now ready for preliminary playing-around.
It’s what I call “pre-alpha” quality, which basically means that it
compiled here and I was able to look at a few files.

What it does

Ever wanted to just look at one or two files within a .tar file,
without having to unpack the whole thing? Well, now you can > :slight_smile:
The tarfs “.tar filesystem” opens the .tar file, and presents the
contents as a virtual filesystem. It interfaces with the mount
command, so you can mount a .tar anywhere you like.

For example, if you’re in /home/root, and looking at “spud.tar”,
you can:

mount -T tarfs /home/root/spud.tar spud.tar.dir

(assuming that “tarfs” is already running).

Now, the best part is you can just “cd” into “spud.tar.dir” and
look at the files.

Visit:

http://www.parse.com/free/tarfs.html

to download.

Cheers,
-RK

[spammed to comp.os.qnx qdn.cafe qdn.public.qnxrtp.os]

Armin Steinhoff <a-steinhoff@web.de> wrote:

IMHO … tarfs is now near beta quality. Thanks Rob!

No problem. I have a few known issues that I’ll share here,
just to dispell the “near beta quality” statement. :slight_smile:
You can create files within the virtual filesystem – they just
show up as if it was a ramdisk (but they certainly do not show
up in the .tar file). You can delete files out of the filesystem
(again, they do not delete out of the .tar itself). Dates and
times are wrong. Stuff like that :slight_smile: These need to be fixed.

A look into a tar.gy archive is now only three clicks away:

Damn European keyboards, eh? y <-> z :slight_smile:

  • start tarfs&
  • associate the ‘open’ function of the Photon file manager (pfm) with
    the command ‘mount_tarfs @ /@’

Example: archive.tar.gz (can’t be located at / )
left, right mouse click → open
cd to / → dir /archive.tar.gz shows the contents > :slight_smile:

Armin

Cheers,
-RK


Robert Krten wrote:
The .tar filesystem is now ready for preliminary playing-around.
It’s what I call “pre-alpha” quality, which basically means that it
compiled here and I was able to look at a few files.

What it does

Ever wanted to just look at one or two files within a .tar file,
without having to unpack the whole thing? Well, now you can > :slight_smile:
The tarfs “.tar filesystem” opens the .tar file, and presents the
contents as a virtual filesystem. It interfaces with the mount
command, so you can mount a .tar anywhere you like.

For example, if you’re in /home/root, and looking at “spud.tar”,
you can:

mount -T tarfs /home/root/spud.tar spud.tar.dir

(assuming that “tarfs” is already running).

Now, the best part is you can just “cd” into “spud.tar.dir” and
look at the files.

Visit:

http://www.parse.com/free/tarfs.html

to download.

Cheers,
-RK

[spammed to comp.os.qnx qdn.cafe qdn.public.qnxrtp.os]


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

Robert Krten wrote:

Armin Steinhoff <> a-steinhoff@web.de> > wrote:

[ clip …]
A look into a tar.gy archive is now only three clicks away:

Damn European keyboards, eh? y <-> z > :slight_smile:

Right, but that’s not political correct … should be:

→ Damn old European keyboards, eh? y <-> z :slight_smile:

Cheers

Armin :slight_smile:

Now moved to beta status; more bug fixes…

Cheers,
-RK

Robert Krten <nospam84@parse.com> wrote:

The .tar filesystem is now ready for preliminary playing-around.
It’s what I call “pre-alpha” quality, which basically means that it
compiled here and I was able to look at a few files.

What it does

Ever wanted to just look at one or two files within a .tar file,
without having to unpack the whole thing? Well, now you can > :slight_smile:
The tarfs “.tar filesystem” opens the .tar file, and presents the
contents as a virtual filesystem. It interfaces with the mount
command, so you can mount a .tar anywhere you like.

For example, if you’re in /home/root, and looking at “spud.tar”,
you can:

mount -T tarfs /home/root/spud.tar spud.tar.dir

(assuming that “tarfs” is already running).

Now, the best part is you can just “cd” into “spud.tar.dir” and
look at the files.

Visit:

http://www.parse.com/free/tarfs.html

to download.

Cheers,
-RK

[spammed to comp.os.qnx qdn.cafe qdn.public.qnxrtp.os]


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at > www.parse.com> .
Email my initials at parse dot com.


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.