summaryrefslogtreecommitdiffstats
path: root/move/data
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-07 12:50:05 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-07 12:50:05 +0000
commit9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3 (patch)
tree7c50852ab3c96fb011070c394c0ad265843c1d12 /move/data
parent12be8805ee4af3ba2060107179c4433963bc0dab (diff)
downloaddrakx-backup-do-not-use-9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3.tar
drakx-backup-do-not-use-9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3.tar.gz
drakx-backup-do-not-use-9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3.tar.bz2
drakx-backup-do-not-use-9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3.tar.xz
drakx-backup-do-not-use-9bc1d750a05cc4efec0f1b9f4384bfd12d73daa3.zip
better handle etc files: scan a/c/mtime after copying all /etc files
to list the ones which are read and written, make it a file list and be assured to have those when initing move
Diffstat (limited to 'move/data')
-rw-r--r--move/data/etcfiles24
-rw-r--r--move/data/etcfiles-report151
2 files changed, 175 insertions, 0 deletions
diff --git a/move/data/etcfiles b/move/data/etcfiles
new file mode 100644
index 000000000..bb1223b4b
--- /dev/null
+++ b/move/data/etcfiles
@@ -0,0 +1,24 @@
+# READ directories/files that will be read (we let only non trivial things here)
+/etc/bonobo-activation
+/etc/esd.conf
+/etc/gimp
+/etc/gnucash
+/etc/host.conf
+/etc/imrc
+/etc/initlog.conf
+/etc/localtime
+/etc/openoffice
+/etc/rpc
+/etc/termcap
+/etc/tmdns.conf
+
+# OVERWRITE files that will be overwritten
+/etc/modules
+
+# DIR mandatory directories because files will be written in
+/etc/profile.d
+/etc/rpm
+/etc/sysconfig
+/etc/sysconfig/console/consolefonts
+/etc/sysconfig/console/consoletrans
+/etc/sysconfig/network-scripts
diff --git a/move/data/etcfiles-report b/move/data/etcfiles-report
new file mode 100644
index 000000000..0e8aa0908
--- /dev/null
+++ b/move/data/etcfiles-report
@@ -0,0 +1,151 @@
+read:
+ /etc/DIR_COLORS
+ /etc/X11/fs/config
+ /etc/X11/xserver/SecurityPolicy
+ /etc/bashrc
+ /etc/bonobo-activation/bonobo-activation-config.xml
+ /etc/cups/client.conf
+ /etc/devfs/conf.d/dynamic.conf
+ /etc/devfsd.conf
+ /etc/dynamic/scripts/functions.script
+ /etc/dynamic/scripts/part.script
+ /etc/esd.conf
+ /etc/fonts/fonts.conf
+ /etc/fonts/local.conf
+ /etc/fstab
+ /etc/gconf/2/path
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/audio_codecs/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/audio_settings/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/call_forwarding/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/contacts/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/devices/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/gatekeeper/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/general/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/history/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/ldap/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/personal_data/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/ports/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/video_display/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/video_settings/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/view/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/desktop/gnome/interface/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/desktop/gnome/sound/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/audio_settings/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/call_forwarding/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/contacts/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/devices/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/gatekeeper/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/general/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/history/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/ldap/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/personal_data/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/ports/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/video_display/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/video_settings/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/view/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/interface/%gconf.xml
+ /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/sound/%gconf.xml
+ /etc/gimp/1.2/gimprc
+ /etc/gimp/1.2/gimprc_user
+ /etc/gimp/1.2/gtkrc
+ /etc/gimp/1.2/gtkrc_user
+ /etc/gimp/1.2/unitrc
+ /etc/gnome-vfs-2.0/modules/cdda-module.conf
+ /etc/gnome-vfs-2.0/modules/default-modules.conf
+ /etc/gnome-vfs-2.0/modules/ssl-modules.conf
+ /etc/gnucash/config
+ /etc/group
+ /etc/gtk-2.0/gdk-pixbuf.loaders
+ /etc/gtk-2.0/gtk.immodules
+ /etc/host.conf
+ /etc/hotplug/blacklist
+ /etc/hotplug/hotplug.functions
+ /etc/hotplug/scsi.agent
+ /etc/hotplug/usb.agent
+ /etc/hotplug/usb.handmap
+ /etc/hotplug/usb.usermap
+ /etc/hotplug/usb/usb-storage
+ /etc/imrc
+ /etc/initlog.conf
+ /etc/inittab
+ /etc/inputrc
+ /etc/ld.so.cache
+ /etc/localtime
+ /etc/login.defs
+ /etc/modules
+ /etc/modules.conf
+ /etc/modules.devfs
+ /etc/nsswitch.conf
+ /etc/openoffice/autoresponse.conf
+ /etc/openoffice/openoffice.conf
+ /etc/pam.d/other
+ /etc/pam.d/su
+ /etc/pam.d/sudo
+ /etc/pam.d/system-auth
+ /etc/pam.d/xserver
+ /etc/pango/pango.modules
+ /etc/passwd
+ /etc/passwd-
+ /etc/profile.d/10lang.sh
+ /etc/profile.d/alias.sh
+ /etc/profile.d/configure_keyboard.sh
+ /etc/profile.d/glib20.sh
+ /etc/profile.d/inputrc.sh
+ /etc/profile.d/kde3.sh
+ /etc/profile.d/msec.sh
+ /etc/profile.d/qtdir3.sh
+ /etc/profile.d/screen.sh
+ /etc/profile.d/ssh-client.sh
+ /etc/profile.d/tmpdir.sh
+ /etc/profile.d/xhost.sh
+ /etc/rc.d/init.d/functions
+ /etc/rc.d/init.d/mandrake_consmap
+ /etc/rc.d/init.d/syslog
+ /etc/rc.d/init.d/xfs
+ /etc/resolv.conf
+ /etc/rpc
+ /etc/security/console.perms
+ /etc/security/fileshare.conf
+ /etc/security/limits.conf
+ /etc/security/pam_env.conf
+ /etc/services
+ /etc/shells
+ /etc/skel/.bash_logout
+ /etc/skel/.bash_profile
+ /etc/skel/.bashrc
+ /etc/skel/.mailcap
+ /etc/skel/.screenrc
+ /etc/sudoers
+ /etc/sysconfig/i18n
+ /etc/sysconfig/init
+ /etc/sysconfig/msec
+ /etc/sysconfig/syslog
+ /etc/sysconfig/usb
+ /etc/syslog.conf
+ /etc/termcap
+ /etc/tmdns.conf
+wrote:
+ /etc/group
+ /etc/inittab
+ /etc/modules
+ /etc/modules.conf
+ /etc/passwd
+ /etc/passwd-
+ /etc/sysconfig/i18n
+new:
+ /etc/X11/XF86Config
+ /etc/X11/XF86Config-4
+ /etc/X11/XF86Config-4.old
+ /etc/X11/XF86Config.old
+ /etc/hosts
+ /etc/mcc.conf
+ /etc/profile.d/proxy.csh
+ /etc/profile.d/proxy.sh
+ /etc/rpm/macros
+ /etc/shadow
+ /etc/sysconfig/autologin
+ /etc/sysconfig/console/consolefonts/lat0-16.psf.gz
+ /etc/sysconfig/console/consoletrans/iso15.acm.gz
+ /etc/sysconfig/console/consoletrans/iso15.sfm.gz
+ /etc/sysconfig/network
+ /etc/sysconfig/network-scripts/ifcfg-eth0