Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat May 25, 2013 19:04



Post new topic Reply to topic  [ 6 posts ] 
Junction points 
Author Message

Joined: Mon Sep 07, 2009 18:06
Posts: 3
Post Junction points
I checked several older topics on junction points, but they were old and junction points weren't really supported yet. Now theoretically they are, but I can't get them to work.

I'm running an Ubuntu 9.04 with ntfs-3g preinstalled. My NTFS hard drive (D:) is mounted at /media/900gb/ and I have a bunch of junction points there. When typing the command ls -al, I see the following:

Code:
drwxrwxrwx 1 root root    0 2009-09-07 15:46 a
drwxrwxrwx 1 root root 4096 2009-09-06 23:19 b
drwxrwxrwx 1 root root    0 2009-09-06 23:32 c
drwxrwxrwx 1 root root    0 2009-09-06 23:30 d
drwxrwxrwx 1 root root    0 2009-09-06 23:32 f
drwxrwxrwx 1 root root    0 2009-09-06 23:33 g
drwxrwxrwx 1 root root    0 2009-09-07 16:55 i
drwxrwxrwx 1 root root    0 2009-09-07 15:04 j
drwxrwxrwx 1 root root    0 2009-09-06 23:29 m
drwxrwxrwx 1 root root    0 2009-09-06 23:30 n
drwxrwxrwx 1 root root 8192 2009-09-07 15:45 p
drwxrwxrwx 1 root root    0 2009-09-06 23:30 r
drwxrwxrwx 1 root root    0 2009-09-06 23:29 RECYCLER
drwxrwxrwx 1 root root    0 2009-09-06 23:34 s
drwxrwxrwx 1 root root 4096 2009-09-06 22:51 System Volume Information
drwxrwxrwx 1 root root    0 2009-09-07 15:47 test
drwxrwxrwx 1 root root    0 2009-09-07 16:55 v

Out of these directories, most of them are Junction points, and all Junction points here have a size of 0, but not all regular directories have a size higher than 0. The directory j/ is a regular directory and its size is 0. I don't really understand what these are supposed to mean.
Anyway, whenever I enter a Junction Point (for instance D:\i points to D:\b\i), I don't go to where it's pointing, but instead an empty directory with . and .. and not being able to create any files or directories in it, because it says "Operation not supported".
I read that ntfs-3g is supposed to automatically guess where the Junction Points point to, but that I could also configure it. Therefore I made a symlink /media/900gb/.NTFS-3G/D:/b/i/ that points to ../../../b/i/ and it did absolutely nothing.
Did I forget something or do something wrong? Please help me.


Mon Sep 07, 2009 18:17
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1012
Post Re: Junction points
Hi,

Quote:
I'm running an Ubuntu 9.04 with ntfs-3g preinstalled.
[...]
Did I forget something or do something wrong?


You just forgot to install Advanced ntfs-3g, the standard version installed with Ubuntu does not support junction points yet. The advanced version is available from http://pagesperso-orange.fr/b.andre/adv ... fs-3g.html

Regards

Jean-Pierre


Mon Sep 07, 2009 20:14
Profile

Joined: Mon Sep 07, 2009 18:06
Posts: 3
Post Re: Junction points
There seems to be no package for ubuntu, so I compiled the advanced thing from source. These were the last lines from make install. Is it good?

Code:
make[3]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/libntfs-3g'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libntfs-3g.pc '/usr/local/lib/pkgconfig'
test -z "/lib" || /bin/mkdir -p "/lib"
make[2]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/libntfs-3g'
make[1]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/libntfs-3g'
Making install in src
make[1]: Entering directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
gcc -DHAVE_CONFIG_H -I. -I..     -I../include/ntfs-3g -g -O2 -Wall -MT secaudit-secaudit.o -MD -MP -MF .deps/secaudit-secaudit.Tpo -c -o secaudit-secaudit.o `test -f 'secaudit.c' || echo './'`secaudit.c
secaudit.c:259:24: error: attr/xattr.h: No such file or directory
secaudit.c: In function ‘showmounted’:
secaudit.c:5068: warning: implicit declaration of function ‘getxattr’
make[1]: *** [secaudit-secaudit.o] Error 1
make[1]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
make: *** [install-recursive] Error 1



Mon Sep 07, 2009 21:58
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1012
Post Re: Junction points
Hi,

Quote:
These were the last lines from make install. Is it good?

It is not. You need to install the dev package for extended attributes (libattr-dev).

Regards

Jean-Pierre


Mon Sep 07, 2009 22:35
Profile

Joined: Mon Sep 07, 2009 18:06
Posts: 3
Post Re: Junction points
Thanks. So is this good now?

Code:
make  install-exec-hook
make[3]: Entering directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
/sbin/ldconfig
make[3]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8"
/usr/bin/install -c -m 644 ntfs-3g.8 ntfs-3g.probe.8 '/usr/local/share/man/man8'
ln -s -f ntfs-3g.8 "/usr/local/share/man/man8/mount.ntfs-3g.8"
test -z "/sbin" || /bin/mkdir -p "/sbin"
make[2]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
make[1]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17/src'
make[1]: Entering directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17'
make[2]: Entering directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/ntfs-3g" || /bin/mkdir -p "/usr/local/share/doc/ntfs-3g"
/usr/bin/install -c -m 644 README '/usr/local/share/doc/ntfs-3g'
make[2]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17'
make[1]: Leaving directory `/home/amcsi/Public/ntfs-3g-2009.4.4AR.17'
root@amcsiujlinux:/home/amcsi/Public/ntfs-3g-2009.4.4AR.17#


Mon Sep 07, 2009 22:48
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1012
Post Re: Junction points
Hi,

Quote:
Thanks. So is this good now?

Should be. You can install now.

Regards

Jean-Pierre


Tue Sep 08, 2009 08:06
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.