Fatdog parm to instruct it to look 1 level below the root on a partition

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

Post Reply
Clarity
Posts: 3823
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 521 times

Fatdog parm to instruct it to look 1 level below the root on a partition

Post by Clarity »

I seem to have remembered that there is a boot parm to instruct FD to look an additional level below the root level for saved-sessions.

Question

  • Is this still a feature of v901? If so, what would I add to the linux boot line to look 1 level below?

User avatar
dr__Dan
Posts: 83
Joined: Tue Jul 28, 2020 5:06 am
Has thanked: 52 times
Been thanked: 28 times

Re: Fatdog parm to instruct it to look 1 level below the root on a partition

Post by dr__Dan »

@Clarity, Menu>System>Fatdog Help>Boot Options has the info you need. :thumbup:

Dan

9 years on with Fatdog64. :D

jamesbond
Posts: 716
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 402 times

Re: Fatdog parm to instruct it to look 1 level below the root on a partition

Post by jamesbond »

To add to @dr__Dan, the parameter you're looking for is called search.

Clarity
Posts: 3823
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 521 times

Re: Fatdog parm to instruct it to look 1 level below the root on a partition

Post by Clarity »

Thanks @dr__Dan and @jamesbond> Yes, I did find the TOC entry and the parm within.

I am revisiting this boot problem I had a while back; I gave up on it, then, in favor of a direct pointer in the savefile parm. I am now trying to work out correct use of the search= parm on the linux line.

In my limited reading, I am to understand that when the search parm is set, it tell the boot process how many levels from the root of ALL drives for a FD session. But this is not working for me, thus I believe I may be mis-understanding or mis-using the parm.

Environment
I have a drive whose label is Persistence which has a folder Sessions where a prior FD session within. The folder is "/Sessions/FD/v901"

Tests

  1. vmlinux rootfstype=ramfs search=5 (does not find the prior session)

  2. vmlinux rootfstype=ramfs search=5 savefile=ram:multi:label:Persistence (does not find the prior session)

  3. vmlinux rootfstype=ramfs search=5 savefile=ram:multi:label:Persistence:/Sessions/ (DOES find the prior session)

I recognize that test #3, above, relieves me having to "point" the savefile parm all the way to the prior session, but I am clueless why search needed "5" to get there.

Questions

  • Should I be able to find the prior sessions merely with only the search parm?

  • With the savefile identifying the device label good enough for the search parm to direct the boot to find the prior session?

  • Am I using the search parm correctly in directing how many levels deep it is to search, starting at the root?

Thanks in advance for guidance to proper parm use for booting by adding correct entry(s) at boot time's menu to find the prior session. Your help can clear my understanding of search for prior session and any indirect relationship of the search parm to the savefile parm.

Even as this is not a high priority for me, I do hope to get any help in understanding this proper parm usage.

The following is a failed example where the prior session was NOT found. To find the session in the Sessions folder, I needed to do test #3, above

A failed example where the prior session was NOT found
A failed example where the prior session was NOT found
xscreenshot-20240614T073928.png (252.66 KiB) Viewed 557 times
Post Reply

Return to “FatDog”