GRUB patch for 'lilo -R' functionality
Hi! I gave a try to your patch for 'lilo -R' functionality in GRUB: http://mail.gnu.org/archive/html/bug-grub/2002-02/msg00151.html it seems to basicaly work, but the --once flag is not honored when running the real grub (I don't know if the problem is in savedefault or in the boot routine itself). Could you review that? If it works, I intend to apply it at least for the Debian package, and possibly for CVS too (if Okuji agrees). For GRUB CVS, though, there's the issue of copyright assignment. Have you assigned copyright for GRUB or been asked about this before? -- Robert Millan "[..] but the delight and pride of Aule is in the deed of making, and in the thing made, and neither in possession nor in his own mastery; wherefore he gives and hoards not, and is free from care, passing ever on to some new work." -- J.R.R.T, Ainulindale (Silmarillion) ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
Re: GRUB patch for 'lilo -R' functionality
> I gave a try to your patch for 'lilo -R' functionality in GRUB: > > http://mail.gnu.org/archive/html/bug-grub/2002-02/msg00151.html > > it seems to basicaly work, but the --once flag is not honored when running > the real grub (I don't know if the problem is in savedefault or in the > boot routine itself). > > Could you review that? If it works, I intend to apply it at least for the > Debian package, and possibly for CVS too (if Okuji agrees). I only changed the behaviour of savedefault when executed within the GRUB-util shell (ie. not GRUB menu mode). I can't think of a scenario where the '--once' semantics would be useful to access from the GRUB menu, so I'm reluctant to 'fix' this behaviour. One other limitation you should be aware of is that '--once' only works if the stage2 file is accessible via a currently-mounted filesystem at /boot/grub/stage2. So, for example, if your stage2 is on a filesystem that is not mounted, or is mounted somewhere completely different, the '--once' flag will not work. If the patch will make it to the main tree then I may investigate fixing this issue --- I suspect it wouldn't be too hard. > For GRUB CVS, though, there's the issue of copyright assignment. Have you > assigned copyright for GRUB or been asked about this before? I sent back a questionnaire to the FSF lawyer(s) some time ago, but copyright assignment forms have not been forthcoming. I'll send them a chasing email right now -- Keir ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
Re: GRUB patch for 'lilo -R' functionality
> I only changed the behaviour of savedefault when executed within the > GRUB-util shell (ie. not GRUB menu mode). I can't think of a scenario > where the '--once' semantics would be useful to access from the GRUB > menu, so I'm reluctant to 'fix' this behaviour. > > One other limitation you should be aware of is that '--once' only > works if the stage2 file is accessible via a currently-mounted > filesystem at /boot/grub/stage2. So, for example, if your stage2 is on > a filesystem that is not mounted, or is mounted somewhere completely > different, the '--once' flag will not work. I'll just add that the patch as it stands is sufficient to provide 'lilo -R' functionality for the vast majority of GRUB setups. After all, most people do have their GRUB menu and stage2 files permanently mounted under /boot/grub/. That given, I use a small script which executes the appropriate grub-shell command in batch mode: e.g. (to be executed as root! (e.g. 'setgrubdef 2')) #!/bin/sh echo "Setting to" $1 grub --batch /dev/null savedefault --default=$1 --once quit EOT -- Keir ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
Re: GRUB patch for 'lilo -R' functionality
On Tue, Nov 11, 2003 at 06:44:21PM +, Keir Fraser wrote: > > I only changed the behaviour of savedefault when executed within the > GRUB-util shell (ie. not GRUB menu mode). I can't think of a scenario > where the '--once' semantics would be useful to access from the GRUB > menu, so I'm reluctant to 'fix' this behaviour. I think there's a missunderstanding here. savedefault itself is only meaningful in the context of the menu. The problem I noticed is that while "savedefault --default=X" affects the GRUB menu, the "--once" argument has no effect. I.e: once you run savedefault it won't be restored to 0 after the next GRUB run. > If the patch will make it to the main tree then I may investigate > fixing this issue --- I suspect it wouldn't be too hard. Okuji should pronounce on this, but I don't think the patch should be commited untill "--once" is fixed. -- Robert Millan "[..] but the delight and pride of Aule is in the deed of making, and in the thing made, and neither in possession nor in his own mastery; wherefore he gives and hoards not, and is free from care, passing ever on to some new work." -- J.R.R.T, Ainulindale (Silmarillion) ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
Re: GRUB patch for 'lilo -R' functionality
> > I only changed the behaviour of savedefault when executed within the > > GRUB-util shell (ie. not GRUB menu mode). I can't think of a scenario > > where the '--once' semantics would be useful to access from the GRUB > > menu, so I'm reluctant to 'fix' this behaviour. > > I think there's a missunderstanding here. savedefault itself is only > meaningful in the context of the menu. The problem I noticed is that while > "savedefault --default=X" affects the GRUB menu, the "--once" argument has > no effect. I.e: once you run savedefault it won't be restored to 0 after the > next GRUB run. Yes, clearly there is a misunderstanding! Without my patch it is indeed the case that savedefault has no meaning outside the GRUB menu script. It's only use in that context is to cause GRUB to default to "what you last picked". My patch makes savedefault useful in the context of the GRUB shell. Specifying --once to savedefault in the GRUB shell will cause teh following behavior: 1. The specified default will be used on next boot. 2. Any specified timeout will be ignored on next boot (i.e. the menu won't even be displayed). 3. After next boot, the above behaviour will be disabled until next use of savedefault --once from GRUB shell. The above semantics isn't even useful from the GRUB menu script -- it would simply cause GRUB to continually boot straight into the same 'default' again and again; and never again display the menu (think about it). Maybe I should have created a new command name instead of confusingly overloading savedefault in this way. :-( In fact, I think adding a new command, useable only from GRUB shell, would be quite easy. -- Keir ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
Коммерческому директору lqek
Уникальная возможность всего за неделю узнать все технологии, необходимые для эффективной работы коммерческого директора! Для решения конкретных задач, стоящих перед каждым коммерческим директором, мы собрали прикладные технологии и инструменты, объединив их в программу недельного специализированного семинара-практикума: ПРАКТИЧЕСКИЙ КУРС ДЛЯ КОММЕРЧЕСКОГО ДИРЕКТОРА 17 - 23 ноября 2003 г. Чтобы получить подробную информацию или программу курса, позвоните по тел. (095) 258-51-85 Данный курс носит исключительно практическую направленность и позволяет коммерческому директору получить конкретные прикладные способы, технологии и методики не только для оптимизации текущей коммерческой деятельности компании, но и для определения долговременной стратегии развития продаж. В программе: · оптимизация сбытовой деятельности и сбытовой структуры компании · стратегическое планирование продаж · способы захвата новых рынков и ведения маркетинговых войн · управленческий учет и бюджетное планирование в деятельности коммерческого директора · бизнес-планы коммерческого отдела · создание устойчивой позиции на рынке · оптимизация внутреннего документооборота · взаимоотношениями с потребителями · управление товарными запасами и складская логистика · ценовая политика, ценовые войны · управление персоналом, подбор персонала · разработка систем стимулирования сотрудников отделов сбыта Семинар проходит в интенсивной интерактивной форме. Участники разберут упражнения и выполнят практические задания не только на предложенных авторами кейсах, но и на примере своей компании. Помимо методического пособия и рабочей тетради, участники получат в подарок: - Альбом материалов по темам, не включенным в программу курса, но полезным для работы на CD-диске; - Набор книг "Библиотека коммерческого директора", составленный по рекомендациям авторов курса. Программа обучения рассчитана на 7 дней (56 часов). ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
http://www.toti.com.tr/kampanya_haziran.htm
http://www.toti.com.tr/kampanya_haziran.htm Adresini Tıklatın 100'lerce bilgisayar modeli bir arada Telefonla bilgi için : (212) 543 ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd