freebsd-dev/scripts
Prakash Surya 37fd6e00a6 Add script to fix file names in upstream patches
Added a simple sed script to do a search and replace on the Illumos
ZFS file names and replace them with the ZFS on Linux equivalent.

Example usage:

    # Replace Illumos paths with Linux paths
    $ ./scripts/zfs2zol-patch.sed arc.c.patch > arc.c.patch.linux

    # Ensure the script worked as expected
    $ diff arc.c.patch arc.c.patch.linux

    # Apply the patch using Linux paths
    $ patch -p1 < arc.c.patch.linux

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1679
2013-10-29 10:30:43 -07:00
..
zpios-profile Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpios-test Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpool-config Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
common.sh.in Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
dkms.mkconf Use requested kernel for dkms builds 2013-03-21 12:51:06 -07:00
dkms.postinst Refresh RPM packaging 2013-03-18 15:33:17 -07:00
kmodtool Add kmod repo integration 2013-08-01 09:48:07 -07:00
Makefile.am Add script to fix file names in upstream patches 2013-10-29 10:30:43 -07:00
smb.sh Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
zconfig.sh Open pools asynchronously after module load 2013-07-03 09:24:38 -07:00
zfault.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zfs2zol-patch.sed Add script to fix file names in upstream patches 2013-10-29 10:30:43 -07:00
zfs.sh Add default stack checking 2011-06-13 13:50:21 -07:00
zpios-sanity.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh build: resolve orthographic and other grammatical errors 2013-04-02 10:44:52 -07:00
zpool-create.sh Add build system 2010-08-31 13:41:27 -07:00