Re: FileUtils.ln_s in Vista
- From: gga <GGarramuno@xxxxxxx>
- Date: Wed, 31 Oct 2007 13:43:55 -0700
Fernando Cacciola wrote:
I just found out that Windows Vista supports symbolic links.
Contrary to Microsoft propaganda that says this feature was modeled
identical to Unix, Vista still does not support true symlinks. Their
current implementation suffers from:
- being limited to a max of 31 symlinks per directory.
- relative symlinks cannot cross volumes.
- mklink forces you to distinguish between a file or directory.
- other pre-vista windows versions on a network cannot see the
symlinks (unlike Samba).
- NTFS only, not available on FAT.
2.If not, how do I detect the host platform so I can call Vista's own
mklink instead?
RUBY_PLATFORM =~ /win/
further check on OS version requires platform specific code or
checking the version of cmd.exe or similar. Sys::Admin may give you a
more friendly way to do this.
.
- References:
- FileUtils.ln_s in Vista
- From: Fernando Cacciola
- FileUtils.ln_s in Vista
- Prev by Date: Re: why, or when to, use a class method?
- Next by Date: Re: InstantRails for win, Gem::RemoteFetcher::FetchError
- Previous by thread: FileUtils.ln_s in Vista
- Next by thread: Dinner / drink recommendations for Charlotte?
- Index(es):
Relevant Pages
|