All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] '/etc/init.d/lvm' script in debian package
@ 2000-12-20  9:29 Gergely Tamas
  2000-12-20 21:40 ` Russell Coker
  0 siblings, 1 reply; 18+ messages in thread
From: Gergely Tamas @ 2000-12-20  9:29 UTC (permalink / raw)
  To: linux-lvm

Hi!

Some notes to the /etc/init.d/lvm script in the debian packages ...

1] --- it would be better to add '-a ! -d /proc/lvm' as shown bellow,
       becouse in in the newer versions '/proc/lvm' is a directory
       (but what if compiled without /proc/lvm info...)

if [ ! -f /proc/lvm -a ! -d /proc/lvm ]; then
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ was: '[ ! -f /proc/lvm ]; then'

	if [ ! -f /lib/modules/`uname -r`/block/lvm.o -a ! -f /lib/modules/`uname -r`/block/lvm-mod.o ]; then
		exit 0
	fi
fi
---

2] --- I still think that an init.d script should display a usage help as
       default

case "$1" in
	start)
        ^^^^^^ was: 'start|"")'

		echo "Setting up LVM Volume Groups..."
		#/sbin/vgscan
		/sbin/vgchange -a y
		;;

Thanks,
Gergely

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2000-12-24  5:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-20  9:29 [linux-lvm] '/etc/init.d/lvm' script in debian package Gergely Tamas
2000-12-20 21:40 ` Russell Coker
2000-12-20 22:21   ` Claudio Matsuoka
2000-12-20 23:08     ` Andreas Dilger
2000-12-20 23:29       ` [linux-lvm] IOP selection scripts (was: '/etc/init.d/lvm' script in debian package) Claudio Matsuoka
2000-12-21  0:34         ` Andreas Dilger
2000-12-21 10:28           ` Claudio Matsuoka
2000-12-21 22:06             ` Andreas Dilger
2000-12-21 23:06               ` Claudio Matsuoka
2000-12-22  1:38                 ` Andreas Dilger
2000-12-22 10:13                   ` Claudio Matsuoka
2000-12-22 18:12                     ` [linux-lvm] IOP selection scripts Andreas Dilger
2000-12-21  8:37   ` [linux-lvm] '/etc/init.d/lvm' script in debian package Gergely Tamas
2000-12-21  9:04     ` Patrick Caulfield
2000-12-21  9:43       ` Gergely Tamas
2000-12-22 18:23         ` Russell Coker
2000-12-24  5:12           ` Andreas Dilger
2000-12-21  9:44     ` Claudio Matsuoka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.