Commit Graph

21 Commits

Author SHA1 Message Date
haad 425cc847f0 Create default target_params parse routine which is called when we doesn't
find name of a target in known target list. This routine will pass whole param
string in a dictionary with key called params.
2009-06-09 18:29:09 +00:00
haad 869a99f661 Add const to second argument of nbsd_dm_parse_param, too. 2009-06-09 18:24:02 +00:00
haad b05bf051db Bump libdevmapper minor number, because of ioctl protocol change. 2009-06-05 20:11:21 +00:00
haad 3deb22c2eb Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.

XXX. Add more sanity checks in kernel.
2009-06-05 19:57:25 +00:00
haad 526dfe53d4 Merge conflicts and NetBSD local changes. 2009-02-18 12:16:13 +00:00
haad bec4d750d4 Import new lvm2tools 2.02.44 version and libdevmapper 1.02.30. 2009-02-18 11:16:14 +00:00
haad cdcbc2b421 Add xen xbd device to disk device filtering list, this will enable using of lvm
under the DomU.
2009-01-30 09:59:46 +00:00
haad bc57e405be Link cvs staticaly and and -ledit and -ltermcap to linking libraries. 2009-01-13 22:38:00 +00:00
ahoka 6930e04bce Disable stack protector warning when USE_SSP=yes. 2009-01-13 22:33:05 +00:00
christos c42a4332d6 bump versions for time_t 2009-01-11 22:42:39 +00:00
haad 0501d89c35 Remove error prints which are not fatal on NetBSD. 2009-01-06 23:21:16 +00:00
haad 7f1b6ba871 Link with -ledit, too so we can use readline support which is used for
lvm shell.
2008-12-24 02:11:53 +00:00
haad 3660eb0b59 Enable readline support which is defined by editline in the NetBSD. 2008-12-24 02:10:56 +00:00
agc 10c0eb9360 Don't set up a symbolic link between dmsetup.8 and dmsetup.1 (and
associated cat and html pages) - just use the section 8 man page
for just now.
2008-12-22 18:13:30 +00:00
haad ede2f9031c LIBDM_SRCDIR now points to lvm2/lib/libdevmapper don't need to specify
lib/libdevmapper again.
2008-12-22 01:56:22 +00:00
haad 1c5ab99701 Fix building o lvm binary LVM2TOOLS_* was changed to LVM2_*. 2008-12-22 01:51:44 +00:00
haad 9c9642a3f6 Fix build of liblvm LVM2TOOLS_* was changed LVM2_*. 2008-12-22 01:48:58 +00:00
haad 719394c69f Add NetBSD protocol description header file. Libdevmapper is now buildable
without kernel sources.
2008-12-22 01:48:10 +00:00
haad 2b943ea665 Add reachover Makefiles to build LVM2 tools on NetBSD. 2008-12-22 00:57:58 +00:00
haad c6f73bb88c Add NetBSD bits to the original LVM2 tools sources. 2008-12-22 00:56:58 +00:00
haad 56a3493941 Import of lvm2tools 2.03.43 and libdevmapper 1.02.29. Needed to fix
haad-dm merge, because current lvm2tools sources are broken and will be
removed.
2008-12-22 00:17:35 +00:00