Re: sbin/init patch, adding chroot feature

看板DFBSD_submit作者時間21年前 (2004/11/20 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
Matthew Dillon <dillon@apollo.backplane.com> wrote: > > :Hi, > : > :The patch below adds a feature to sbin/init that has been > :discussed in the users list recently. > > I like it. It sounds like a reasonable solution to a difficult > problem. > > I will commit your patch minus that warning() call if the env var > doesn't exist. It should not print a warning in that case. It just goes through all of the kenv vars (within the for loop), then simply returns NULL, and main() doesn't do anything. The warnings in my patch only happen if something very unusual happens, e.g. there's no kenv at all, or it contains a malformed variable (no '=' in it) etc. > Could you submit a patch to the manual page to describe the new > feature, too? I will do that on Monday, because now it's weekend, and weekends are reserved for my girl-friend. :-) (Also note that I'm not a native English speaker, so someone will have to go through my manpage patch and correct wording, grammar etc.) Best regards Oliver -- Oliver Fromme, Konrad-Celtis-Str. 72, 81369 Munich, Germany ``All that we see or seem is just a dream within a dream.'' (E. A. Poe)
文章代碼(AID): #11dmVI00 (DFBSD_submit)
文章代碼(AID): #11dmVI00 (DFBSD_submit)