[Pkg-sysvinit-devel] Bug#518463: initscripts: skip live specific file systems

Daniel Baumann daniel at debian.org
Wed Jun 3 08:30:24 UTC 2009


Kel Modderman wrote:
> How about something like:
> + /filesystem*|/live*)
> + # used by live-initramfs
> + continue
> + ;;

looks good.

>> in the second replace, we also add '/' so that $REG_MTPTS is never
>> empty. it would be nice if you can make the whole unmounting of local
>> filesystems conditional, so that the script doesn't try to do anything
>> when there's nothing to unmount.
> 
> I do not know why adding / to REG_MTPTS helps. What is the rationale for it?

if $REG_MTPTS is empty, the script fails with an error.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



More information about the Pkg-sysvinit-devel mailing list