rejetto forum
May 26, 2012, 02:16:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Auto save VFS on change  (Read 1155 times)
0 Members and 2 Guests are viewing this topic.
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« on: October 16, 2011, 09:57:25 AM »

i made change in vfs not often, but it very important to me )
today HFS 2 options for save
1 save on exit
2 save every ** minutes

1 i must EXIT form HFS, i dont want exit or cant exit some time
2 - make save in VFS file, but do useless work most time
(some times my server was reseted and all vfs cleared! loose all vfs. i think save+reset in same time do that)

i think save VFS in file when it chaged very usefull!
without extra load on the HDD, but all changes are in safe at once!!!

PS
without worry about hand-save
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: October 17, 2011, 04:20:44 AM »

Quote
1 save on exit
2 save every ** minutes
They are the command to save the options in hfs.ini or in the registry

Concerning the vfs, there are two possibilities:

Menu >> Virtual File System >> Auto-Save Every: x mn

or with a macra {.save cfg|p.]
with 'p' is one of  'file', 'registry', 'global registry'   (without quote)

You can also use the macro (not documented)  in version 2.3:  {.save vfs.} or {.save vfs|name_of_file.}

Usage in hfs.event:

[every 15 minutes]
{.save vfs.}
{.save cfg|registry.}

« Last Edit: October 17, 2011, 08:06:02 AM by Mars » Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #2 on: October 17, 2011, 06:15:49 AM »

sorry
but i am not understand how it can help me

HFS already can save VFS auto when it change?

my "auto save every..." already on, but VFS was cleared! i think server reset and save function was in same time
its not safe metod!
« Last Edit: October 17, 2011, 06:23:40 AM by mike2003 » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: October 17, 2011, 06:54:32 AM »

yes, it is already so.
Maybe you have an old version. What exact version are you using?
Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #4 on: October 17, 2011, 07:37:00 AM »

i have 2.3 beta build 279
and it say "Check update: no new version"
where i can find that funstion?
Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #5 on: October 19, 2011, 11:35:44 AM »

anybody help me!
Logged
rejetto forum
« Reply #5 on: October 19, 2011, 11:35:44 AM »

Do you like this software? Consider even $2
 Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #6 on: October 22, 2011, 02:46:40 AM »

Quote
yes, it is already so.
up?Huh???
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #7 on: October 23, 2011, 06:40:00 AM »

sorry, i was wrong. I was thinking of the options.
The auto-saving feature for options works "on change".
The same for VFS instead is based on a timer.
About "save on exit", if you want to save without quitting, just click "save file system".
About the timed saving, what if you save every 6 hours? It should not be a noticeable load on your hard disk.
Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #8 on: October 23, 2011, 08:36:24 AM »


Quote
just click "save file system".
i think about "save without click"

time to time i need drop some files then drop another files, then delete some old files, add new and etc
every time i must go to big HFS menu... that make me crazy )
i realy love ergonomics - the important functions must be in 1 click
now save function needed 3 mouse clicks! very bad for recently features

Quote
About the timed saving, what if you save every 6 hours? It should not be a noticeable load on your hard disk.
as I said above i have autosave every 1 h, but this was the cause of the loss of all information on power down!!!

and I'm worried about a useless burden on the disk
most of the time there is no change, requiring to save!

PS
i cant understand but when i press ctrl+s HFS open "save dialog" every time
and for menu too
i already give HFS file name! for what it asked again???
i think that is bug?
all other soft dont do that!

pss
sorry for english
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #9 on: October 23, 2011, 01:53:12 PM »

time to time i need drop some files then drop another files, then delete some old files, add new and etc
every time i must go to big HFS menu... that make me crazy )

on the bottom "status bar" you get a "not saved". If you double click it, it's like clicking "save file system".

Quote
i realy love ergonomics - the important functions must be in 1 click

i agree, but people has different needs. Some people never change the file system.

Quote
as I said above i have autosave every 1 h, but this was the cause of the loss of all information on power down!!!

that's a mistery i never understood.
many people lost data because of timed saving.
that's why i removed it for the options.

Quote
and I'm worried about a useless burden on the disk most of the time there is no change, requiring to save!

saving every 6 hours cannot be considered a sensible burden. Can it?

Quote
i cant understand but when i press ctrl+s HFS open "save dialog" every time
and for menu too
i already give HFS file name! for what it asked again???
i think that is bug?
all other soft dont do that!

it's not a bug.
Long ago i decided to not have "save" and "save as" to keep the menu shorter.
So what you actually have there is a "save as". There's no "as" but you can tell it by the "..." in the end. That's a standard for "dialogs will come".
I can't say how is best to go. You are the first one in 9 years complaining about this, so i don't know if it's worth adding another item in the menu.
A very easy solution could be having a different keyboard shortcut for the immediate save. But then they should be informed about this possibility. In the save dialog title perhaps?
« Last Edit: October 23, 2011, 01:55:25 PM by rejetto » Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #10 on: October 23, 2011, 03:29:17 PM »

ok
but I can not understand the usefulness of functions "save every **"
Logic tells me:
on time event if VFS changed=1 then Save
if changed=0 then nosave
)))
for what ever make a save, even if no changes in VFS?? what data it must be stored???

I see this is hole in security, useless operation, which can lead to data loss in some case

Quote
If you double click it, it's like clicking "save file system".
and in that place dialog appears! ((((
and again I do not see any logic in that - simply unnecessary data request

i reale-realy like optimization )
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #11 on: October 23, 2011, 03:36:29 PM »

for what ever make a save, even if no changes in VFS?? what data it must be stored???

currently the number of downloads/click is stored in the VFS.
so its content changes even if you do nothing, but your users browse your site.

Quote
and again I do not see any logic in that - simply unnecessary data request

yes, that was just a shorcut, not going to solve your problem with the dialog. That was answered after.
Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #12 on: October 24, 2011, 11:43:14 AM »

ok

but if i have "backup on save" and "autosave every **" ON
How could I lose all VFS?
after power down no original and no backup files!!
at this point something is wrong
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #13 on: October 27, 2011, 03:27:35 PM »

i'm ashamed but i fought this problem long and i couldn't work it out.
i wish someone could help me with it, since the project is open source.
sadly it is not easy to reproduce the problem, for testing purposes.

didn't you find any backup file?
Logged
mike2003
Occasional poster
*
Offline Offline

Russian Federation Russian Federation

Posts: 10


View Profile Email
« Reply #14 on: October 28, 2011, 10:35:44 AM »

no
after next reload i found that VFS is empty
i checked backup option and it is ON
i try find original VFS file and backup - but no
in recent files of HFS i click on my file, but such file isn't present
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 25, 2012, 10:33:43 PM
anything