Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 18 Dec 2018, 08:45
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
YaPI (yet another Puppy Installer) install any Puppy iso
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 27 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, 30, 31 Next
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 18 Mar 2016, 03:24    Post subject:  

Like the locate/slocate commands, the tree command is not in every PUP. Not available on @BarryK's distros, @TaZoC's LightHouse or on @PeeBee's distros.

FYI

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13181
Location: Gatineau (Qc), Canada

PostPosted: Fri 18 Mar 2016, 12:41    Post subject:  

gcmartin wrote:
Like the locate/slocate commands, the tree command is not in every PUP. Not available on @BarryK's distros, @TaZoC's LightHouse or on @PeeBee's distros.

FYI

What kind of a distro is this? No < tree > command. Humpf. Twisted Evil

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13181
Location: Gatineau (Qc), Canada

PostPosted: Fri 18 Mar 2016, 13:22    Post subject:  

The situation has been taken care of.
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 18 Mar 2016, 15:15    Post subject:  

Adding the TREE command PET to the PUPPY's system commands allows instant retrieval of my ISO list.
Code:
bash-4.1# cd /mnt/MyNAS4/ISOs
<root> /mnt/MyNAS4/ISOs
bash-4.1# tree -if | grep -E "\.iso$"
./Downloads/LInux/Puppy/Musher0/dpw-3.14.56.1.iso
./   o
./   o
./   o
Very helpful command, indeed.

Thanks

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Fri 18 Mar 2016, 19:58    Post subject:  

musher0,

Good to see you back!!!!

musher0 wrote:
Hi guys.

FWIW, here's a relatively fast < find > alternative:
Code:
tree -if | grep -E "\.iso$"
BFN.


In Slacko 6.3.0 I tried this code.
Tree command is supported in Slacko 6.3.0

My output.
Code:
root# tree -if | grep -E "\.iso$"
./download/librepup-6.0.2.0.iso
./download/lupu3hd-5.2.8.6-20131124.iso
./download/pmagic-5.8.iso
./download/slacko-6.3.0.iso


Yes, it was very, very fast at giving a list of iso's I have in my Slacko 6.3.0 install.
I guess it only searched the partition Slacko 6.3.0 is on.

For YaPI, I think the search bottleneck is always going to be mounting and UN-mounting partitions. Not sure if anything is going to help, that, to make YaPI search faster.

YaPI is turning into a good test of what is and is not in Puppy versions.

YaPI needs xdialog to support use of the extra button in xdialog windows. Not all Puppies have this support.

You trying to give us a better iso search code is also showing command support deficiencies in Puppy versions.

For YaPI to fully work, we are trying to make sure it will fully work in the latest newest versions of Puppy.
Tahrpup 6.0.5
Tahrpup64 6.0.5
Slacko 6.3.0
Slacko64 6.3.0
Fatdog64
And maybe, at best, be able to do a normal frugal and full install in some of the other Puppies.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked

Last edited by bigpup on Fri 18 Mar 2016, 20:31; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Fri 18 Mar 2016, 20:14    Post subject:  

L18L,

Tahrpup 6.0.5 will not offer the refresh or SUPERFLOPPY buttons. Xdialog does not provide support for these extra buttons.

So, I reported the problem in the Tahrpup 6.0.5 bug topic.

Problem now partly fixed. Now get the Refresh button.

Need to install the latest Tahrpup 6.0.5 update, by using Quickpet->Info->Tahrpup updates.

SuperFloppy button, I think, is still about lack of SuperFloppy needed files missing from Tahrpup 6.0.5.
Strange that all needed support is in Tahrpup64 6.0.5 Shocked Laughing

Still trying to troubleshoot this SuperFloppy issue.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Sat 19 Mar 2016, 17:31    Post subject:  

With 17,000 + views of this topic, 35 downloads of the Yapi.pet, and about 7 people making comments.

Not really sure what all this indicates. Laughing
Some interest. Question
Some willingness to try it. Question
Some willingness to help. Question
Good idea Question
Not a good idea Question

Any feedback good or bad out there. Question Idea

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Sat 19 Mar 2016, 18:05    Post subject:  

In the first post of this topic is information on how to return a USB flash drive to a normal partition/format setup, after you have used it for a SuperFloppy install.

SuperFloppy install is a good way of making a Puppy live USB flash drive. However, it is a different way of setting up a USB flash drive.
One very good benefit is, all the main Puppy files are in a read only section of the drive. Nothing else can be written to this section of the drive. The Puppy save is the only Puppy file/folder that can be written too or changed.
Also, 95% of the USB drive is still a readable and writable normal partition. This is where the Puppy save is placed.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13181
Location: Gatineau (Qc), Canada

PostPosted: Sat 19 Mar 2016, 21:33    Post subject:  

Hi bigpup. Thanks for the kind words.

I've been thinking about this a little. Perhaps we can have our cake and eat it too...
I mean benefit of the speed of < tree > and have speedy mounts as well.

As before, we mount the unmounted drives, scan for isos and build our list.

But instead of un-mounting immediately the partitions that need to be un-mounted,
we make a note in a string or in a temp file that partition such-and-such needs to
be unmounted later.

This way, we don't tax the patience of our user too much. Because we know it's
the "lazy" un-mounting < umount -l > that takes the most time. And at this time,
I would say it's safe to leave the partitions mounted for the duration because the
user is not doing anything else, (s)he's busy installing a Puppy! Smile

