[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: