halt VoCore

sistemasorp
 
Posts: 7
Joined: Fri Nov 28, 2014 10:06 am

halt VoCore

Sat Nov 29, 2014 8:01 am

When I want to power off VoCore I can type halt or poweroff, however the system performs a reboot, not a halt. So, what can I do to power off the VoCore from usb power plug without losing data (i.e while a script is writing data to disk).

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: halt VoCore

Mon Dec 01, 2014 2:56 pm

For now there is no such function. This chip do not have halt register but only a reboot register.

sistemasorp
 
Posts: 7
Joined: Fri Nov 28, 2014 10:06 am

Re: halt VoCore

Mon Dec 01, 2014 7:07 pm

It seems to be a long uptime chip :)

Peter H
 
Posts: 58
Joined: Wed Nov 12, 2014 10:24 pm

Re: halt VoCore

Mon Dec 01, 2014 8:26 pm

Is there anything actually writing to persistent storage? With the standard VoCore image I suspect you'll find there isn't. If you have added anything that does, I suppose you could stop that and then call sync to flush the caches; at that point it should be safe to power it off.

sistemasorp
 
Posts: 7
Joined: Fri Nov 28, 2014 10:06 am

Re: halt VoCore

Tue Dec 02, 2014 9:37 pm

for example, if I write to a file in root directory, it is persistent during power on/off cycles.

Well, you're right. If I know when a powerdown will be performed (i.e detecting a low battery issue) I can stop cleanly the program which is writing to disk.

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 36 guests