[linux-lvm] IOP selection scripts (was: '/etc/init.d/lvm' script in debian package)

Claudio Matsuoka claudio at conectiva.com
Fri Dec 22 10:13:30 UTC 2000

On Thu, 21 Dec 2000, Andreas Dilger wrote:

> Claudio writes:
> > On Thu, 21 Dec 2000, Andreas Dilger wrote:
> > > Why not simply install it as one of the commands (e.g. vgscan) and make
> > > hard links to it.  Hard links don't even take up inodes - only directory
> > > entries.
> > 
> > Uhm.. yes, why not?
> If you have a symlink with a short path (e.g. vgscan -> lvm-wrapper)
> the string "lvm-wrapper" gets stored directly in the inode (for ext2 at
> least), and is called a "fast symlink".  For longer targets (> 56 bytes I
> think), the inode allocates a filesystem block to store the new string.
> There is a directory entry for the symlink (in this case "vgscan")
> which points to the symlink inode.

Yes, I know, I was just wondering why I didn't use hardlinks at the first
time ;) I believe the size limit is 60 bytes, IIRC.

BTW -- I'm using 0.9's manpages in lvm-base. Is it safe to assume that 
the tools interfaces won't change in future releases?

More information about the linux-lvm mailing list