Re: [gentoo-user] Re: OT: cleanup after USB backup drive unplugged?

2018-01-12 Thread Neil Bothwick
On Fri, 12 Jan 2018 16:42:25 +, Wols Lists wrote: > Dunno quite how it works, but you could automate everything through > udev. When I stick something in, KDE offers to mount it for me, in > /run/media/$USER/abcd-efgh. > > I think that last bit is unique to the media, and the same every

[gentoo-user] Re: OT: cleanup after USB backup drive unplugged?

2018-01-12 Thread Grant Edwards
On 2018-01-12, Wols Lists wrote: > On 12/01/18 15:39, Grant Edwards wrote: I usually also include a check to ensure that some file/directory exists which I expect to be on the drive, which prevents the backup script from dumping a full backup into your

Re: [gentoo-user] Re: OT: cleanup after USB backup drive unplugged?

2018-01-12 Thread Wols Lists
On 12/01/18 15:39, Grant Edwards wrote: >> I usually also include a check to ensure that some file/directory >> > exists which I expect to be on the drive, which prevents the backup >> > script from dumping a full backup into your mountpoint if it isn't >> > mounted (possibly on a filesystem with

[gentoo-user] Re: OT: cleanup after USB backup drive unplugged?

2018-01-12 Thread Grant Edwards
On 2018-01-12, Rich Freeman wrote: > On Fri, Jan 12, 2018 at 6:39 AM, Mick wrote: >> On Friday, 12 January 2018 09:58:17 GMT Adam Carter wrote: >>> >>> Pretty sure you'd risk filesystem corruption by not umounting >>> before you remove the device.