Edit: changed the post subject from: What is Puppy's boot file location variable?
The object was to find the boot file directory, here is the code I used to do it. The find command looks for an exact file name with an exact file size, so it should be pretty accurate. If there's a better method, please post.
Code: Select all
#calculate file size in bites /1048576
finddir=$(find /mnt/home/ -type f -name "puppy_fossapup64_9.5.sfs" -size 487M)
echo "$finddir"
pupdir=$(dirname "$finddir")
echo "$pupdir"
Thanks
wizard