Displaying 20 results from an estimated 6000 matches similar to: "hard links question"
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
This testscript creates reflinks to files on different subvolumes,
overwrites the original files and reflinks, and moves reflinked files
between subvolumes.
Originally submitted as testcase 302, changes are made based on comments
from Eric: http://oss.sgi.com/archives/xfs/2013-03/msg00231.html
Two new common/rc functions used in this script (_require_cp_reflink and
_verify_reflink) have been
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi,
I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line.
1) my goal is
I the following folders:
./dest:
file3.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
And I would like to have as incremental backup
./dest:
backup file1.txt file2.txt file3.txt
2010 Jan 29
2
[LLVMdev] Redefining function
Hi everybody.
I've just started learning about LLVM and didn't get too far studying the
core.
I couldn't find the solution to my problem (if it has one) in the mailing
list or the source code. The problem is: how can I redefine a function
that's been called already by some other function?
Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I think
it could be clang
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
This testscript creates reflinks to files on different subvolumes, overwrites the original files and reflinks, and moves reflinked files between subvolumes.
Originally submitted as testcase 302, changes are made based on comments from Eric: http://oss.sgi.com/archives/xfs/2013-03/msg00231.html
Two new common/rc functions used in this script (_require_cp_reflink and _verify_reflink) have been
2008 Apr 24
0
[LLVMdev] Compile units in debugging intrinsics / globals
Hi,
> Suppose I have the following source:
>
> file1:
> #include "file2"
> #include "file3"
> int fn1(void) ...
>
> file2:
> int a;
>
> file3:
> int fn2(void) ...
>
> then fn1, along with all the base types etc appear to be in compile unit
> "file1", the variable a appears to be in compile unit
2011 Jun 19
1
save and load in R
I have a list of txt files that I want to convert into .rdata R data
object.
filenames
1. "./file1.txt"
2. "./file2.txt"
3. "./file3.txt"
4. "./file4.txt"
5. "./file5.txt"
6. "./file6.txt"
7. "./file7.txt"
8. "./file8.txt"
9. "./file9.txt"
10. "./file10.txt"
I saved these files as
for ( i in
2009 Nov 13
1
Utility function to rotate log files?
I am wondering if there is a CRAN package that includes a utility
function that will "rotate" file names, in the same sense that
operating systems sometimes rotate log files. Or maybe there's
something in base R.
That is, we have a set of file names, say file1, file2, file3, and
when the function is called, file3 is deleted, file2 is renamed
file3, file1 is renamed file2, and
2016 Jun 09
1
for loop example
> From: Indunil Jayasooriya <indunil75 at gmail.com>
> > >
> > > [root at centos67 loop]# cat file1
> > > firstname1
> > > firstname2
> > >
> > > [root at centos67 loop]# cat file2
> > > lastname1
> > > lastname2
> > >
> > > I need a OUTPUT like this
> > >
> > >
> > >
2010 Jan 30
0
[LLVMdev] Redefining function
Hi Conrado,
> I couldn't find the solution to my problem (if it has one) in the
> mailing list or the source code. The problem is: how can I redefine a
> function that's been called already by some other function?
why do you want to do this?
> Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I
> think it could be clang instead).
>
> File1.c:
2008 Apr 23
3
[LLVMdev] Compile units in debugging intrinsics / globals
I have a question about the llvm debugging records, especially wrt compile
units.
In the non-LLVM sense, a compile unit is essentially everything contained
within a single .o file, and it is derived from one or more source and
header files. Included in a compile unit are functions and global data.
Dwarf records refer to compile units in the same way: a compile unit record
has children which
2013 Jan 08
2
rsync in conjunction with the --link-dest option does not output deleted files
Hi,
I want to use rsync to make daily backups using hard-links in this way:
rsync -av --delete --link-dest=../backup_old ./source/. ./backup_new
This works great, but the problem is, that rsync does not show correctly
what action it performs (-v option). It shows correctly all new and
changed files/folders, but it does not show files that were deleted.
This works only if I do not use the
2008 Aug 11
2
Compiling only some C files
Dear R-users,
I am currently writing an R package that contains three C++ files in the
src/ source directory
When i issue a R CMD check pkge_name, all the *.cpp files in the src/
directory will be compiled through something like (seen in 00install.out
file):
* Installing *source* package 'pkge_name' ...
** libs
g++ -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-c
2001 Apr 12
1
(no subject)
This perl script is for Samba 2.0.7 installed via RPM.? If that's your
setup, this will work for you.? Before you run it you need to create a
Unix group with a gid of 500.? You can name it whatever you want, but
it's for machine accounts, so I would suggest you call it 'machines'.?
If you need any help with it or need it customized for you, let me know.
?
-- Mike
?
Script starts on
2016 Jun 09
0
for loop example
There's probably a better way using join, but this should do the trick:
paste <(cat file1 | tr "\n" ' ') <(cat file2 | tr "\n" " ")
On Tue, 07 Jun 2016 12:19:14 +0000
Diego <diegofull at gmail.com> wrote:
> Maybe this don't to be the best form to solve your problem, but worked,rs.
>
> #!/bin/bash
> #power by Diego Rodrigues
2010 Mar 25
0
Can't access opaque symlinks pointing to another Samba mount
Computer A runs my samba server. Has unix extensions = off, wide links
= on (don't think this one matters with unix extensions off...)
This way, if I have a symlink on my shares, clients see it as a normal
file, not as a symlink.
This works fine, even for symlinks to files outside the shares paths.
Except when the symlink points to a file that is on a CIFS mount.
So say I have computer B
2013 Oct 22
4
[Bug 10220] New: symlinks are not counted as files in --stats
https://bugzilla.samba.org/show_bug.cgi?id=10220
Summary: symlinks are not counted as files in --stats
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: zlobber at
2008 Jun 09
2
readLines fails to read entire file
Colleagues
I have just encountered an interesting problem with readLines in R
2.7.0 in Windows Vista. I am trying to read a line that is created in
the following manner:
1. Intel Fortran (ifort) 10.1 creates two text files.
2. The OS concatenates these files with: copy FILE1 +FILE2 FILE3
From R, I execute: readLines("FILE3")
Only the first portion of the file (the original
2016 Jun 07
2
for loop example
Maybe this don't to be the best form to solve your problem, but worked,rs.
#!/bin/bash
#power by Diego Rodrigues
totalFileOne=$(wc -l file1 | cut -d" " -f1)
totalFileTwo=$(wc -l file2 | cut -d" " -f1)
count=0
if [ ! "${totalFileOne}" -eq "${totalFileTwo}" ];then
echo "The two files need of same number of lines"
exit 1
fi
for
2012 Mar 16
1
R merge two dataframes with different row?
Hi everyone,
I have a question for R code to merge.
Say I have two dataframes:
File1 is:
V1 V2 V3 V4
1 100 101 name1
2 200 201 name2
2 300 301 name3
3 400 401 name4
3 500 501 name5
4 600 601 name6
4 700 701 name7
File2 is:
V1 V2 V3 V4
1 50 55 p1
3 402 449 p2
4 550 650 p3
4 651 660
2014 Jun 27
3
[Bug 10677] New: external zlib broken after update to 3.1.1 on FreeBSD
https://bugzilla.samba.org/show_bug.cgi?id=10677
Summary: external zlib broken after update to 3.1.1 on FreeBSD
Product: rsync
Version: 3.1.1
Platform: x64
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: ehaupt at