Feeds, issues, packages and code source about emulation and pograming, of VENENUX proyects, Debian related distros and massenkoh!

forensics recoverung data: Journaling or reading will always touch the data

|
When try to recover data, untouch the disk its very important, but live disk or mount readonly are not enought, due journaling features... so precautions must be taken to property make images of the disk after testing data or try to recover those important files.. the untouched data its important to preciceslly maketrace of history of ...

SPANISH VERSION: https://groups.google.com/forum/m/#!topic/vegnuli/Lr-corc2Xrw (with updates)

The Journaling file system will always touch the data

When mounting (and unmounting) several journaling file systems with only "-o ro" mount flag a different number of data writes will happened, thats happened due journaling, so this its a list of options that must be use when preform the mount command and u must passed with "-o" flag:
File systemWhen data writes happenNotes
Ext3/Etx4File system requires journal recoveryTo disable recovery: use "noload" flag, or use "ro,loop" flags, or use "ext2" file system type
btfsFile system has unfinished transactions"nolog" flag does not work (see man mount). To disable journal updates: use "ro,loop" flags
ReiserFSFile system has unfinished transactions"nolog" flag does not work (see man mount). To disable journal updates: use "ro,loop" flags
XFSAlways (when unmounting)"norecovery" flag does not help (fixed in recent 2.6 kernels). To disable data writes: use "ro,loop" flags.

Read process can be interpreted as write process

If u perform read operations over mounted or inclusivelly non-mounted filesystem, the operative system wil try to make reading again, for sure its not a itsefl problem, then a hardware problem, that's, the second must be avoid, ah of course stupid winbuntu linux always perform that checks, and also of course systemd now.

During boot process the init modified script will test existing partions for Ext3/4 file systems on fixed media, and this happened due these scripts mount every supported file system type on every supported media type using only "-o ro" flag in order to find a root file system image, as we didit, with the previous topic, those are not enought.

Concluding

You must use a right linux, VenenuX 0.9 does not perform those stupid "windo-like" "features".

Initv, OpenRC, upstart y Systemd y sus porquerias

|
"las cosas malas suceden porque la gente buena no hace nada"

Desde hace dos anios se intentba poner systemd como el por defecto, al no poder lograrlo se uso la tecnica "guindows", y todo lo que se usaba como login y udev ahora depende de systemd, MALDITOS! para los que no quieren leer ver la tabla abajo directo ...la creciente interdependencia obligo a las distros adoptarlo, el disparador fue udev, que ahora es parte de systemd, obligando a empaquetar esto..

systemd tiene ahora gran terreno, a pesar de existir eudeveglibcelogind, y tambien una debian completa devuan, y aun asi ninguno de estos proyectos recibe apoyo.. poque los muy higueputas cobardes no lo hacen... descargue devuan y al fin encontre algo que hace honor a el debian... ademas devuan usa nombres de astros, no estupidos juguetes....

eglibc no dio frutos, y eso que obtuvo el peso de debian (por alla cuando lenny a squeeze...) y siguieron con glibc normal.. 
OPenRC es una alternativa tambien de geento, nojoda estos si son los mejores.. https://gitweb.gentoo.org/proj/openrc.git/log/ segun el git es activo.. y su git principal esta en geento porque es mas orientado a esta distro pero es 100% compatible con otras...
geento realizo bifurcacion de udev (el eudev), el primer paquete en discordia que obligo a mudar todo... tenian que ser los mas machos https://github.com/gentoo/eudev aparentemente es menos activo, y esta en github porque es independiente de la distro (distro-asgnotic)


CaracteristicaInit system analizado

Sysvinit
BSDinit
upstart
SMF
launchd
Epoch
finit
sistemas OSLinux / BSDLinux + BSDLinuxLinuxSolarisMacOSXLinuxLinux
LenguageCshell + CCCCCCC
Depende deN/AinitD-BusD-BusinitN/Alibc, /bin/sh ?
configuracion y arranque del servicioun archivo configshell scriptsarchivos confg y shell scripsarchivos confgarchvos xml y  shell scriptsplist !uno o varios archivos confguno o varios archivos confg
Configuracion de cada servicio individ.
 No
 Si (conf.d)
 con jerarquias!
 Si
 ? ?
 si (v1.1+)
 ?
como demonio
 si (PID 1)
 No
 Si (PID 1)
 Si (PID 1)
 Si (invoked)
 Si (PID 1)
 si (PID 1)
 si (PID 1)
Interdependencias
 No
 si
 si
 si
 si
 No
 si (basico)
 ?
funciona en paralelo a otros inicio
 si
 Si optional
 si
 si
 si
 si
 No
 si
Mantiene demonios activos y administrables?
 si
 si opcional
 si
 si
 si
 si
 si
 si
Usado siempre en:Se usaba!!!GentoowinbuntuObligada! hoySolarisMacOSXn/a ????n/a ????
LicenciaGPL v2+2-cl. BSDGPL v2LGPL v2.1+?Apache 2.0Public Domain?

buckaro banzay - santo senor: ni chuck norrys es tan grande

|

Codeigniter: grocerycrud asociation 1-1 with a custom query, dropdown list, column asociation

|
(under construction) NO AJAX COMPLICATIONS; only pure php and grocery crud

* 1 to 1 relationship grocery crud (currently grocerycrud does not have that)
* 1 to n custom column relationship grocerycrud (currenlty need name name)

i now explain how:

1) controller made normal, here tables:
CREATE TABLE tablemain ( colkeymain TEXT, collink_noname TEXT, PRIMARY KEY (colkeymain)  );
CREATE TABLE tablerefer ( colkeyrefer TEXT, collink_naming TEXT, PRIMARY KEY (colkeyrefer)  );
2) here controller
$arrayrowsfromtablerefer = $this->modeltablerefer->get_allrows_as_array();
....
// code for show in list action
$crud->callback_column('collink_noname', array($this,'_linkrelation'));
// code for show in add and edit, maybe read
$crud->field_type('collink_noname', 'dropdown',$arrayrowsfromtablerefer);...
...
function '_linkrelation' ( $vale, $rowf ) { return $arrayrowsfromtablerefer[$vale]; }
3) here idea of model logic:
public function get_allrows_as_array()
{
  query = "select * from ..."
...
  foreach( $results as $rows)
     $arrayoflisttolink[$row->collink_naming] = $row->collink_naming . $row->tablerefer;
return $arrayoflisttolink
}
EXPLANATION:

theres two situations, when are in a form, and when are in a list.. 

for the list, we made a callback, i mean, on every row, we escaped taking the value, and searching inside an array of keycodes comming from the refer table, this due we cannot made a query to db on each row render

for the form (add or edit), more simple, only we associate the already array of rows comming from the refer table as a dropdown list and that's all