Linux Lite Forums
Symlinking not working with LL3.0 - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: Symlinking not working with LL3.0 (/showthread.php?tid=3336)



Symlinking not working with LL3.0 - m654321 - 09-20-2016

This morning, within LL3.0,  I have twice tried unsuccessfully to symlink '/home' (sda2 on physical drive1) to '/mnt/DATA', the latter occupying  a single ntfs partition (sdb1) on physical drive2.  When I reboot the PC, the folders in /home/mike appear white, with a cross on each one.  On examining the contents of sdb1, I find no trace of the folders I created there.

Symlinking is something I've done routinely in the past with the LL2 series without a hitch.  Is 'utf8' still supported in LL3.0 or is this now discontinued?  Would be grateful for help with this.

Thanks for any help
Mike


Re: Symlinking not working with LL3.0 - gold_finger - 09-20-2016

I haven't messed with LL3 yet, but can't imagine that symlinking would work any differently on it.  Have a feeling you're probably just making a small mistake somewhere along the line.  Have a look at brief recap below to see if you missed any steps and retry if you realize you did.

Brief recap of steps to symlink:
  • make sure you've set-up system to auto-mount the data partition
  • make folders on the data partition (eg. Documents, Music, Pictures, etc.)
  • make sure you've deleted folders in /home/mike that have same names as those in data partition that you're symlinking
  • structure of command will be to symlink from the data partition to your home (see example below)
Code:
ln -s /mnt/DATA/Documents /home/mike
NOTE:  command ends with "/home/mike", not "/home/mike/Documents".



If you still have problem, post back full output of these terminal commands:
Code:
sudo blkid -o list
cat /etc/fstab
ls -l ~
ls -l /mnt/DATA
NOTE:  If your mount point for the data partition is not "/mnt/DATA", change to your correct mount point in last command.



Re: Symlinking not working with LL3.0 - trinidad - 09-20-2016

Cross platform with multiple format music, multiple format video, multiple format graphics, you may have to link the files individually, and/or add folder formats (file suffixes) (tantamount to "open with"). Text will work fine for documents with just folders if you add .text to end of the file command. If your folders are there but empty, it is probably because they are missing individual file links. Make sure the volume is mounted, and/or even mountable. Use visudo to edit permissions. 

TC