09-13-2012
Not a command, no. What guarantee would you have that you caught it at the right instant? You need something more fundamental.
Linux can do so at the filesystem level with
NILFS, a snapshotting filesystem which keeps past versions of files in case you need them. Each snapshot is independently accessible.
It'd be a big space waster for files that change often of course! A huge file that completely changes all the time would take a lot of space to snapshot.
Last edited by Corona688; 09-13-2012 at 02:49 PM..
9 More Discussions You Might Find Interesting
1. AIX
Hi ,
Can you suggest me how to back to back printing in UNIX? Is there any way?
Kindly advise.
Regards
Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies
2. IP Networking
Hi every body,
Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber.
Note it is direct connection & there is no switches between the servers.
I'm concern about using HBA adapters, it is possible or not.
Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies
3. Shell Programming and Scripting
Hi,
I am accepting a string from user. compare this output with the awk output as below...
echo "\n\n\tDay : \c"
read day
awk '{ if($day == $2) { if ($mon == $1) { print "Yes" }}}' syslog.txt
I am getting the follwoing error
awk: Field $() is not correct.
The input line... (5 Replies)
Discussion started by: EmbedUX
5 Replies
4. Programming
Hey Guys
I am trying to implement the malloc function for my OS class and I am having a little trouble with it. I would be really grateful if I could get some hints on this problem.
So I am using a doubly-linked list as my data structure and I have to allocate memory for it (duh...). The... (1 Reply)
Discussion started by: Gambit_b
1 Replies
5. UNIX for Advanced & Expert Users
Hey Guys
Some of my friends have got together and we are trying to write a basic kernel similar to Linux. I am trying to implement the malloc function in C and I am using a doubly linked list as the primary data structure. I need to allocate memory for this link list (duh...) and I don't feel... (2 Replies)
Discussion started by: rbansal2
2 Replies
6. Programming
Hi all,I'm reading <Advanced programming in the UNIX environment>,that book asked the reader to implement a function which has same functions with dup2 without calling fcntl.Could anyone give me a tip?Any help will be appreciated.:) (8 Replies)
Discussion started by: homeboy
8 Replies
7. Linux
Hi
I'm trying to implement CAPWAP protocol for my application.i'm able to configure my server side but i'm getting error at client(WTP) side as IOCTL error.while running the command
#./WTP /mnt/cf/capwap/
: wlan2
Starting WTP...
# WTP Loads... (0 Replies)
Discussion started by: ran789
0 Replies
8. UNIX for Dummies Questions & Answers
Hi everybody,
i've been googling for ages now and gotten kinda desperate... The question, however, might be rather trivial for the experts: What is it exactly, i.e. physically, the POSIX function (for a file) "lseek" does? Does it trigger some kind of synchronization on disk? Is it just for the... (4 Replies)
Discussion started by: Humudituu
4 Replies
9. Programming
I have this code from a programming book:
#include <stdio.h>
#include <string.h>
char buf; /* input line buffer */
char* field; /* fields */
char* unquote( char* );
/* csvgetline: read and parse line, return field count */
/* sample input:... (3 Replies)
Discussion started by: totoro125
3 Replies
LEARN ABOUT FREEBSD
mksnap_ffs
MKSNAP_FFS(8) BSD System Manager's Manual MKSNAP_FFS(8)
NAME
mksnap_ffs -- take a file system snapshot
SYNOPSIS
mksnap_ffs snapshot_name
DESCRIPTION
The mksnap_ffs utility creates a snapshot named snapshot_name.
The group ownership of the file is set to ``operator''; the owner of the file remains ``root''. The mode of the snapshot is set to be read-
able by the owner or members of the ``operator'' group.
EXAMPLES
Create a snapshot of /usr/home file system and mount the snapshot elsewhere:
mksnap_ffs /usr/home/snapshot
mdconfig -a -t vnode -o readonly -f /usr/home/snapshot
mount -o ro /dev/md0 /mnt/
SEE ALSO
chmod(2), chown(8), mdconfig(8), mount(8)
HISTORY
The mksnap_ffs utility first appeared in FreeBSD 5.0.
CAVEATS
The disk full situation is not handled gracefully and may lead to a system panic when no free blocks are found.
Every filesystem can have only up to 20 active snapshots. When this limit is reached, attempting to create more snapshots fails with ENOSPC,
and mksnap_ffs reports that it is ``out of space''.
BSD
February 14, 2011 BSD