DF and Mtab problem

Discussion in 'TiVo Series 1 - UK' started by RichardJH, Oct 8, 2007.

  1. RichardJH

    RichardJH New Member

    1,195
    0
    Oct 7, 2002
    Hanworth....

    Advertisements

    I have a problem where I get errors when I use the info screen in TW 2.0.
    I have been advised about the issue as below


    What I don't know is how I can create the symlink from /etc the same as I have on my 100% working Tivo
     
  2. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    From memory: a symlink can be created between files with the command 'ln -s': ln -s <OriginalFile> <NewFile>

    For example,

    ln -s /etc/mtab/FileA /var/hack/FileA

    Directories need the -d:

    ln -d -s /etc/mtab /var/hack/mtab
     
  3. RichardJH

    RichardJH New Member

    1,195
    0
    Oct 7, 2002
    Hanworth....

    These are the files on my Tivo2 and I have highlighted in bold the file that seems to be missing on my Tivo1.

    How do I write or copy the symlink file onto Tivo1
     
  4. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    /var/mtab is a file on my TiVo, so:

    Log into Tivo1.

    mount -o remount,rw
    cd /etc
    ln -s /var/mtab
    mount -o remount,ro

    Then you can check with:

    ls -l /etc
     
  5. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...

    Advertisements

    also to test, type

    df

    I get:
    Code:
    Filesystem         1024-blocks  Used Available Capacity Mounted on
    /dev/hda7             126911   31193    89165     26%   /
    /dev/hda9             126911   41331    79027     34%   /var
     
  6. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    I'm going offline now - others feel free to jump in!
     
  7. RichardJH

    RichardJH New Member

    1,195
    0
    Oct 7, 2002
    Hanworth....
    Well done Colin that has fixed the problem :up: :up: :up: :up: :up: :up: :up:

    It was something that was niggling me for a long time
     

Share This Page

spam firewall

Advertisements