Reply to this topic Topic Options
Symlinks on Vista
Computer Guru
Post #1 Nov 5 2006, 09:47


Mostly Harmless...
Group Icon

Group: Registered
Posts: 2,258
Joined: 23-April 05
From: The Great Middle East
Member No.: 107,016
One of the nifty "new" old technologies that Vista brings to the table that haven't been hyped too much is symlinks.

Vista does have several exciting features to blog home about - one of which is the much requested “Symlinks” feature. It’s been in practically every other operating system for the past decade+ and is one of the most essential time-saving devices ever to be implemented.

It’s called mklink (in keeping with the mkdir nomenclature obviously), and it works just as well.

Article: Vista Gets It: Symlinks at Last!
Source: NeoSmart Technologies
Profile Card PM + Reply to Post Go to the top of the page

Log In or Register · Advertise on Neowin
Lemonzest
Post #2 Nov 5 2006, 21:15


Neowinian³
Group Icon

Group: Banned
Posts: 293
Joined: 30-September 03
Member No.: 36,471
been in NTFS since windows 2K (see hardlinks) big whoop
Profile Card PM + Reply to Post Go to the top of the page Email Poster
Andareed
Post #3 Nov 5 2006, 22:20


DAEMON Tools Developer
Group Icon

Group: Registered
Posts: 1,519
Joined: 30-March 03
From: Waterloo, Ontario, Canada
Member No.: 24,849
Hardlinks don't work across volumes or on directories. There's also junction points, which are like symlinks but only work on directories.
Profile Card PM + Reply to Post Go to the top of the page Email Poster
Computer Guru
Post #4 Nov 6 2006, 23:00


Mostly Harmless...
Group Icon

Group: Registered
Posts: 2,258
Joined: 23-April 05
From: The Great Middle East
Member No.: 107,016
Quote - (Lemonzest @ Nov 5 2006, 23:15) [snapback]588019152[/snapback]
been in NTFS since windows 2K (see hardlinks) big whoop




Someone needs to read up on Symlinks.

There's a reason why this is a big deal. Symlinks are a very flexible system, especially when it comes to cross-referencing and simultaneous uses.

Profile Card PM + Reply to Post Go to the top of the page
MrFusion
Post #5 Nov 7 2006, 04:58


Neowinian
Group Icon

Group: Registered
Posts: 18
Joined: 14-September 06
Member No.: 180,561
Please pardon my ignorance, but I can't think of many uses for Symlinks (I've just read the entry in Wikipedia). blink.gif

Any example scenarios? smile.gif
Profile Card PM + Reply to Post Go to the top of the page Email Poster
EchoNoise
Post #6 Nov 7 2006, 05:04


Destron.
Group Icon

Group: Registered
Posts: 3,901
Joined: 20-December 05
From: Australia
Member No.: 146,074
Well in unix/linux a symlink comes in handy.

I have a library called

library.so.2

but the program needs the library called library.so.1

I symlink library.so.2 to library.so.1 and works smile.gif

Well thats the kinda thing I had to do to get VLC running tongue.gif
Profile Card PM + Reply to Post Go to the top of the page
Jonathan Amend
Post #7 Nov 7 2006, 05:06


Neowinian Senior
Group Icon

Group: Registered
Posts: 2,998
Joined: 9-February 04
From: Montreal, Canada
Member No.: 47,139
Can you make symlinks to Windows shares?
Profile Card PM + Reply to Post Go to the top of the page Email Poster
MrFusion
Post #8 Nov 7 2006, 05:11


Neowinian
Group Icon

Group: Registered
Posts: 18
Joined: 14-September 06
Member No.: 180,561
Quote - (Un-Dead Soldier @ Nov 6 2006, 23:04) [snapback]588023555[/snapback]

I symlink library.so.2 to library.so.1 and works smile.gif

Well, couldn't you just rename the file?

It would be useful just if you need the same file on different places and/or names then. yes.gif
Profile Card PM + Reply to Post Go to the top of the page Email Poster
EchoNoise
Post #9 Nov 7 2006, 05:19


Destron.
Group Icon

Group: Registered
Posts: 3,901
Joined: 20-December 05
From: Australia
Member No.: 146,074
Why would you want to rename it?... Other programs will need to use the library.so.2 file... and copying would waste precious HDD space tongue.gif
Profile Card PM + Reply to Post Go to the top of the page
« Older · Windows Vista Beta · Newer »
 Reply to this topic