How to view contents of Fatdog's main sfs?

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
MochiMoppel
Posts: 1236
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

How to view contents of Fatdog's main sfs?

Post by MochiMoppel »

When I click on the main sfs file of other distros I'm presented with an option to view the contents (see screenshot).
I understand that in Fatdog the sfs is packed into the initrd, but is it possible to peek into the sfs with the same or similar mechanism as for other distros? I sometimes need to have a quick look at the contents and want to do it with as much ease as possible.

Attachments
view_contents.png
view_contents.png (24.35 KiB) Viewed 799 times
TerryH
Posts: 637
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 158 times
Been thanked: 160 times

Re: How to view contents of Fatdog's main sfs?

Post by TerryH »

You can do it in a 2 step extract, click the initrd and extract that first, then as normal you can click the fd811.sfs in the extracted directory.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
MochiMoppel
Posts: 1236
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: How to view contents of Fatdog's main sfs?

Post by MochiMoppel »

TerryH wrote: Mon May 03, 2021 1:47 amclick the initrd and extract that first
I'm using a mainly pristine Slacko5.6 and clicking on initrd does nothing. Using MMview I can see the contents and I may be able to figure out, how to extract only the fd811.sfs file, but extracting would mean that the file be extracted either to my personal usage space in RAM, space that is scarce on my machine, or onto my USB stick, which is slow. Cleaning up after peeking into the sfs file would also be required.

Is there anything that is as painless as the method seen in the screenshot?
User avatar
JakeSFR
Posts: 276
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 159 times

Re: How to view contents of Fatdog's main sfs?

Post by JakeSFR »

Not sure if it meets you definition of "painless", but there's archivemount (OOTB in Fatdog), so you can simply mount the initrd and then click the fd64.sfs inside.
Accessing it via mounted initrd is, of course, noticeably slower than extracted one.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Feek
Posts: 398
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 54 times
Been thanked: 90 times

Re: How to view contents of Fatdog's main sfs?

Post by Feek »

MochiMoppel wrote: Mon May 03, 2021 4:02 am
TerryH wrote: Mon May 03, 2021 1:47 am

click the initrd and extract that first

I'm using a mainly pristine Slacko5.6 and clicking on initrd does nothing. Using MMview I can see the contents and I may be able to figure out, how to extract only the fd811.sfs file, but extracting would mean that the file be extracted either to my personal usage space in RAM, space that is scarce on my machine, or onto my USB stick, which is slow. Cleaning up after peeking into the sfs file would also be required.

Is there anything that is as painless as the method seen in the screenshot?

How to get fd811.sfs out of the initrd:
click on the .iso, copy the initrd out of the .iso somewhere else (eg. to root), then left-click to open it and inside is fd811.sfs. This works for me when I do it in Fatdog (I haven't tried it from another Puppy).
Unfortunately, I don't know a painless way to look inside, maybe someone else will know.

User avatar
MochiMoppel
Posts: 1236
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: How to view contents of Fatdog's main sfs?

Post by MochiMoppel »

JakeSFR wrote: Mon May 03, 2021 11:33 am

Not sure if it meets you definition of "painless", but there's archivemount (OOTB in Fatdog), so you can simply mount the initrd and then click the fd64.sfs inside.

Haven't compiled from source for years and try to avoid it. Found an archivemount.pet in the Murga forum but it would not run. Installed the required libarchive from my devx.sfs but it's probably the wrong version, so I finally gave up. Sounds like an interesting tool but few information suggests that it is not widely used in the Puppy universe.

Feek wrote: Mon May 03, 2021 11:39 am

click on the .iso, copy the initrd out of the .iso somewhere else (eg. to root), then left-click to open it and inside is fd811.sfs.

That's basically what TerryH proposed. Left-click open doesn't work for me.

Maybe I have to bite the bullet and some day extract this thing, then make a full file listing and use such file list for reference. Not ideal and certainly not as painless as I hoped for but nothing is easy these days.

Anyway, thanks everyone for the suggestions. I really appreciate this fast response of the Fatdog community.

User avatar
JakeSFR
Posts: 276
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 159 times

Re: How to view contents of Fatdog's main sfs?

Post by JakeSFR »

MochiMoppel wrote: Mon May 03, 2021 12:47 pm
JakeSFR wrote: Mon May 03, 2021 11:33 am

Not sure if it meets you definition of "painless", but there's archivemount (OOTB in Fatdog), so you can simply mount the initrd and then click the fd64.sfs inside.

Haven't compiled from source for years and try to avoid it. Found an archivemount.pet in the Murga forum but it would not run. Installed the required libarchive from my devx.sfs but it's probably the wrong version, so I finally gave up. Sounds like an interesting tool but few information suggests that it is not widely used in the Puppy universe.

Some time ago, I built 32bit, statically linked (against musl) archivemount: https://drive.google.com/file/d/1KxDKST ... sp=sharing
Should work in every x86(_64) Linux.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
MochiMoppel
Posts: 1236
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: How to view contents of Fatdog's main sfs?

Post by MochiMoppel »

@JakeSFR Thank you! Works great 👍🏼

Post Reply

Return to “FatDog64”