You are reading a single comment by @aggi and its replies. Click here to read the full conversation.
  • I have an annoying issue that I keep bumping into that I suspect has a simple solution (I'm guessing I screwed something up somewhere).

    I have a number of folders on a Windows machine mounted using /etc/fstab. Generally all works fine but every so often they don't all mount properly (I suspect it's when I've had a powercut or similar and the linux machine boots up before the windows one).

    Linux machine auto-downloads various stuff and uses those mounted folders to save it to the network. When the mount isn't working it just saves the files to the raspberry pi (the same folder that is normally mounted) and swiftly fills up the SD card. How do I stop this happening? Downloading is generally happening on sabnzbd

  • You could make the directory read-only on the underlying FS, so the write will always fail unless the mount has succeeded.

About

Avatar for aggi @aggi started