ROX 1 click file mounter, types: .2fs, .3fs, .iso, .sfs.

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#31 Post by willhunt »

learn

Give a man a fish he eats a meal teach a man to fish he eats a lifetime and maybe he teachs someone else :D
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#32 Post by sunburnt »

Aaaahhhhhhhhh; That's always a very rewarding effort, worthy of assistance.

If you want you could use the original method I used before going to the /mnt/+Path+File method.
That is adding a number to the file's mount point dirs. to make them unique.
If you want, I'll post code to do this, but you should be able to handle it no prob.
Rather than an arbitrary number, use the number of the next loop device.
So the mount point would be: FileName_LoopNumber ..... (pup_save.2fs_4).
To set the loop device that's to be used for mounting, use "losetup".

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#33 Post by Béèm »

In ROX and right-click on a sfs, 2fs or 3fs and by editing Menu to load filemnt, filemt is in the menu now and any such file can be mounted by right click.
Nice.
The unmount should still be done manually however.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#34 Post by GuestToo »

Rather than an arbitrary number, use the number of the next loop device
or you could use the pid of the current process ... $$

or you could use uuidgen to generate an alphanumeric string that is almost guaranteed to be unique

User avatar
willhunt
Posts: 495
Joined: Wed 05 Oct 2005, 18:19

#35 Post by willhunt »

thanks for the tips sunburnt and GuestToo I got how sunburnt did
his but once you use the pid uuidgen how do you glean the
new name?
[url=http://hostfile.org/icepak.pet]176 Icewm Themes :!:[/url]
[url=http://tinyurl.com/39fl3x]vlc-0.8.6c-i586.pet[/url]
[url=http://tinyurl.com/2q7cbp]vlc-0.8.6c-i586.pet[/url]

Post Reply