[linux-lvm] Migrating to an LVM system (boot/root) disk
Luca Berra
bluca at comedia.it
Mon Jun 4 23:28:45 UTC 2001
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.
L.
--
Luca Berra -- bluca at comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
More information about the linux-lvm
mailing list