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.
How to view contents of Fatdog's main sfs?
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
- 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?
- Attachments
-
- view_contents.png (24.35 KiB) Viewed 797 times
Re: How to view contents of Fatdog's main sfs?
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
- 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?
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?
Re: How to view contents of Fatdog's main sfs?
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!
Omnia mea mecum porto.
-
- 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?
MochiMoppel wrote: ↑Mon May 03, 2021 4:02 amI'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.
- 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?
JakeSFR wrote: ↑Mon May 03, 2021 11:33 amNot 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.
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.
Re: How to view contents of Fatdog's main sfs?
MochiMoppel wrote: ↑Mon May 03, 2021 12:47 pmJakeSFR wrote: ↑Mon May 03, 2021 11:33 amNot 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!
Omnia mea mecum porto.
- MochiMoppel
- Posts: 1236
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 439 times