D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Offline Files in Linux

 

<3da2fc64d2b1033302e829664fae98b6@localhost> 
<0338986BDE0146C7918B6257E93ACDD4@DavidS>
Message-ID: <75f771b83efdfde4b7f933760c086309@localhost>
X-Sender: dclug@xxxxxxxxxxxx
Received: from host81-158-74-19.range81-158.btcentralplus.com [81.158.74.19]
        with HTTP/1.1 (POST); Sun, 24 May 2009 14:45:34 +0100
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit


On Sun, 24 May 2009 12:08:05 +0100, "Dave" <dave@xxxxxxxxxxxx> wrote:
> Grant/James,
> 
> Thanks for the suggestions and I shall give them a try.
> 
> Another way I thought of possibly achieving this would be to have the
> 'Master' Directory as a Symbolic link which I can switch between the
> Mounted
> and Local Drives as I go on and off line and then use Unison to do the
> Syncing between the two.
> 
> Going your route or mine the other issue is how I can do this
> automatically
> when the Network becomes available/unavailable (I'm thinking Run Levels
> here
> possibly?).
> 
> Regards,
> Dave.

You could write a small script that check various network settings and runs
when the network is brought up (ie put it under /etc/network/if-up.d).

Grant.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html