Ymount 002

Core libraries and systems
Message
Author
User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Menu -- Ymount under Filesystem

#16 Post by mikeslr »

Hi sheldonisaac,

Sorry sheldonisaac I don't have Ymount on this system.
But having run into Menu problems from time to time, perhaps the following might help:

You mentioned that ymount's executable was /bin/ymount. Click that file to be sure it will start ymount. [Typing ymount in a console will start it if it's anywhere on what Puppy recognizes as the executable path]. If not, search for other instances of what may be ymount executable, browse to it/them and test to find which one actually starts the program.
Open ymount.desktop in geany or some other text editor. You'll be interested in three of its arguments.
Make sure "Exec=" points to ymount's real executable (or a symlink to it). Note the absence of spaces after the "="'s.
Make sure "Icon=" points to an icon which actually exists.
Change Categories= from whatever it is now to
Categories=X-FilesystemUtility.

Restart X.

Hope this helps.

mikesLr

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#17 Post by seaside »

I repackaged the pet.

The "desktop" files were at the top "/" level instead of in /usr/share/applications.

Should be in your menu now.

Cheers,
s
Attachments
ymount-0.4.pet
(4.98 KiB) Downloaded 617 times

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Menu -- Ymount under Filesystem

#18 Post by sheldonisaac »

(some SNIPping)
mikeslr wrote:Hi sheldonisaac,

Sorry sheldonisaac I don't have Ymount on this system.
But having run into Menu problems from time to time, perhaps the following might help:

Open ymount.desktop in geany or some other text editor. You'll be interested in three of its arguments.
Make sure "Exec=" points to ymount's real executable (or a symlink to it). Note the absence of spaces after the "="'s.
Make sure "Icon=" points to an icon which actually exists.
Change Categories= from whatever it is now to
Categories=X-FilesystemUtility.

Restart X.

Hope this helps.

mikesLr
It did, and thank you very much!!
seaside wrote:I repackaged the pet.

The "desktop" files were at the top "/" level instead of in /usr/share/applications.

Should be in your menu now.

Cheers,
s
Thanks a lot; I will replace the old pet

I appreciate all you folks have done!

Sheldon Isaac

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

Ymount

#19 Post by L18L »

seaside wrote:I repackaged the pet.
Thank you very much :) :)
Please test with CD/DVD (I have got none)
Are there floppy drives anywhere?

Next version will have free space for mounted partitions, here is a preview

sda1: more free then size
size is taken from fdisk
free is taken from df

Code needs some optimazing before posting

Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
Attachments
ymount-0.5.png
preview
(12.8 KiB) Downloaded 958 times
Last edited by L18L on Sun 11 Sep 2011, 13:15, edited 1 time in total.

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

#20 Post by 8-bit »

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.

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.

Post Reply