All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] init script 'command not found error'
@ 2017-05-02  1:43 Sen Han
  0 siblings, 0 replies; only message in thread
From: Sen Han @ 2017-05-02  1:43 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

Recently we got some error say 'pvcreate: command not found error' in our
init script. Turns out to be the pvcreate, and other commands like
vgcreate, are just sym links to the command 'lvm'.
And the symlink at the init script phase are not available yet.

Actually, pvcreate, pvremove, lvdisplay, pvdisplay are all just symlinks to
lvm.
seems it directly links to a subcommand,
such as 'pvcreate' is equivalent to 'lvm pvcreate'.

Is there documentation about how these symlinks works? such as how they are
generated etc. Like a link to the source repo,

is it safe to replace pvcreate with 'lvm pvcreate' in my script?

[-- Attachment #2: Type: text/html, Size: 718 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-02  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02  1:43 [linux-lvm] init script 'command not found error' Sen Han

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.