Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread Christian Brabandt
On Fr, 23 Nov 2018, Tony Mechelynck wrote: > On Thu, Nov 22, 2018 at 9:21 PM Gary Johnson wrote: > > > > On 2018-11-22, tu...@posteo.de wrote: > > > Hi, > > > > > > from time to time I have to edit a python file, which > > > is stored on the 2M flash memory on a microcontroller > > > board. >

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread Gary Johnson
On 2018-11-23, Tony Mechelynck wrote: > On Thu, Nov 22, 2018 at 9:21 PM Gary Johnson wrote: > > > > On 2018-11-22, tu...@posteo.de wrote: > > > Hi, > > > > > > from time to time I have to edit a python file, which > > > is stored on the 2M flash memory on a microcontroller > > > board. > > > > >

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread Tony Mechelynck
On Thu, Nov 22, 2018 at 9:21 PM Gary Johnson wrote: > > On 2018-11-22, tu...@posteo.de wrote: > > Hi, > > > > from time to time I have to edit a python file, which > > is stored on the 2M flash memory on a microcontroller > > board. > > > > To avoid unneccassary write cycles to the flash (flash

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread Gary Johnson
On 2018-11-22, tu...@posteo.de wrote: > Hi, > > from time to time I have to edit a python file, which > is stored on the 2M flash memory on a microcontroller > board. > > To avoid unneccassary write cycles to the flash (flash wear out) > I want to disable backup and swapfile in such a case. > >

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread arocker
> 2018-11-22 19:16 GMT+01:00, tu...@posteo.de : >> To avoid unneccassary write cycles to the flash (flash wear out) >> I want to disable backup and swapfile in such a case. Is it technically impossible to copy the file to a work directory, edit it, and write back the edited result? That might

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread tuxic
On 11/22 07:41, Kit wrote: > 2018-11-22 19:16 GMT+01:00, tu...@posteo.de : > > To avoid unneccassary write cycles to the flash (flash wear out) > > I want to disable backup and swapfile in such a case. > > How can I acchieve this trick? > > > > Meino > >

Re: Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread Kit
2018-11-22 19:16 GMT+01:00, tu...@posteo.de : > To avoid unneccassary write cycles to the flash (flash wear out) > I want to disable backup and swapfile in such a case. > How can I acchieve this trick? > > Meino https://medium.com/@Aenon/vim-swap-backup-undo-git-2bf353caa02f $ mkdir ~/tmp

Noswap and Nobackup when editing python on a specific device (mounted) on Linux

2018-11-22 Thread tuxic
Hi, from time to time I have to edit a python file, which is stored on the 2M flash memory on a microcontroller board. To avoid unneccassary write cycles to the flash (flash wear out) I want to disable backup and swapfile in such a case. And to ensure both are switched off even if I have