[lkml]   [2011]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Intercepting system calls
    Hello Wojciech, Thanks for your reply.

    On 12/28/11, Wojciech Zygmunt Porczyk <> wrote:
    > Hash: SHA1
    > On Fri, Dec 23, 2011 at 10:33:45PM +0530, Gaurav Saxena wrote:
    >> I am trying to write an application which would create a backup for
    >> the system so that it could be restored as it is. For example I create
    >> a backup using my application. I just do nothing at time of backup so
    >> it would be fast. Now whenever I see any deletion I would save that
    >> file so that I could restore it.
    > You almost certainly wan't to research LVM(-like) snapshots. They are
    > operating in block layer, so you can restore fs "as it was", with COW
    > feature they do "nothing" at creation and just save overwritten data
    > somewhere else.
    Yes I understand what I want to implement is done in LVM snapshots.
    But I want to implement this functionality using a different approach.
    As LVM are filesystem dependent and cannot work without repartitioning
    of the system. Also they make system slow after many snapshots are
    > See: lvcreate(8), xfs_freeze(8). Maybe btrfs(8) ("btrfs subvolume
    > snapshot") but btrfs is not really production-ready, so get lvm2+xfs.
    > - --
    > regards
    > WZJP
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v2.0.18 (GNU/Linux)
    > iEYEARECAAYFAk77Ef8ACgkQDgvLOJe6jMmQuACfassIV+vXCTmvMCTUqa81wgFf
    > lBcAoLwYdPf59FEJ7sl/lzyHLLo4pG2r
    > =Zt0G
    > -----END PGP SIGNATURE-----

    Thanks and Regards ,

     \ /
      Last update: 2011-12-29 07:41    [W:0.021 / U:5.476 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site