On Tue, Jun 05, 2001 at 01:28:45AM +0200, Luca Berra wrote:
> On Tue, Jun 05, 2001 at 03:15:54AM +0400, Michael Tokarev wrote:
> > So basename also should be placed to initrd? ;) I think that
> > problem should be resolved at a first place (in mkinitrd), not
> > by putting numerous workarounds all other the place.
> > BTW, bash have nice construct ${var##*/} to be used instead of
> > basename, and it works *much* faster (also ${var%/*} for dirname
> > etc).
> naw it ain't bash, luckily thass a posix construct
> please use parameter expansion instead of basename/dirname
> in any script.
Hmm...that's pretty nice. I'll put that in the next revision of the
packages i put together for LVM. If I don't, someone smack me please.
Regards,
--
AJ Lewis
Sistina Software Inc. Voice: 612-638-0500
1313 5th St SE, Suite 111 Fax: 612-638-0500
Minneapolis, MN 55414 E-Mail: lewis sistina com
http://www.sistina.com
Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B 52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
(Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)
-----Begin Obligatory Humorous Quote----------------------------------------
To know recursion, you must first know recursion.
-----End Obligatory Humorous Quote------------------------------------------
Attachment:
pgp00004.pgp
Description: PGP signature