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 30.123.193 Times

FL-COW for Linux 0.9

Company: Davide Libenzi
Date Added: September 24, 2013  |  Visits: 296

FL-COW for Linux

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

<br /><br />Developer comments<br /><br />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, and it helped me a lot in speeding up my operations when working on the kernel source.<br /><br />A recent Arch's 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, I'm working with kernel sources? The problem is that I do a:<br /><br />cp -al linux-2.6-test6 linux-2.6-test6.vm-fix<br /><br />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.<br /><br />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:<br /><br />diff -Nru linux-2.6-test6 linux-2.6-test6.vm-fix<br /><br />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.<br /><br />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:<br /><br />Is the file being opened with O_RDWR or O_WRONLY modes?<br />Is the file inside one of the paths listed inside the FLCOW_PATH environment variable?<br />Is the file being opened a regular file?<br />Is the (struct stat)->st_nlink variable greater than one?<br /><br />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):<br /><br />./configure --prefix=/usr<br />make<br />make check<br />su<br />make install<br /><br />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.<br /><br />This is the relevant section of my .bashrc file:<br /><br />export LD_PRELOAD=/usr/lib/libflcow.so:$LD_PRELOAD<br />export FLCOW_PATH=/usr/src/:/home/davide/arch-archives/<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Archive Break Cow Cow Linux Environment Fl Flcow Path Forgot Inside Installed Library Links Linux Linux Test Original Problem Start Variable Working Write
Users rating: 0/10

License: Freeware Size: 286.72 KB
FL-COW FOR LINUX RELATED
Utilities  -  Plan-B Linux 1.0
Plan-B is a bootable Linux environment without the need for a hard drive, it runs entirely in ram or from the cd, based on a basic, stripped installation of Red Hat Linux and the fundamental workings of the SuperRescue CD. A list of tools and...
546 MB  
Utilities  -  Pentoo LiveCD 2005.1
Pentoo is a Linux LiveCD, it means that you can boot a linux environment on any x86 based PC. It is like KNOPPIX except that Pentoo is based on the Gentoo distribution and is oriented penetration testing. You can view the list of all available...
482 MB  
Games  -  Cow Cow 1.1.0.0
Cow Cow is a unique and exciting game. The cow is hidden at a place and loudness of sound indicates how close you are to cow. Find it as soon as you can and get showcased on our website as well as our Facebook fan page. We will track the...
3 MB  
Utilities  -  Asianux 2.0
Asianux is a Linux server operating system which is co-developed by Chinese Leading Linux vendor Red Flag Software Co., Ltd. and Japanese Linux vendor Miracle Linux Corporation and Korean Linux software vendor Haansoft, INC, aiming at the...
660 MB  
Utilities  -  cAos Cinch 2.0.0
cAos Linux is a community maintained and managed, RPM based distribution of Linux. It combines aspects of Debian, RH/Fedora, and FBSD in a manner that ends up with a solution that is stable enough for servers and clusters, utilizes a long term...
125 MB  
Shell & Desktop  -  DRBL 1.7.11-29
Diskless Remote Boot in Linux in short DRBL is an open source environment to to manage GNU/Linux operating system deployment. Imagine the time required to install GNU/Linux on 40, 30, or even 10 client machines individually. DRBL will allow you to...
1.8 MB  
Utilities  -  File Roller 2.18.4 / 2.19.90
File Roller project is an archive manager for the GNOME environment. Archive manager means that you can: - Create and modify archives. - View the content of an archive. - View a file contained in the archive. - Extract files from the...
1.5 MB  
Stock & Portfolio Tools  -  Trend System LX 1.1
Trend System LX is a tool for running any trading software independently of its OS under Windows, Linux and Mac OS. It lets you fuse Windows, Java and Linux trading applications into one trading platform and executes that under Linux, Mac OS,...
33.04 KB  
Utilities  -  PaiPix Linux for Linux 10.2.19
PaiPix Linux is a compilation of Free Software, based on KNOPPIX live linux, that is meant to be used in any environment but with special emphasis on science and technologies. PaiPix Linux should provide an open door to the public...
2 GB  
Utilities  -  Arabeyes 0.9_alpha1
Arabeyes is a Meta project that is aimed at fully supporting the Arabic language in the Unix/Linux environment. It is designed to be a central location to standardize the Arabization process. Arabeyes relies on voluntary contributions by computer...
588.81 MB  
NEW DOWNLOADS IN SHELL & DESKTOP, FILE UTILITIES
Shell & Desktop  -  Glunarclock 0.32.4
GNOME Lunar Clock Applet displays the current phase of the Moon as an applet for the gnome panel. In the properties box you can choose between a real image Features Pointing with the mouse at the applet...
522.24 KB  
Shell & Desktop  -  KOpenBabel 0.2
KOpenBabel is a graphical interface to Open Babel.[1] KOpenBabel can handle and convert over 70 chemical file formats. At this time, it can convert files, guess input file type and convert a large number of files with a single click. The user...
20.48 KB  
Shell & Desktop  -  Fekete 5
Icon theme for Linux For all possible desktop, and Linux distro Special additives: Suse's Yast icons. Xfce system icons, and archaic mimetypes icons Mandriva "special placed" status icons. Libreoffice icons.
71.59 MB  
Shell & Desktop  -  DesktopTools 02-alpha
DesktopTools is a collection of small utillities which help to make your daily life easier. Since the tools themself are rather small (projectwise) I keep them not as individual projects, but have them under this collective name.
102.4 KB  
Shell & Desktop  -  XFast 0.9
XFast is a slim and lightweighted desktop environment that incorporates X and Window Manager within the same project.
1.15 MB  
File Utilities  -  Active@ KillDisk Linux Console 9.1.1110
Active@ KillDisk for Linux (Console) is a powerful utility that will: wipe confidential data from unused space on your hard drive; erase data from partitions or from an entire hard disk; destroy data permanently. Active@ KillDisk for Linux...
11.07 MB  
File Utilities  -  Metalinks 5.1
Metalinks is a project to facilitate data distribution over mirrors and P2P networks. It does so by defining an XML format and the tools to handle these. The metalink files contain all the information needed to download and verify files.
5.05 MB  
File Utilities  -  SSH LoginWatcher 0.9
LoginWatcher is tailing your messages file and is waiting for an entry representing a failed login attempt via SSH. After a predefined number of attempts, the IP address of the offending host is added to the hosts.deny file to prevent further logins.
10.24 KB  
File Utilities  -  PUFS 0.0.2c
PUFS - Peer Union File System - is a poor man's na???ve distributed file system built on top of FUSE, hence running totally in user space. The project is distributed under the GPL license. PUFS' philosophy is somewhat in line...
408.58 KB  
File Utilities  -  frfs 0.0.3
frfs implements a fully functional in-RAM filesystem using the FUSE framework. Overview: With Linux, creating RAM-backed file system is easy: su to root, mount a tmpfs some place, come back to plain user. Ah, but...
153.6 KB