Ymount 002

Core libraries and systems
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#21 Post 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
Attachments
ymount-8bit.tar.gz
extract to /
(2.64 KiB) Downloaded 547 times
Last edited by L18L on Mon 01 Aug 2011, 12:21, edited 1 time in total.

stu90

#22 Post by stu90 »

Hi L18L,
Thanks for the Ymount update and sorry for the late reply :oops: ( 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. 8)

cheers.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#23 Post 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.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#24 Post by L18L »

Glad to make you happy :D

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#25 Post by L18L »

stu90 wrote:Hi L18L,
Thanks for the Ymount update and sorry for the late reply :oops: ( 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. 8)

cheers.
So I am waiting for your good test.

Don't hesitate to note everything that can be improved (syntax, grammar, icons :lol: )

stu90

#26 Post 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
Image

Looking in Gparted i notice i have 2.49 MiB of unallocated space, could this be the problem?

cheers.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#27 Post 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
Attachments
ymount-0.6.pet
yad required
(5.62 KiB) Downloaded 569 times
ymount-0.6.pet.png
faster
(17.71 KiB) Downloaded 857 times
Last edited by L18L on Sun 11 Sep 2011, 13:15, edited 1 time in total.

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#28 Post 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.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#29 Post 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 :lol: )

Thanks again for reporting
L

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#30 Post 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.
Attachments
image-2.jpg
(39.58 KiB) Downloaded 823 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#31 Post 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

Code: Select all

#ymount
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
Attachments
ymount-0.6.1.png
(10.17 KiB) Downloaded 865 times
ymount-0.6.1.tar.gz
bugfix for extended partitions
(5.39 KiB) Downloaded 708 times
Last edited by L18L on Sun 11 Sep 2011, 13:14, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#32 Post 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.
Attachments
image-3.jpg
(22.08 KiB) Downloaded 888 times
image-2.jpg
(36.56 KiB) Downloaded 870 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#33 Post 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.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

Re: ymount

#34 Post 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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: ymount

#35 Post 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
Attachments
ymount-0.6.2.png
test CD/DVD please
(13.23 KiB) Downloaded 835 times
ymount-0.6.2.pet
yad required
(5.64 KiB) Downloaded 716 times
Last edited by L18L on Sun 11 Sep 2011, 13:13, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#36 Post 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
Attachments
DriveMounter062.jpg
(34.82 KiB) Downloaded 832 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#37 Post by L18L »

Jim1911 wrote:Consider, resizing the opening screen so that it shows all drive information.
Your wish is my command :lol:

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
Attachments
ymount-0.7_detail.png
-
(15.54 KiB) Downloaded 811 times
ymount-0.7_screen.png
selecting multiple partitions
using Ctrl key for selecting
(15.35 KiB) Downloaded 804 times
ymount-0.7.pet
yad required
CD/DVD reports ?
(5.79 KiB) Downloaded 665 times
Last edited by L18L on Sun 11 Sep 2011, 13:12, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#38 Post 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.
Attachments
ymount&yeject.jpg
(104.27 KiB) Downloaded 728 times
yeject.jpg
(13.75 KiB) Downloaded 809 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#39 Post 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:

Code: Select all

eject $device
not

Code: Select all

eject_device $device
We are getting closer to 1.0

Thanks for reporting.
L

stu90

#40 Post by stu90 »

Great work L18L 8)
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. :D

cheers.

Post Reply