Displaying 20 results from an estimated 51 matches for "somepath".
Did you mean:
homepath
2004 Nov 07
2
Flag file management techniques using rsync
...and ideally avoiding the need for a specialised sub directory for each flag
file. For example to see if the remote host is otherwise occupied (i.e.. in
the middle of building the import data files) I was expecting this might
work for a "pull" action...
rsync -vptgo rmtusr@rmthost.net:/somepath/file1.flg file1.flg
while [ -f file1.flg ]
do
sleep 30
rsync -vptgo --delete rmtusr@rmthost.net:/somepath/file1.flg file1.flg
done
# Now safe to transfer the data
rsync -rvptgo rmtusr@rmthost.net:/somepath/export import/
... then I want to drop a flag file on the remote host before...
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
...brary (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld: /somepath/blitz/lib/libblitz.a(globals.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/somepath/blitz/lib/libblitz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
----------
I tried recompiling the blitz++ li...
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
...brary (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld: /somepath/blitz/lib/libblitz.a(globals.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/somepath/blitz/lib/libblitz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
----------
I tried recompiling the blitz++ li...
2010 Apr 27
1
[LLVMdev] llvm-2.7: --with-udis86 failure
Debug build on x86_64 with`--with-udis86=<path>' option to 'configure' seems broken.
Configure command line:
./configure --disable-optimized --enable-assertions --enable-debug-runtime --enable-debug-symbols --enable-jit --enable-pic --enable-targets=x86_64 --with-udis86=/somepath/udis86/udis86-1.7
At least 2 issues:
(1) '-L/somepath/udis86/udis86-1.7' is added to the gcc command line rather than the correct '-L/somepath/udis86/udis86-1.7/lib'
(2) '-I/somepath/udis86/udis86-1.7/include' does not seem to be added to the gcc command line but needs t...
2010 Aug 11
3
Using command line --file or -f
*What I want to do:
*Create a windows shortcut that will start the R gui **and**
simultaneously source a file
*What I have already tried:
*This almost works, but it's not the interactive R GUI:
R --no-save --sdi -file="C:\SomePath\example.R"
These open the R GUI, but doesn't recognize -f --f --file -file
RGUI --no-save --sdi -file="C:\SomePath\example.R"
RGUI --no-save --sdi -f "C:\SomePath\example.R"
I've thought about suppressing the error and then parsing
commandArgs()......
2016 Feb 08
3
strace clang refers files from lib/tls/x86_64 multiple times
...ample_strace>
The same behavior is not observed with GCC. With gcc we could build above sample program under 30 seconds while it takes more than 100 seconds when using clang!!!
Any pointer on how to reduce unnecessary stat/open is appreciated.
My local installation paths are...
somepath/gcc-4.9.x/{bin,lib}
somepath/llvm-3.7.1/{bin,lib}
somepath/{bin,lib}
In above installation path we don't have "tls" directory.
In this regards I have following questions...
- We are not seeing present of "tls" directory under "somepath/...
2005 Jan 13
0
When opening a file it takes up to half a minute!
...user(194)
change_to_user: Skipping user change - already user
[2005/01/13 13:12:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2346)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/01/13 13:12:22, 5] smbd/filename.c:unix_convert(108)
unix_convert called on file "Projects/somepath/somefile.doc"
[2005/01/13 13:12:22, 5] smbd/statcache.c:stat_cache_add(135)
stat_cache_add: Added entry (83d3f90:size29)
PROJEKTE/SOMEPATH/SOMEFILE.DOC -> Projects/somepath/somefile.doc
[2005/01/13 13:12:22, 5] smbd/filename.c:unix_convert(174)
conversion finished Projects/somepath/som...
2008 May 30
1
-4 / -ipv4 doesn't work
Hi,
I try to connect to a host that has IPv4 and IPv6, but IPv6 is currently
blocked by ACL's. My host also has IPv6 and IPv4. When I pass the -4 or
--ipv4 option to rsync, it doesn't pass it to ssh:
$ rsync -4 -r -v -v -v -v -l --del . SOMEUSER@SOMEHOST:SOMEPATH
cmd= machine=SOMEHOST user=SOMEUSER path=SOMEPATH
cmd[0]=ssh cmd[1]=-l cmd[2]=SOMEUSER cmd[3]=SOMEHOST cmd[4]=rsync
cmd[5]=--server cmd[6]=-vvvvlr cmd[7]=--delete-during cmd[8]=.
cmd[9]=SOMEPATH
opening connection using ssh -l SOMEUSER SOMEHOST rsync --server -vvvvlr
--delete-during . SOMEPATH
<...
2013 Nov 25
4
question about file {} type
My class reads like:
class name1::name2 ($gidvariable) {
file { "somepath-to-file":
ensure => file,
mode => ''0640'',
gid => $gidvariable,
}
}
The problem is that the file isn''t getting set to the $gidvariable''s value
which is a string "abc".
The other things work (presence as file, mode).
Stuar...
2009 Oct 15
1
[LLVMdev] [Fwd: Re: strace for whole-program bitcodes]
...ink
>steps gold will still generate native code. However, it should be
>possible to find a way to get gold to leave the merged bitcode around
>somewhere, or perhaps do something like llvm-ld. Nicholas?
>
I've had some success by adding a call to lto_codegen_write_merged_modules(cg, somePath) at the end of the gold plugin's all_symbols_read_hook() function just before it calls lto_codegen_dispose(cg). The somePath is set via a plugin option which I patched llvm-gcc to pass through as a derivation from its -o argument.
It has worked on several mid-complexity applications I've...
2002 Sep 17
1
Using rsync for two-waz-synchronisation
...it is not defined on which host
it changes.
For example:
I have this structure on host 1:
/Desktop
/Pictures
/blabla
test.txt
info.txt
If rsync from host 1 to host 2, host2 has the same structure.
This are my options:
rsync -e "ssh -1" -a --delete --exclude "lost+found" /somepath
somehost:/somepath
If I create a file on host 1 and run rsync again the file is also on host 2.
But: If I create a file on host 2 and run rsync on host 1 the file is
deleted on host 2. If I use -u instead of --delete files that changed on
host 2 are not overwritten but they are also not copied...
2015 May 03
3
Samba 4 fileserver perfomance
...----------
?? ?load printers = yes
?? ?cups options = raw
# --------------------------- File System Options ---------------------------
#============================ Share Definitions ==============================
[Share]
?? ?comment = Data
?? ?browseable = yes
?? ?writable = yes
?? ?path = /somepath
?? ?public = no
?? ?guest ok = no
?? ?create mask = 0660
?? ?directory mask = 0770
?? ?force group = Family
2007 Nov 10
2
Array of files and other questions...
Hi
I''m quite new to the art of writing puppet manifest, but the more I see,
the more I like it :-)
I''m trying to write a djbdns dnscache module.
dnscache configuration is spread in several files, for instance the ip
addresses allowed to query the cache each have a file in dnscache/root/ip/
whose filename is the address.
I''m trying to automate the creations of those
1999 Aug 12
4
Samba High Availability
We're using Samba, and it's working very well, however I'm interested in
finding out what approaches would work for having some sort of
redundancies in place in case the main server crashes. Is there anything
in place for Samba in order to have some sort of backup in place in case
the main server crashes.
The reason is that the server is critical to the company's business, and
2017 Mar 10
6
File/dir user permissions on Samba fileserver in DC
...Domain is also build on Samba-4.3.5 (another
VM). Fileserver's VM is mounted with acl, user_xattr options, Samba
compiled with ACL support.
There're domain users, for example, "usr1", "usr2". They're in domain
group "dg1".
There's a filepath "/somepath/dir". Access to this directory is granted
according to domain group membership. "usr1" can access "dir", another
users from "dg1" also can access "dir", create files or directories into
it. But none of "dg1" users (except "usr2" an...
2011 Jan 05
2
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
...ists on checking every known function prototype of for
example "recv" and for the presence of headers it (or the project
dev!) should know are not there.
As for 3rdparty libraries: provide an option like autotools (about the
only thing (sometimes) done right) "--with-3rdpartylibname=somePath".
Leave it to the user/builder to get their setup right and provide the
correct library (location)
Sorry for the somewhat off-topic ramble :s.
Ruben
2004 Mar 27
1
building a list in loop
Hello
getdata <- function(p){
fname <- NULL; dl <- list()#build the sturcture
builddl <- function(q,s){
fname <<- c(fname,s) #where "s" is a string
dl <<- list( dl, dt2)
}
list(names = fname, data = dl)
}
data <- getdata("c:\somepath")
> data
$names
[1] "fname"
$data
$data[[1]] <--- since there is no [[1]] how can I
stop
list() <--- this from happening?
$data[[2]]
... lists all rows and cols here
thanks
2006 Sep 03
1
Returning different values with stubs
...hat when the value of redirect? effects how
many times follow_redirect is called. Is there already a built in way
to do this or should I go hacking?
My test looks a bit like this at the moment:
# This needs redirect? to change what it returns...
# def test_get_via_redirect
# path = "/somepath"
# args = {:id => ''1''}
# @session.expects(:get).with(path,args)
# @session.stubs(:redirect?).returns() <-- returns different values
# @session.expects(:follow_redirect!). <-- expects it a certain
amount of times
# @session.get_via_redirect(pth, ar...
2009 Aug 05
1
inheriting C symbols
...ckage coxme depends heavily on bdsmatrix, to the point of needing
access to some of its C calls. The kinship package (in progress) uses
the R level functions in bdsmatrix, but not the C calls. That is, I
don't want to always export the symbols.
For testing I can use an explicit dyn.load('somepath/bsdmatrix.so',
local=F). How do I incorporate such a dependency in the DESCRIPTION
file for coxme, so that it happens in general?
Terry T.
2006 Jul 26
1
List directory names in a dropdown control?
I''ve been trying to find the "right" way to do this and I''m now appealing to
the Rails masses. :)
I want to list all the directory names in a specific location and have just
the directory names appear in a dropdown control for the user.
The Dir.entries("somepath") includes the "." and ".." folders plus all files
and folders.
The Dir.glob() is hard for me to work with. I''m not familiar with that type
of search. Part of my problem is that it seems the best fit but I''m not sure
how to make it work with any given dire...