Displaying 20 results from an estimated 2000 matches similar to: "Ruby code to create junctions on NTFS volumes."
2005 Mar 14
1
Ruby code to create junctions on NTFS volumes.
Here is some Ruby code for creating junctions on NTFS volumes.
These are the main routines:
Dir.junction?(dir) => true if dir is a junction
Dir.reparse_target(dir) => returns the target of a junction, or dir
Dir.create_junction(junctName, existingTarget) => creates a junctName
junction pointing to existingTarget
(also used (Dan''s?) GetLastError code and did some simple
2005 May 03
0
Symlinks for Windows
> Zach Dennis wrote:
>
>> I can see where confusion may play a part. I will second ''junction''. Any
>> idea on the time, effort or level of difficulty on putting this in ruby?
> ^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I mean putting this in a ruby extension. =)
Back in mid-March, I''d posted code for creating junctions and getting the
target of a
2005 May 18
1
Next release of win32-dir?
Dan,
Do you know when the next release of win32-dir is going to be available.
I really would like to rely on it for the junction capability that
Timothy Byrd posted. =)
Thanks,
Zach
2009 Mar 26
1
Vista Junctions
I?m trying to use rsync with windows vista. Vista?s odd form of ?links?
confuses rsync and I get a recursive infinite loop at every such junction
(until failure when the filename size limit is exceeded) .
Could someone please point me to the solution or is there one? The std
don?t follow links switch doesn?t seem to work.
Eric
-------------- next part --------------
HTML attachment scrubbed
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2006 May 26
13
win32-dir, unicode
Hi,
I''ve got a preliminary version of the pure Ruby version of win32-dir in
CVS. However, I was hoping to work out the Unicode issue. Run this:
from = "C:\\test"
to = "?????"
Dir.mkdir(from) unless File.exists?(from)
Dir.create_junction(to, from)
It works, but my explorer (and dos) window shows the name garbled. I
don''t think it''s a font
2018 Feb 06
1
Warning from Sys.junction when using network drive.
I am running 3.4.3 on a windows server and I ran the code in a new session.
I get a warning when running packrat::init() on a project that is located on a windows network drive.
The warning I get is
Warning message:
cannot set reparse point 'U:/packrat5/packrat/lib-R/base', reason 'Access is denied'
The error is created based inside the function .Internal(mkjunction(fr,
2006 Aug 21
0
[ win32utils-Bugs-5479 ] Incorrect SetLastErrordeclarations
Fixed in CVS.
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> noreply at rubyforge.org
> Sent: Monday, August 21, 2006 5:44 AM
> To: noreply at rubyforge.org
> Subject: [Win32utils-devel] [ win32utils-Bugs-5479 ]
> Incorrect SetLastErrordeclarations
>
>
> Bugs
2005 Jul 22
0
Samba, DFS and Junction Points
Hi Samba List,
I believe I need to create a "Junction Point" on a Windows XP Pro machine
that will seamlessly link up to a Samba Share on a Linux Server.
>From my understanding, the creation of a "Junction Point" will hide from an
application the fact that the "space referenced by that junction point" is
actually located someplace else.
While it is
2007 Apr 06
0
RSync / Vista / Junction Points issue
I'm running DeltaCopy (essentially a Windows friendly GUI wrapper around
RSync 2.6.6) on Microsoft Vista. I'm trying to make a backup of a user's
profile directory. One big difference between Vista and earlier Windows
versions is that Vista makes extensive use of Junction Points (sort of like
Unix symlinks) for compatibility. For instance, in a profile directory there
are 16
2010 Oct 17
1
unbalanced repeated measurements Anova with mixed effects
Dear R-list members,
I've been struggling with the proper setup for analysing my data. I've
performed a route choice experiment, in which participants had to make a
choice at each junction for the next road. During the experiment they
received traffic information, but also encountered two different
accidents. They also made trips without accidents.
What I'm interested in is to
2011 Aug 09
2
junction table question
I''m looking into how to implement a relationship between some models,
and I think I need to use a junction table. From the documentation I''ve
read, a junction table doesn''t require a model. But from my controller,
I''m not sure how to get the data I need. Here''s a description of my
models and what I need in my controller:
Models
1. Event
2. Site
3.
2005 Feb 26
7
Symlinks for Windows
Hi all,
Dave Burt mentioned the possibility of adding symlinks
to the Dir class.
http://www.sysinternals.com/ntw2k/source/misc.shtml#junction
There is also Autrijus Tang''s symlink Perl module at
http://search.cpan.org/~autrijus/Win32-Symlink-0.04/
Looks easy enough, but it only seems to work for
directories, not regular files. Should we add this to
the Directory class, or simply
2009 Jun 27
0
1.6.1: unable to create channel IAX2 to Junction
Trying to set up Junction Networks for outgoing on 1.6.1:
extensions.conf:
exten => _99X.,n,Dial(IAX2/jnctn_out/${called-num})
iax.conf
[jnctn_out]
type=peer
host=iax.jnctn.net
username=
secret=
qualify=yes
I'm not using realtime.
But CLI:
-- Executing [99xxxyyyy at internal:3] Dial("DAHDI/1-1",
"IAX2/jnctn_out/1wwwxxxzzzz") in new stack
[2009-06-27
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think.
- Dan
---------- Forwarded message ----------
From: Kevin Burge <kevin.burge at systemware.com>
Date: Dec 7, 2006 6:45 AM
Subject: win32-service problems with patch
To: djberg96 at gmail.com
Hi Daniel,
Thanks for win32-service. In the process of using it for running a
reliable-msg (drb) server and clients, I had some
2001 Mar 28
1
MSDFS extensions
Hello,
I'm setting up MSDFS feature in samba-2.2.0-alpha3. It works very great!
But I'm would wish an extension to the MSDFS functionality:
Is it possible to implement a feature, so I could group junction points
within directories?
E.g.:
[pub]
path = /export/publicsmb
msdfs root = yes
PUB
|
+- dir1 <- directory manually created in /export/publicsmb
| |
|
2019 Dec 11
1
Windows check problems.
The thread starting with this message:
https://stat.ethz.ch/pipermail/r-package-devel/2019q4/004745.html
described problems Rich Heiberger was having with package checking on
Windows. It appeared that during the tests of examples, an old version
of the package was loaded but the new tests were being run, causing lots
of confusion and trouble.
I reproduced the error, and I think I've
2010 Dec 29
1
Script Output Format
Hi all!
i'm just did a script that the output must be comma separated to be imported into a spreadsheet.
the output that i obteined was
Date/Time,We. Active Threads,W. Total Threads,W. Worker Threads,Name
29-12-10/11:43:01,0,250,0,/FIM
,0,/mytest
,0,/mockofprod/financing/customercentre
,0,/mockofprod/financing/commercial/amt
,0,/account/orderstatus
,0,/activities
as you can see, the first
2005 Sep 16
1
Delay to join a domain successfully
Hi team,
I'm running samba 3.0.4 on AIX 4.3.3 and HP-UX 11.00 without any problems
except the following :
On HP-UX 11.00, when I try to join a machine to a domain, it first insert
all POSIX entries in the LDAP backend but rejects the junction. The
machine account could not be found. Waiting for a while and relaunching
the join command, the junction just works fine.
Having exactly the same
2005 Dec 04
0
[ win32utils-Bugs-2918 ] docs and samples arealways installed in c:/ruby/
Shanko, I''ve assigned this one to you. :)
- Dan
________________________________
From: win32utils-devel-bounces at rubyforge.org on behalf of noreply at rubyforge.org
Sent: Thu 12/1/2005 7:25 AM
To: noreply at rubyforge.org
Subject: [Win32utils-devel] [ win32utils-Bugs-2918 ] docs and samples arealways installed in c:/ruby/
Bugs item #2918, was opened at 2005-12-01 08:25
You can