Hmm, not a proven solution, but how about doing a loop mount read only onto
the mount point?

Andy

On Fri, Oct 24, 2014 at 2:41 PM, Tilghman Lesher <tilgh...@meg.abyt.es>
wrote:

> I have an issue for which I haven't been able to come up with a good
> solution.  We have a backup solution whereby multiple disks, attached
> via USB, are used for backups.  Normally, those disks are mounted
> automatically with udev, so backups can proceed normally.  The problem
> comes in when the disks are not attached, and the backup process runs,
> writing to the same directory, which fills up the root disk.
>
> What I'd like to have is the ability to designate specific directories
> as mount-only and deny all writes to those directories, if the disk
> normally mounted there is missing.  Any ideas on how to do something
> like this?  Currently, we're using the workaround of removing the
> mount point when the disk is unmounted, but that tends to be fragile,
> as we've already found out (where a directory didn't get removed and
> the root disk was filled).
>
> --
> Tilghman
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to