The time now is Wed 22 May 2013, 10:03
All times are UTC - 4 |
|
Page 3 of 3 [35 Posts] |
Goto page: Previous 1, 2, 3 |
| Author |
Message |
willhunt

Joined: 05 Oct 2005 Posts: 495
|
Posted: Sun 24 Jun 2007, 01:57 Post subject:
|
|
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
_________________ 176 Icewm Themes
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4005 Location: Arizona, U.S.A.
|
Posted: Sun 24 Jun 2007, 16:45 Post subject:
|
|
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".
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 24 Jun 2007, 17:25 Post subject:
|
|
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).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Sun 24 Jun 2007, 17:52 Post subject:
|
|
| Quote: | | 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
|
|
Back to top
|
|
 |
willhunt

Joined: 05 Oct 2005 Posts: 495
|
Posted: Tue 26 Jun 2007, 04:16 Post subject:
|
|
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?
_________________ 176 Icewm Themes
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet
|
|
Back to top
|
|
 |
|
|
Page 3 of 3 [35 Posts] |
Goto page: Previous 1, 2, 3 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|