freebsd-dev/scripts/zol2zfs-patch.sed
Matthew Ahrens ec009855c4 Add a script to change file names when upstreaming to OpenZFS/illumos
Add a script to change file names when upstreaming to OpenZFS/illumos.

Reviewed-by: Reviewed by: Prashanth Sreenivasa <prashksp@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Ahrens <mahrens@delphix.com>
Closes #5178
2016-09-29 21:01:50 -07:00

21 lines
809 B
Sed
Executable File

#!/bin/sed -f
s:cmd:usr/src/cmd:g
s:include/libzfs.h:usr/src/lib/libzfs/common/libzfs.h:g
s:include/libzfs_core.h:usr/src/lib/libzfs_core/common/libzfs_core.h:g
s:include/sys:lib/libzpool/common/sys:g
s:include/sys:usr/src/uts/common/fs/zfs/sys:g
s:include/sys:usr/src/uts/common/sys:g
s:include/zfs_fletcher.h:usr/src/common/zfs/zfs_fletcher.h:g
s:include:usr/src/common/zfs:g
s:lib/libzfs:usr/src/lib/libzfs/common:g
s:lib/libzfs_core:usr/src/lib/libzfs_core/common:g
s:lib/libzpool:lib/libzpool/common:g
s:lib/libzpool:usr/src/lib/libzpool:g
s:man/man5/zpool-features.5:usr/src/man/man5/zpool-features.5:g
s:man/man8/zfs.8:usr/src/man/man1m/zfs.1m:g
s:module/nvpair:usr/src/common/nvpair:g
s:module/zcommon:usr/src/common/zfs/:g
s:module/zfs:usr/src/uts/common/fs/zfs:g
s:tests/zfs-tests:test/zfs-tests:g