Difference between revisions of "Deprecation"

From CRIU
Jump to navigation Jump to search
Line 13: Line 13:
 
; The <code>criu exec</code> action
 
; The <code>criu exec</code> action
 
: Should be deprecated with [[Compel]]
 
: Should be deprecated with [[Compel]]
 
; The <code>--namespaces</code> option
 
: It was used when we didn't have /proc/pid/ns stuff, now it's useless (will be deprecated in 2.2)
 
  
 
; Per-PID logs
 
; Per-PID logs
Line 28: Line 25:
 
== Already deprecated stuff ==
 
== Already deprecated stuff ==
 
; The <code>criu show</code> action
 
; The <code>criu show</code> action
: Deprecated in [[Download/criu/2.0|2.0]] with [[CRIT]]
+
: Deprecated in with [[CRIT]] in [[Download/criu/2.0|2.0]]
  
 
; No ids.img files
 
; No ids.img files
: We've been writing these files since at least v0.4 (deprecated since 2.1)
+
: We've been writing these files since at least v0.4, deprecated since [[Download/criu/2.1|2.1]]
 +
 
 +
; The <code>--namespaces</code> option
 +
: It was used when we didn't have /proc/pid/ns stuff, now it's useless, removed in [[Download/criu/2.2|2.2]]
  
 
== See also ==
 
== See also ==

Revision as of 14:08, 19 May 2016

This page collects stuff that is considered to be deprecated (and is about to be removed)

Current plan

Per-pid fdinfo.img file
The new layout (marked with respective bit in inventory) is per-fdtable-id
Per-pid file locks
Now all locks sit in the file-locks.img file
Per-pid rlimits, itimers and posix_timers image file
Now all this stuff sit in the core entry
The criu exec action
Should be deprecated with Compel
Per-PID logs
Not sure whether anybody is using it
Old page-read
Used at ancient times when no pagemaps existed. Can be dropped.
No file records for ttys
See collect_one_tty(). Older versions of criu didn't have reg_file_entry for ttys.

Already deprecated stuff

The criu show action
Deprecated in with CRIT in 2.0
No ids.img files
We've been writing these files since at least v0.4, deprecated since 2.1
The --namespaces option
It was used when we didn't have /proc/pid/ns stuff, now it's useless, removed in 2.2

See also

What's bad with V1 images