Oh, I see. Well, I'll have to rewrite that bit of code. You can't assume 4096 either, it could be 1024 as in my case with a ext2 f.s.lluamco wrote:Barry,BarryK wrote: Yes, but it shouldn't matter what the block size is, as the comparisons are relative:Anyway, I've changed it down again, from *3 to *2.Code: Select all
EXPFREEB=`stat --filesystem --format=%f /` #no. free blocks. EXPFILEB=`stat --format=%b $APKGNAMEEX` #no. blocks. EXPNEEDB=`expr $EXPFILEB \* 2` #bz2 can expand up to x3, need twice temp space. v3.01 changed 5 to 3. v3.92 changed to 2. #note, probably better to do like this: EXPNEEDB=$($(($EXPFREEB*3))) if [ $EXPNEEDB -gt $EXPFREEB ];then
my point was trying to stress that the comparisons are not fair, since the block size of the filesystem is 4096, and the block size for files is 512. This can be checked using
which in my system results in 4521177 blocks of size 4096Code: Select all
stat --filesystem --format=%f' blocks of size '%S /
andwhich in turn results, for this particular file, 216 blocks of size 512Code: Select all
stat --format=%b' blocks of size '%B somefile
So my point is that the same block-unit size must be used for the comparison, and this can be afforded dividing EXPNEEDB by 8.(please note double parenthesis in the above expression)Code: Select all
EXPNEEDB=$(($(($EXPFREEB*3))/8))
Lluis
Puppy Dingo 392 testing, bug reporting
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: petget and not enough disk space
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Pmount does not mount USB DVD burners, but MUT does (3.0
Raman,Raman wrote:In Puppy 3.01 I have observed that MUT will recognize and mount drives when Pmount does not. Which is to say, MUT seems to be bulletproof in Puppy 3.01, whereas Pmount in Puppy 3.01 is not. Why is that? Why is MUT always able to recognize and mount drives of any sort -- especially USB mass storage devices (DVD/CDrom, external HD, flash, and so forth), while Pmount sometimes does ... but not always.
Is a puzzle. A puzzle which only deepens when using both Puppy 4 alpha's.
Because MUT is not present in both alpha Puppy 4's and Pmount seems to be deficient in recognizing and mounting USB devices, I cannot recognize or mount any of my USB devices with Puppy 4 Pmount. Puppy 4 Pmount will not mount my current USB DVD/CDrom burners or USB external hard drives or my assorted USB flash drives. I have to use Puppy 3 or Puppy 3.01 (or earlier Puppy releases) to have MUT mount these otherwise bug-free and entirely effective USB DVD/CDrom burners, external USB HD's, and USB flash drives. Only MUT in Puppy 3 and earlier will reliably recognize USB drives of whatever sort, whereas Pmount is flaky, USB-wise. What does MUT have that Pmount does not have? Why does Pmount not recognize USB drives but the earlier Puppy releases with MUT will recognize ALL USB drives of whatever sort, and do so all the time?
Would it be a burden to include MUT in Puppy 4? If not, would it be a burden to fix the obvious USB bug in Pmount? Given that USB devices are so common and critical?
Parenthetically, let me note that alpha 2 will actually recognize and enable my many RS232 serial modems, whereas alpha 1 would not.
Hail Puppy!
Raman
Can you please open a rxvt terminal and run:
# probepart
...let me know if that correctly detects everything.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: some bugs
The fact that you have a 'contacts' desktop icon means that you have upgraded an existing pup_save file, which is expressly warned against in the release announcement on my blog. This early alpha is not ready for that, and your pup_save file is stuffed up.fwilt1 wrote:I am using dingo 392 running in ram from cd, on pentium 4 with 5112 of memory.
Impressed with ease of connecting to cable, liked the auto save, and the disappearance of having to nominate file size etc on first use.
On initial boot the screen had icons superimposed on each other, this ok on subsequent boots
On trying to load email client the desktop shows the program for about half a second then it disappears.
Contacts won't load
calendar claims
Another copy of OSMO is already running or it has been stopped uncleanly (in this case please remove '/root/.osmo/pid' file and try again).
Calc has similar fault to email, and the edit icon has a same issue., and I found after hitting initial OK in JWM the same problem
Cups found our epson cx5700F, which is a first.
So in brief hardware detection is great, but application loading seems to have a fault.
hope this helps
jim
Please read the instructions first.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
I just tested 'CPU Zlib', it works and I don't have a /usr/lib/libz.so. ...but, what I do have is /lib/libz.so as I have the 'devx' file loaded. So, I need to put that into puppy when the devx file is not loaded. done.linuxcbon wrote:Hardinfo : /usr/lib/libz.so missing , it's when you choose benchmarks->CPU ZLib
The icon called "play" is for mplayer ? I though it was for games :-p
'play', ah yes... what is needed is a verb, a "doing word" that means to play a video file
Raman:
" May I be permitted to _mount_ the modest proposal that MUT be included in Puppy 4? "
Vote now?
http://www.murga-linux.com/puppy/viewtopic.php?t=23801
Chris
" May I be permitted to _mount_ the modest proposal that MUT be included in Puppy 4? "
Vote now?
http://www.murga-linux.com/puppy/viewtopic.php?t=23801
Chris
rxvt terminal running # probepart shows everything detected
Dear Mr. BarryK,
You asked me to do the following: "Can you please open a rxvt terminal and run: # probepart ... let me know if that correctly detects everything."
I have done as you suggested and can report that yes, everything is detected by the Puppy alpha 2 OS and reported as such by probepart, including all the USB files (drives, etc.), but Pmount does not detect or mount any of the USB files (drives). Not in Puppy 3.01 Pmount and not in alpha 1 or alpha 2.
I have done this same rxvt terminal running probepart in Puppy 3.01, and yes, probepart reports that the OS recognizes all of the USB files, which Puppy MUT will mount all the time, but which Pmount will not mount all the time, or mount at all, depending. Depending on what is the obvious question that I cannot answer, unfortunately.
I hope this helps.
Hail Puppy!
Raman
You asked me to do the following: "Can you please open a rxvt terminal and run: # probepart ... let me know if that correctly detects everything."
I have done as you suggested and can report that yes, everything is detected by the Puppy alpha 2 OS and reported as such by probepart, including all the USB files (drives, etc.), but Pmount does not detect or mount any of the USB files (drives). Not in Puppy 3.01 Pmount and not in alpha 1 or alpha 2.
I have done this same rxvt terminal running probepart in Puppy 3.01, and yes, probepart reports that the OS recognizes all of the USB files, which Puppy MUT will mount all the time, but which Pmount will not mount all the time, or mount at all, depending. Depending on what is the obvious question that I cannot answer, unfortunately.
I hope this helps.
Hail Puppy!
Raman
Compaq SATA
In a Compaq PC with SATA (and firewire), that is easy to check. SATA drives are visible as sdaX, but as soon as you plug in a USB drive and refresh pmount, the SATA drives disappear (from the pmount window, that is).
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
instructions
Barry
thanks for that,
The fact that you have a 'contacts' desktop icon means that you have upgraded an existing pup_save file, which is expressly warned against in the release announcement on my blog. This early alpha is not ready for that, and your pup_save file is stuffed up.
Please read the instructions first.
I will do so and try again
Jim
thanks for that,
The fact that you have a 'contacts' desktop icon means that you have upgraded an existing pup_save file, which is expressly warned against in the release announcement on my blog. This early alpha is not ready for that, and your pup_save file is stuffed up.
Please read the instructions first.
I will do so and try again
Jim
When I ran ddcprobe from a console of Puppy Dingo 392 (on a multisession DVD+RW) the display instantly went black and the computer locked up. The power had to be turned off before it would restart. So as an experiment I ran ddcprobe from the console of a 3.01 multisession DVD. The screen went black for a second but then came back, and the console showed the results of ddcprobe.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Looking forward to the Xorg driver (as an add on)
At the moment the highest res that xvesa can manage on my present hardware is 800x600
The new lemon theme (default) is the best and most usable (readable on TFT at 800x500) of the ones provided. Maybe variants of that can be provided by those able to design themes? The others are of very poor quality with cramped or blurry font display on my hardware . . .
http://puppylinux.org/wikka/JoesWindowManager
http://www.murga-linux.com/puppy/viewto ... 129#151129
Just a question of altering colours in a text file . . .
At the moment the highest res that xvesa can manage on my present hardware is 800x600
The new lemon theme (default) is the best and most usable (readable on TFT at 800x500) of the ones provided. Maybe variants of that can be provided by those able to design themes? The others are of very poor quality with cramped or blurry font display on my hardware . . .
http://puppylinux.org/wikka/JoesWindowManager
http://www.murga-linux.com/puppy/viewto ... 129#151129
Just a question of altering colours in a text file . . .
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
MUT is a Tcl/Tk application and cannot be in Dingo. Whatever is wrong with Pmount can and will (most likely) be fixed.cthisbear wrote:Raman:
" May I be permitted to _mount_ the modest proposal that MUT be included in Puppy 4? "
Vote now?
http://www.murga-linux.com/puppy/viewtopic.php?t=23801
Chris
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: rxvt terminal running # probepart shows everything detec
Good.Raman wrote:Dear Mr. BarryK,
You asked me to do the following: "Can you please open a rxvt terminal and run: # probepart ... let me know if that correctly detects everything."
I have done as you suggested and can report that yes, everything is detected by the Puppy alpha 2 OS and reported as such by probepart, including all the USB files (drives, etc.), but Pmount does not detect or mount any of the USB files (drives). Not in Puppy 3.01 Pmount and not in alpha 1 or alpha 2.
I have done this same rxvt terminal running probepart in Puppy 3.01, and yes, probepart reports that the OS recognizes all of the USB files, which Puppy MUT will mount all the time, but which Pmount will not mount all the time, or mount at all, depending. Depending on what is the obvious question that I cannot answer, unfortunately.
I hope this helps.
Hail Puppy!
Raman
Can you please post the result of running 'probepart', so I can see if there is anything strange about it. (Just drag to highlight the text, click middle mouse button to past selection)
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Compaq SATA
Again, same test I gave to Raman, can you run 'probepart' and report that the partitions are all shown properly or not.raffy wrote:In a Compaq PC with SATA (and firewire), that is easy to check. SATA drives are visible as sdaX, but as soon as you plug in a USB drive and refresh pmount, the SATA drives disappear (from the pmount window, that is).
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
So does ddcprobe work fine without X running? -- is this a conflict between a running X and the ddcprobe on your video hardware?Flash wrote:When I ran ddcprobe from a console of Puppy Dingo 392 (on a multisession DVD+RW) the display instantly went black and the computer locked up. The power had to be turned off before it would restart. So as an experiment I ran ddcprobe from the console of a 3.01 multisession DVD. The screen went black for a second but then came back, and the console showed the results of ddcprobe.
installation to IDE hard disk
Barry
Decided to try installation to hard disk using a pentium 4 with 256 mem. Process went smoothly with hard ware detection fault free (not always the case with in this case a purpose built Dell ex bank office computer.)
Hardware detection was accurate, all peripherals up and working .Will endeavour to try cups with more printers
System was stable over extended test.
Positive response from fellow workers to desk top appearance.
Do you intend to have system recover to desktop after unplanned power off without using xwin?
thanks
Jim
Decided to try installation to hard disk using a pentium 4 with 256 mem. Process went smoothly with hard ware detection fault free (not always the case with in this case a purpose built Dell ex bank office computer.)
Hardware detection was accurate, all peripherals up and working .Will endeavour to try cups with more printers
System was stable over extended test.
Positive response from fellow workers to desk top appearance.
Do you intend to have system recover to desktop after unplanned power off without using xwin?
thanks
Jim
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Just a little suggestion if I may/BarryK wrote:See my blog, a completely rewritten pmount is ready for testing.
You might put the URL of your development blog in your signature.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Thank you jonyo for the link, but I know how to get there as I follow quite some time here already.
My remark was made to Barry, with the new persons in mind who don't know about the different websites.
But it's up to him to decide what he wants to do.
My remark was made to Barry, with the new persons in mind who don't know about the different websites.
But it's up to him to decide what he wants to do.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch