Page 2 of 6
ymount
Posted: Mon 01 Aug 2011, 11:34
by L18L
8-bit wrote:I noticed the ymount-0.5.png image shows free space as a column.
But when I downloaded ymount-0.4.pet that seems to be missing and ymount-0.5.pet seems unavailable.
Is it still in the works?
Or is there a link to be able to get it as I like the option of having free space displayed.
Thanks for showing interest in this.
It is still in the works.
Should it display space K or M or G or configurable?
df on console:
Code: Select all
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 29434956 15556796 12382912 56% /initrd/mnt/dev_save
/dev/loop1 516040 156472 359568 31% /initrd/pup_rw
/dev/loop0 119936 119936 0 100% /initrd/pup_ro2
/dev/loop4 108160 108160 0 100% /initrd/pup_ro4
/dev/loop5 17408 17408 0 100% /initrd/pup_ro5
unionfs 516040 156472 359568 31% /
tmpfs 746136 316 745820 1% /tmp
shmfs 740968 0 740968 0% /dev/shm
#
Code: Select all
# df --block-size=M | grep /dev/sd
/dev/sda3 28746M 15193M 12093M 56% /initrd/mnt/dev_save
#
# df --block-size=G | grep /dev/sd
/dev/sda3 29G 15G 12G 56% /initrd/mnt/dev_save
#
Edited
Attached ymount-8bit, no pet, just 2 files
Posted: Mon 01 Aug 2011, 11:54
by stu90
Hi L18L,
Thanks for the Ymount update and sorry for the late reply
( been playing with woof and dpup over the weekend ) yes this is what i had in mind, i have work this afternoon so will give Ymount a good test later this evening.
cheers.
Posted: Mon 01 Aug 2011, 14:24
by 8-bit
L18L,
Thank you! It just seems to be more complete with the addition of a free space column.
If one is looking to mount a drive/partition with intention of doing a backup to it, the free space column would tell if there was enough room for the backup.
I have had my pupsave overflow from a download going to it rather than /mnt/home and I wonder what would happen if an overflow occured on writing to a partition.
Evidently, Puppy needs work in how it handles that situation.
ymount
Posted: Mon 01 Aug 2011, 14:42
by L18L
Glad to make you happy
ymount
Posted: Mon 01 Aug 2011, 14:45
by L18L
stu90 wrote:Hi L18L,
Thanks for the Ymount update and sorry for the late reply
( been playing with woof and dpup over the weekend ) yes this is what i had in mind, i have work this afternoon so will give Ymount a good test later this evening.
cheers.
So I am waiting for your good test.
Don't hesitate to note everything that can be improved (syntax, grammar, icons
)
Posted: Tue 02 Aug 2011, 11:35
by stu90
Hi L18L,
Initial test of version 0.5 on lucid 526 RC frugal install - individual windows for drives works ok - having everything one window has some kind of formating problem fo me and i am unable to mount/unmount the usb drives sdb1 sdc1
Looking in Gparted i notice i have 2.49 MiB of unallocated space, could this be the problem?
cheers.
ymount
Posted: Tue 02 Aug 2011, 13:45
by L18L
Hi stu90,
thanks for testing
stu90 wrote:
Looking in Gparted i notice i have 2.49 MiB of unallocated space, could this be the problem?.
I don'think so. Looking at my partitions (ALL drives): gparted crashes.
Looking single drives: I have unallocated space everywhere, too.
The corrupted output might come from any error message. Did you run ymount from command line?
Another problem, solution reserved for Iguleder, is the /initrd/mnt/dev_save. We know you cannot mount or unmount it but the resulting error messages are confusing.
Anyway version 0.6 is ready!
Using the output of df command it is very fast though having added functionality.
Mounted partitions are listed first.
The other partitions appended.
You can select for mount or unmount before the listing has finished.
Sorting columns is very handy and fast.
Testers needed for CD/DVD (and floppy drives?)
Have fun
Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Posted: Tue 02 Aug 2011, 23:57
by davids45
G'day,
Just quickly tried ymount-0.6 on my desktop. Two hard drives each with 15 partitions (three primary and one fully subdivided extended on each). Two optical drives. An external USB 1TB drive of 4 partitions can be added, with several more USB ports around the computer.
Problem 1: sdb lists first 10 partitions by name plus details but remaining partitions just have details - name column is empty. sda OK although the extended partition type is called "unknown" with no total size listed, just 0. Swap partition not listed.
Problem 2: optical drives both listed (sr0 & sr1) but I could not mount a disk in sr0 even with two lines named sr0 and a blank line beneath to try. Clicking on sr0 listed in the first screen had given a new box with an extra sr0 and a blank line beneath. Got message to click on the partition I wished to mount but this message just repeated with clicking <Mount>. Double clicking the sr0 line and ymount disappeared (crashed). Clicking the top-right corner X did not close ymount during the sr0 tests. Same with sr1.
Haven't yet tried any of the USB ports.
Certainly ymount is very quick and has a scroll bar so listings on over-indulged computers like this one aren't lost off the bottom of the screen.
Should be very good by version 1.0.
David S.
Posted: Wed 03 Aug 2011, 15:53
by L18L
David,
thanks for testing.
Problem1, I have set up an USB stick containing logical partitions and I am going to fix that. Not showing swap partition is intended
Problem2, the list seems to me messed by errors of problem1.
davids45 wrote:Should be very good by version 1.0.
Yes (and we can take version numbers like 0.9.9.9
)
Thanks again for reporting
L
Posted: Wed 03 Aug 2011, 16:13
by Jim1911
Tried version 0.6, using it with spup, it has promise, however, it fails to recognize all my partitions so it still has some fatal flaws. As seen on the included image, it fails to recognize two partitions, sdb7 and sdb8.
ymount
Posted: Wed 03 Aug 2011, 18:44
by L18L
Jim1911,
thank you for reporting
Here is bugfix version 0.6.1
Mounted partitions are listed first.
The other partitions appended.
You can select for mount or unmount before the listing has finished.
Sorting columns is very handy and fast.
Testers needed for CD/DVD (and floppy drives?)
For error reports please start it from command line
and send any messages appearing there.
davids45,
please report if problem2 still exists.
Thank you
L
Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Posted: Wed 03 Aug 2011, 19:31
by Jim1911
Partitions on drive sdb are still not reported correctly. This is using puppy squeeze 5.0.0.3. Report shown by pmount is correct with the exception of a floppy drive that is not present (no disk was present in sr0 when image-2 was made). USB and DVD drives are presented correctly by ymount in image-3. Starting from command line produced no error reports.
ymount
Posted: Wed 03 Aug 2011, 19:58
by L18L
Jim1911,
Your sdb6 is swap ! Right?
I have reproduced the bug and will fix it tomorrow.
It is bed time here now
Thank you.
Re: ymount
Posted: Wed 03 Aug 2011, 20:04
by Jim1911
L18L wrote:Jim1911,
Your sdb6 is swap ! Right?
I have reproduced the bug and will fix it tomorrow.
It is bed time here now
Thank you.
That's right, you've produced a fine utility.
Thanks,
Jim
Re: ymount
Posted: Thu 04 Aug 2011, 09:49
by L18L
Jim1911 wrote:you've produced a fine utility.
Thank you, and thanks to Iguleder, stu90, technosaurus and all testers
Here is bugfix version 0.6.2 for swap partitions.
Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Posted: Thu 04 Aug 2011, 13:48
by Jim1911
Great, it now recognizes all partitions on sdb. Tested on latest spup.
Consider, resizing the opening screen so that it shows all drive information.
Thank you for a fine little utility.
Jim
ymount
Posted: Thu 04 Aug 2011, 15:26
by L18L
Jim1911 wrote:Consider, resizing the opening screen so that it shows all drive information.
Your wish is my command
Edit: sorry, I have changed the wrong height.
please edit /bin/ymount and change line 33 from
| yad --width 354 --height 200 \
to
| yad --width 354 --height 300 \
(or any other height)
version 0.7: Select multiple partitions
Why?
Image you want full info of all your partitions.
How?
Select using shift and Enter (everything between)
or Ctrl and Enter (add single items)
Mounting/unmounting is of course not faster but you can have a break
Enjoy
Waiting for other feature requests
L
Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Posted: Thu 04 Aug 2011, 17:01
by Jim1911
Thanks, however, I used width 500 --height 310 with both ymount and yeject which shows all of my data without having to scroll.
Another suggestion for both ymount and yeject. The X in the upper right corner should exit the program.
There is a problem with yeject, as you can see I get the following message regardless of the mounted condition of the device. In this case, sro has a disk in it and is highlighted to eject. Sro is not mounted.
ymount
Posted: Thu 04 Aug 2011, 20:15
by L18L
Jim1911 wrote:Thanks, however, I used width 500 --height 310 with both ymount and yeject which shows all of my data without having to scroll.
Another suggestion for both ymount and yeject. The X in the upper right corner should exit the program.
There is a problem with yeject, as you can see I get the following message regardless of the mounted condition of the device. In this case, sro has a disk in it and is highlighted to eject. Sro is not mounted.
width and height depends on userĀ“s hardware. Best will be if individual window geometry will be saved over restart/reboot.
The X....yes.
Yeject: display is broken. Please fix it by adding column
Size in /bin/yeject
--column="Type" --column="Model"
--column="Size:NUM $size_unit" )
And the last line should be:
not
We are getting closer to 1.0
Thanks for reporting.
L
Posted: Fri 05 Aug 2011, 14:44
by stu90
Great work L18L
My usb drives are now listed correctly in the single window and can mount / unmount ok
your Yeject fix works as well
It is very handy to quickly access all drives and partitions in the one window when rox pinboard is disabled.
I will be adding Ymount as a default application to my next build of D-Lite puppy.
cheers.