Re: [leaf-devel] Delayed umount

2016-03-31 Thread Erich Titl
Am 31.03.2016 um 10:47 schrieb Andrew: > It just blocks killing on console logout (IMHO it'll be bad if all > remains mounted after logout) sure . It oesn't hurt TERM/KILL signals. Tests have shown problems for some reason. normal background operation works fine. cheers ET -

Re: [leaf-devel] Delayed umount

2016-03-31 Thread Andrew
It just blocks killing on console logout (IMHO it'll be bad if all remains mounted after logout). It oesn't hurt TERM/KILL signals. 31.03.2016 11:35, Erich Titl пишет: > Am 31.03.2016 um 10:30 schrieb Andrew: >> 31.03.2016 01:32, Erich Titl пишет: >>> Am 30.03.2016 um 17:20 schrieb Andrew: 3

Re: [leaf-devel] Delayed umount

2016-03-31 Thread Erich Titl
Am 31.03.2016 um 10:30 schrieb Andrew: > 31.03.2016 01:32, Erich Titl пишет: >> Am 30.03.2016 um 17:20 schrieb Andrew: >>> 30.03.2016 17:17, Erich Titl пишет: ... > Command can push itself in background. Something like this: > > if [ "$1" == "--nofork" ]; then > umount all fs here > else >

Re: [leaf-devel] Delayed umount

2016-03-31 Thread Andrew
31.03.2016 01:32, Erich Titl пишет: > Am 30.03.2016 um 17:20 schrieb Andrew: >> 30.03.2016 17:17, Erich Titl пишет: > ... >>> There are a few drawbacks with the invocation >>> >>> - umount_delayed must be pushed to the background to terminate >> it may call itself with some parameter (that indicate

Re: [leaf-devel] Delayed umount

2016-03-30 Thread Erich Titl
Am 30.03.2016 um 17:20 schrieb Andrew: > 30.03.2016 17:17, Erich Titl пишет: ... >> >> There are a few drawbacks with the invocation >> >> - umount_delayed must be pushed to the background to terminate > it may call itself with some parameter (that indicates that it's fork) > and if parameter is p

Re: [leaf-devel] Delayed umount

2016-03-30 Thread Andrew
30.03.2016 17:17, Erich Titl пишет: > Hi Folks > > I am not convinced this is necessary but it does not hurt, so I added > another function to mount_modules to allow delayed umount > > Tests show > > SALT# mount_modules > SALT# umount_modules > SALT# mount_modules > SALT# umount_delayed & > SALT# m

[leaf-devel] Delayed umount

2016-03-30 Thread Erich Titl
Hi Folks I am not convinced this is necessary but it does not hurt, so I added another function to mount_modules to allow delayed umount Tests show SALT# mount_modules SALT# umount_modules SALT# mount_modules SALT# umount_delayed & SALT# mount_modules SALT# umount_delayed & [1]- Terminated