Barry; Looks like you got the code section I jumped over to work, I got tired of
beating my head on the keyboard trying to figure out why it didn't work.
I've used the same code repetedly but for some reason it just wouldn't work.

In the file you provided the initrd.gz code is commented out.
Archive uses the .gz extention, so this is a nonMIME situation with no handler.

Instead of the "already mounted" message, ROX should just popup the path.
I don't think using an already mounted & unioned file should cause a problem.

For no button on the "Unmount" info Xmessage, make the first line this:
Xdialog --title " Notice..." --no-button \

Puppy-1 didn't have a problem closing ROX, but ROX in Puppy-2 has changed.

The pet mime types will probably supersede filemnt in importance & priority.
This may kill using this utility for Puppy, Barry must decide it's fate...

======================================================
I'm not sure what willhunt's virtual drives are, I'm guessing just image files.
A GUI for making image files of types: ext2, ext3, sfs, & iso is another good idea.

I have downloaded and installed this filemnt.gz now.
I don't see how it interacts with ROX, so I copied the filemnt bin on the desktop and dropped a sfs on it. (blabla.sfs)

I then look in /mnt and find indeed a new directory of which the contents is indeed the one od blabla.sfs, but I find the name of the directory odd with all the + signs in there. What is the signification?

Beem; Linux doesn't allow "/" in file or dir. names, so to make unique dirs.
to use as mount points for the image files, I convert the paths "/" to "+".
I chose the "+" character instead of "-" & "_" because they're commonly
used to name dirs. & files, so the names unique & can be reconverted back.

So to look at the /mnt dir. you see: +Path+ImageFile as the mount dir.

sunburnt, I understand now the reason why you did as you do.
I was gonna make a suggestion, but willhunt did beat me by 20 minutes with the extra advantage he proposed a code.
I wouldn't know how to suggest it with a code.

But I still have the idea to do the mount in a more intuitive way by going to the file in ROX and doing a right click select mount as action.
And the action would probably be your filemnt program._________________Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch

willhunt; Using just the file name wouldn't allow mounting 2 pup_save.2fs files.
Say you wanted to copy files from one Save or work image file to another.
Using the path with the file name assures that there's no dup. mount points.
If the new mount point is the same as the old one, then the new file will be
mounted over the top of the older one & the old one can't be accessed.
This is an interesting result of mounting files over files, quite useful at times
as it causes the mounted image files to act like a stack... Last on, first off.

Yes indeed.
I changed that code and now I have /mnt/NameOfFile_________________Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch

sunburnt I understand why you did it that way I did not mean to suggest it was better just different
if you addthison line 68
[code]if [ -f $MntPt ] ;then gxmessage "That mount point exisits please rename one of your files" ;exit 3 ;fi[code]
it should solve any problem that might arise
right?_________________ 176 Icewm Themes vlc-0.8.6c-i586.petvlc-0.8.6c-i586.pet

Yes, my suggestion was going to be to check for a preexisting mount point.
However, mount points are dirs. & not files ( if [ -d $MntPt ];then ).
This just stops duplicate image files from being mounted, not the best arrangement.

I'm just puzzled as to why you want to change code that does a better job.
My code will mount any number of image files, anywhere, with no conflicts.
I don't understand exactly what it is that your attempting to accomplish.

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