Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.405.616 Times

FL-COW 0.6

  Date Added: July 07, 2010  |  Visits: 763

FL-COW

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)

The library born to solve a problem I had when working with the Linux Kernel archives that I use to replicate using hard links. Replicating archives with hard links is both fast and space saving, and it helped me a lot in speeding up my operations when working on the kernel source. A recent Archs mailing list thread that suggested that use of hard links to create archive cached revisions pushed me to write the FL-COW library. What is the problem with hard links when, for example, Im working with kernel sources? The problem is that I do a: $ cp -al linux-2.6-test6 linux-2.6-test6.vm-fix This command replicate at light speed the vanilla (Linus) archive into an archive I can start hacking on. The problem is that I have to manually remember to break hard links on files I start working on, otherwise even the original copy get modified. This might break because I forgot doing so and it might also break because other tools might eventually touch file they were not supposed to touch. If it happens that I forget to decouple a file hard link, the next command: $ diff -Nru linux-2.6-test6 linux-2.6-test6.vm-fix will skip all changes done on the file I forgot, because my changes has been applied to the original file also. The library works by intercepting all file open operations happening inside a configured path list, and by decoupling the hard link with a COW if a write operation is requested. The library is installed using the environment variable LD_PRELOAD and in this way it is able to hook glibc open(2) functions and it is able to perform the COW when necessary. The environment variable FLCOW_PATH control which paths should be subject to COWing. The logic that the library follow to know if a file should be COWed is the following: Is the file being opened with O_RDWR or O_WRONLY modes? Is the file inside one of the paths listed inside the FLCOW_PATH environment variable? Is the file being opened a regular file? Is the (struct stat)->st_nlink variable greater than one? If all those answers are yes, the file is COWed by leaving the calling application with a non hard linked version of the file. To setup the library you must start with building it doing a (for example): $ ./configure --prefix=/usr $ make $ make check $ su # make install If all those steps complete correctly you will have your library installed in /usr/lib/libflcow.so that is ready for use. I use to set the LD_PRELOAD inside my .bashrc file so that I am sure that no tool will screw up my hard-linked archives. This is the relevant section of my .bashrc file: export LD_PRELOAD=/usr/lib/libflcow.so:$LD_PRELOAD export FLCOW_PATH=/usr/src/:/home/davide/arch-archives/.

Requirements: No special requirements
Platforms: Linux
Keyword: Copy On Write Cow File Filesystems Fl Flcow Hard Hard Links Ld Library Links Path Preload Write
Users rating: 0/10

License: Freeware Size: 296.96 KB
FL-COW RELATED
File Synchronizers  -  MapFS 1.0-0.1035
MapFS implements a Linux filesystem which utilizes copy-on-write functionality and existing Linux filesystems to allow component filesystems (or portions thereof) to be combined into a single virtual filesystem that appears to be fully writable....
77.82 KB  
Server Management  -  Write a file to a WebDAV Server 1.0
This script is an extremely simple example of using homepage to write a file to a WebDAV server. This version does not use any authentication mechanism.
 
File Utilities  -  FL-COW for Linux 0.9
Developer comments The FL-COW library born to solve a problem I had when working with the Linux Kernel archives that I use to replicate using hard links. Replicating archives with hard links is both fast and space saving,...
286.72 KB  
File Utilities  -  MapFS 1.0-0.1035
MapFS implements a Linux filesystem which utilizes copy-on-write functionality and existing Linux filesystems to allow component filesystems (or portions thereof) to be combined into a single virtual filesystem that appears to be fully...
798.72 KB  
Book Collection Managers  -  EaseFilter File I/O Monitor 4.0.5.1
Audit file access and change in Windows in Real-Time.Monitor the file activities on file system level, capture file open, create, overwrite, read, write, query file information, set file information, query security information, set security...
3.83 MB  
File Management  -  PHP File Manager 0.3
phpFileManager is a complete filesystem management tool on a single file. Among the features of phpFileManager: . server info . directory tree . copy/move/delete/create/rename/edit/view/chmod files and folders ....
 
File Synchronizers  -  Moleskinsoft File Sync 1.0
Probably you had to be engaged in joint projects with someone. In programming, web design or other computer area. Working over the project, you for certain noticed the unpleasant tendency having kept files in any directory on flash you gave to...
812 KB  
File Synchronizers  -  e2undel 0.82
e2undel is an interactive console tool that recovers the data of deleted files on an ext2 file system under Linux. Included is a library that allows to recover deleted files by name. It does not require any knowledge about the secrets of the...
55.3 KB  
Libraries  -  File::AnySpec 0.06
File::AnySpec is a Perl module to perform operations on foreign (remote) file names. SYNOPSIS # Subroutine Interface # use File::AnySpec qw(fspec2fspec pm2fspec os2fspec fspec2os fspec_glob fspec2pm); $file = fspec2fspec($from_fspec,...
44.03 KB  
Desktop Utilities  -  Install rpm with smart 0.2
Install rpm with smart package is a service menu used to click on a rpm file and call smart-pm to install it. Its designed for Ekaaty Linux but must run on every KDE. Installation: Copy desktop fiiles to your KDE directory: cp...
 
NEW DOWNLOADS IN UTILITIES, FILE SYNCHRONIZERS
Utilities  -  LPAR2RRD 4.95-4
LPAR2RRD collects performance data and generates actual, historical and future trends utilization graphs of your virtual environment. It is agentless (it receives everything from the management stations like vCenter or HMC). The product supports...
2.25 MB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB  
File Synchronizers  -  TCFS 3.0b2
TCFS project is a cryptographic network file system featuring group sharing of encrypted files. TCFS will encrypt your files before sending them to the file server and will decrypt them before they are read by the requesting application. Because...
87.04 KB  
File Synchronizers  -  CryptoMaster 0.42.3
CryptoMaster is a little Frontend to cryptsetup where you can initialize and mount your dm-crypt (LUKS) encrypted devices. The status for each device is shown and you are able to add and remove new existing disks. The idea is to be completely...
225.28 KB  
File Synchronizers  -  clist 0.1.0
clist is a text-based directory browser and file manager. clist uses the curses library for graphics and the keyboard for interaction. The current release is an alpha release v0.1.0. There are a lot of features still to be added but I think...
39.94 KB  
File Synchronizers  -  Mounttero 0.4
Mounttero automatically mounts most storage devices such as USB drives and cameras, DVDs, CDROMs, hard disks, and floppies. Devices are mounted when users opens their directory, such as /mnt/auto/cdrom, and are unmounted when the directory...
8.19 KB  
File Synchronizers  -  MapFS 1.0-0.1035
MapFS implements a Linux filesystem which utilizes copy-on-write functionality and existing Linux filesystems to allow component filesystems (or portions thereof) to be combined into a single virtual filesystem that appears to be fully writable....
77.82 KB