Also, (s)he can choose a Puppy iso on any partition, they're all availalble at this
time, we don't have to re-mount any partition. Here again some time would be
saved/gained.

Once we have finished our process of installing the Pup, we do whatever un-
mounting needs to be done. We write a little < umount -l > loop that feeds on the
previously created temp file and voilà.

We could even have a fork at this point: if the user wishes to reboot immediately
with the newly installed Pup, the script wouldn't have to un-mount the remaining
partitions, Puppy's shutdown process would do it for us. We'd have our un-
mounting loop kick in only if the user wishes to continue his/her session.

Since the main job is finished, we can officially close the app, do the un-mounting
in the background with perhaps a < nice > command prefix, so the user will barely
notice it.

This way, we could probably shave a minute or two off the process. What do you
think? Is it worth a try?

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Sun 20 Mar 2016, 02:15    Post subject:  

musher0,

Your mount UN-mount ideas are probably a good way to make the iso search faster. As the search code was being written, similar ideas were suggested and discussed.
Even searching UN-mounted drives was discussed as something YaPI should not do.
It was soon understood that the search should leave the computer in the condition it found it. That is why it only leaves drives mounted that were mounted to begin with.
The general discussion was, drives were UN-mounted, by the user, for a reason, and YaPI should not change that.

This is also kind of a Puppy standard. Drives are mounted and UN-mounted when you want them to be.

I feel you telling YaPI to search for iso's is you deciding to mount drives.
However, it was decided that did not say you decided to keep them mounted. so, YaPI UN-mounts the ones you had UN-mounted.

I could see the search start with mounting all drives.
Do the search.
Make the list of iso's.
UN-mount drives that were not mounted before the search.

Now the question is: does that really make the search faster or better than it is now?

Also, just how deep in the filesytem does the search go?
1, 2,3,4,5,6, etc......directories deep in a partition?

I have noticed the search of a partition, does take longer, if it has a lot of directories with sub, and sub sub, etc... directories in it. But, that could be caused by the code commands doing the search.
musher0, your number of partitions and number of iso files, is probably a little above the normal Puppy users but, YaPI needs to work good for you too Laughing

Any idea is worth checking out!!

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13181
Location: Gatineau (Qc), Canada

PostPosted: Sun 20 Mar 2016, 04:57    Post subject:  

Thanks for your reply.

Since you have a final version, I suppose my suggestion has become "rhetorical".
I understand.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 932
Location: Mid-mitten

PostPosted: Sun 20 Mar 2016, 05:34    Post subject:  

bigpup wrote:
With 17,000 + views of this topic... Not really sure what all this indicates. Laughing

.... Good idea Question


Hi bigpup - yes, good idea! Exclamation I am one who has been lurking since you began this idea/project, as I've always wished the original PUI could work on other Puppies/.iso's in addition to the currently running one.

I, personally, find no great need for an .iso search function... if I'm sitting down to install a Puppy, I already well know which one I want to install and where it'll be located - and I'll manually mount the partition if need be (and leave it mounted until the process is finished). The "open with... YaPI" right-click function sounds great, and would already have required me to manually mount the desired partition anyway.

Either that, and/or a simple GUI directory "browse" function/button would be plenty sufficient. Like what any typical .iso burner program might offer.

I'm sorry as I have no time/energy to test these days (and I am mostly on Barry's Precise 5.7.1 anyways, and YaPI may not work properly on that anyhow?) - wish I could contribute something worthwhile, though! Sad

But good luck, and keep up the good work! (L18L and musher0, too!) Cool Looks (from here) like it's coming along very nicely!

Bob
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 20 Mar 2016, 06:26    Post subject:  

All good views from @Musher0, @BigPUP, and @Moat being shared; all with merits.

But the prize which I think was prevalent when this got underway was a clearer, easier to understand, straight forward, simple, and better PUI that ANY user, novice, beginner, or experienced would be able to use.

For most, the current PUI that ships with PUPPY is a beast in understanding that has received complaints over the years. This PUI starts with an intent to ease what is occurring as one builds the USB/HDD/SD/SSD/etc for whatever ISO the user desires. When it is clear in understanding, users do not have to continue with the trial and error practice that the old user leads users into; especially true for most first-time users. Thus this PUI, YAPI, intends to reduce frustrations and clearly in both language and operation help the user to their objective.

The Prize ... a Better PUI! (not just a smarter one, but ...)

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 20 Mar 2016, 07:21    Post subject:  

bigpup wrote:
For YaPI to fully work, we are trying to make sure it will fully work in the latest newest versions of Puppy.
Tahrpup 6.0.5
Tahrpup64 6.0.5
Slacko 6.3.0
Slacko64 6.3.0
Fatdog64
And maybe, at best, be able to do a normal frugal and full install in some of the other Puppies.


YaPI should work in (future !) Woof-CE built Puppies (only Wink ) Exclamation

Fatdog64 is not Woof-CE built, even not a Puppy. Very Happy

TahrPups seem to lack extra-button capable Xdialog.
That is not our problem IMHO.

gcmartin wrote:
The Prize ... a Better PUI! (not just a smarter one, but ...)
Not a better PUI but hopefully: Better than PUI Laughing Wink
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 20 Mar 2016, 12:21    Post subject:  

I lobby that this become the new PUI, removing the old from WOOFCE builds and replacing with this new Internationalized subsystem because of its universal easy approach: IMHO.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 27 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1011s ][ Queries: 13 (0.0449s) ][ GZIP on ]