Chris [EMAIL PROTECTED] writes:
I want to run a script to rsync local files to a NAS mounted to /mnt/music.
Sometimes the NAS is not running, and I want to prevent the script from
writing to the mount directory: is there any easy way to prevent this?
Umount /mnt/music. Run chattr +i
On Thursday 24 Apr 2008, Chris wrote:
mounted as smbfs in fstab
I thought smbfs was unmaintained and that cifs was the better option - anyone?
Chris.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Chris wrote:
that seems like a nice approach. Why do I need to touch the SENTINEL file?
C
Chris,
in the example, you touch the file ONCE to make it exist. Then when you
mount music, it will mask the file. That file will only show up when
your smb mount for music is not mounted.
Andrew Sackville-West wrote:
On Thu, Apr 24, 2008 at 10:18:48PM +0200, Chris wrote:
On Thursday 24 April 2008, Bob McGowan wrote:
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to
/mnt/music. Sometimes the NAS is not running, and I want to prevent the
script
On Friday 25 April 2008, Damon L. Chesser wrote:
Chris wrote:
that seems like a nice approach. Why do I need to touch the SENTINEL
file?
C
Chris,
in the example, you touch the file ONCE to make it exist. Then when you
mount music, it will mask the file. That file will only show up
Hello,
I want to run a script to rsync local files to a NAS mounted to /mnt/music.
Sometimes the NAS is not running, and I want to prevent the script from
writing to the mount directory: is there any easy way to prevent this?
Thanks,
C
--
C. Hurschler
--
To UNSUBSCRIBE, email to [EMAIL
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to /mnt/music.
Sometimes the NAS is not running, and I want to prevent the script from
writing to the mount directory: is there any easy way to prevent this?
Thanks,
C
How are you accessing the NAS?
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to /mnt/music.
Sometimes the NAS is not running, and I want to prevent the script from
writing to the mount directory: is there any easy way to prevent this?
Thanks,
C
if [ -f /mnt/music/somefile ]
then
On Thursday 24 April 2008, Damon L. Chesser wrote:
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to
/mnt/music. Sometimes the NAS is not running, and I want to prevent the
script from writing to the mount directory: is there any easy way to
prevent
On Thursday 24 April 2008, Bob McGowan wrote:
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to
/mnt/music. Sometimes the NAS is not running, and I want to prevent the
script from writing to the mount directory: is there any easy way to
prevent this?
Touch a file on the NAS share with a name such as
NAS.HERE, and in your script check that that file
exists. If it exists, then it's mounted, if not, then
it's not mounted.
Ken
--- Chris [EMAIL PROTECTED] wrote:
On Thursday 24 April 2008, Damon L. Chesser wrote:
Chris wrote:
Hello,
On Thu, Apr 24, 2008 at 10:18:48PM +0200, Chris wrote:
On Thursday 24 April 2008, Bob McGowan wrote:
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to
/mnt/music. Sometimes the NAS is not running, and I want to prevent the
script from writing to
On Friday 25 April 2008, Andrew Sackville-West wrote:
On Thu, Apr 24, 2008 at 10:18:48PM +0200, Chris wrote:
On Thursday 24 April 2008, Bob McGowan wrote:
Chris wrote:
Hello,
I want to run a script to rsync local files to a NAS mounted to
/mnt/music. Sometimes the NAS is not
13 matches
Mail list logo