-
symlink on FAT filesystem
My hd contains three Fat-partitions mounted as
/common.
/windows/boot
/windows/prog
They all can be mounted by any user, read and write.
The /common directory is used to share files beween users under linux and windows.
Now I want to create some links there.
I tried:
cd /windows/boot/windows/desktop
ln -s /common/downloads
But I got the error-message: "Operation not permitted."
All linuxusers have a link like that in their homedirectory. It works.
I searched the internet for that and found someone, who said FAT can't use symbolic links.
But I'm shure it must be working somehow.
Before I reinstalled my complete system I had some links on my windows partition.
This was just a test. I wanted to see what windows does, when it's confronted with links created under linux.
It did'n even recognize them as links and handled them as real files.
So I had a 3.6GB patition containing a 8GB directory. hehe
just can't remember how I made it.
any ideas?
-
I'm not sure if symlinks are allowed on fat/fat32 partitions.
You could try the full path
ln -s /mnt/windows/boot/windows/desktop/common/downloads <link target>
or leave off the '/'
cd /windows/boot/windows/desktop
ln -s common/downloads <target>
-
No. These two don't work.
-
There is a very small chance that it supports links, just not symbolic links. Try getting rid of the -s option to ln.
Though I still very much doubt that it'll work. Nothing in the FAT32 filesystem could be emulated as a link... I'm not sure what you were doing before, but it wasn't a symlink on a FAT32 partition.
Actually, it might have been a symlink inside a Samba share (a Linux filesystem underneath), which would act like it was just the target file.
-
Alternatively you can use mount command with bind option
eg.
mount --bind target-dir existing-empty-source-dir
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|