Forum

Full Version: Symbolic link from an hdd to another
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry for my bad inglish I'm italian and use google traslate! Blush

Software
XBian version: XBian 1.0 Beta 2
XBMC version: 12.2 Git:20130916-09cb29 (Compiled: Oct 2 2013)
Overclock settings: High

Hardware
Power supply rating: 5V 1,2 A
RPi model (model A/B 256mb/512mb): B 512mb
SD card size and make/type: SanDisk Ultra 8GB calss 10 30MB/s
Network (wireless or LAN): LAN
Connected devices (TV, USB, network storage, etc.):
TV by HDMI
2 HDD 2tb Trekstore DataStation maxi light

Link to logfile(s):

Problem description:
1st HDD I use for FILM and TV FILMS on the second.
Since I installed the latest Xbian when I connect remotely I get 2 new folders on the hdd like a link:

Practically I have a tree like this for 1st:
FILM
|-- Backup
|-- FILM HD
|-- FILM SD
|--TELEFILM (which if I open i find the contents of the HDD with TELEFILM (2nd HDD)
| |-- Bones
| |-- Castle
| |-- NCIS-- Backup

And a tree like this for 2nd:
TELEFILM
|-- Bones
|-- Castle
|-- NCIS
|---FILM(which if I open i find the contents of the HDD with the TELEFILM (1st HDD)
| |-- Backup
| |-- FILM HD
| |-- FILM SD

Terminal
xbian@xbian /media $ ls -l
totale 16
drwxrwxrwx 1 xbian xbian 4096 dic 15 21:29 FILM
drwxrwxrwx 1 xbian xbian 4096 dic 7 17:43 TELEFILM
lrwxrwxrwx 1 root root 15 dic 19 13:59 usb0 -> /media/TELEFILM
lrwxrwxrwx 1 root root 11 dic 19 13:59 usb1 -> /media/FILM


Terminal
xbian@xbian /media/FILM $ ls -l
totale 401
drwxrwxrwx 1 xbian xbian 0 dic 15 09:55 Backup
drwxrwxrwx 1 xbian xbian 81920 dic 19 15:24 FILM_HD
drwxrwxrwx 1 xbian xbian 323584 dic 19 16:42 FILM_SD
drwxrwxrwx 1 xbian xbian 0 dic 3 16:57 $RECYCLE.BIN
drwxrwxrwx 1 xbian xbian 4096 dic 3 09:08 ScreenShot
drwxrwxrwx 1 xbian xbian 0 dic 3 16:56 System Volume Information
lrwxrwxrwx 1 xbian xbian 38 dic 15 21:29 TELEFILM -> /media/TELEFILM

Terminal
xbian@xbian /media/TELEFILM $ ls -l
totale 33
drwxrwxrwx 1 xbian xbian 4096 mag 11 2013 File Originali
lrwxrwxrwx 1 xbian xbian 30 dic 5 10:54 FILM -> /media/FILM
drwxrwxrwx 1 xbian xbian 4096 apr 28 2013 Foto & Video
drwxrwxrwx 1 xbian xbian 0 dic 7 17:43 $RECYCLE.BIN
drwxrwxrwx 1 xbian xbian 0 dic 7 17:43 System Volume Information
drwxrwxrwx 1 xbian xbian 24576 dic 4 16:54 TELEFILM

Why is this happening?
Ok I can replicate:
Why it is happening I'm not too sure.

Will have to investigate this a bit further.
Thanks
I'm curious what do you think happened?
if you remove the symlinks, are they recreated again ?
I removed the links, rebooted and they have not reappeared.

No idea when they appeared or how.
When i return at home i try!
(21st Dec, 2013 06:44 AM)mk01 Wrote: [ -> ]if you remove the symlinks, are they recreated again ?
I have not tried to delete the link, I was afraid that I deleted some 1tb of movies!

I noticed that the link is created only if both HDD are mounted, if I turn off one, the link disappears, and reappears when I turn on the HHD.
@turk. I plugged my USB HDD into a Windoze machine and deleted the links there - just for safety.
Tnks i do it and now they are dead!
I've just checked my main machine and they are BACK - well at least one of them.

I have a WD 2TB HDD configured as Movies and TV (Each 1TB)

The link is back in Movies. TV -> media/TV but not in TV (yet)

Something is going on - the link is dated 7/1/2014 which I think is about the date I upgraded. Upgrade log date confirms this.
@IriDium

can you copy&paste packages upgraded that particular run ?
(16th Jan, 2014 03:14 PM)mk01 Wrote: [ -> ]@IriDium

can you copy&paste packages upgraded that particular run ?

Is there anyway to find out? I didn't take a note of them as I generally upgrade the test machine and wait a couple of weeks before I upgrade the main machine.

If I remember correctly, it wasn't many CEC, and possibley scripts but cannot be sure.

Will keep an eye out when I next upgrade.
(17th Jan, 2014 01:47 AM)IriDium Wrote: [ -> ]Is there anyway to find out? I didn't take a note of them as I generally upgrade the test machine and wait a couple of weeks before I upgrade the main machine.

/var/log/apt/*

package lists with actions with date/time
A lot more than I thought.

xbian@xbian /var/log/apt $ more history.log
xbian@xbian /var/log/apt $ sudo more term.log
Reference URL's