On Fri, Jul 28, 2017 at 07:19:26PM +0800, Eryu Guan wrote: > > -# > > -# Filtering of Irix character hwgraph device names > > -# e.g. > > -# chardev: /hw/node/xtalk/15/pci/0/scsi_ctlr/0/target/1/lun/0/disk/partition/4/char > > -# blkdev: /dev/dsk/dks0d1s4 > > -# > > -_filter_devchar() > > -{ > > - $AWK_PROG ' > > - /\/hw\/node/ { > > - sub(/\/hw.*scsi_ctlr\//,"/dev/dsk/dks") # blah blah /dev/dsk/dks0/target/1/.... > > - sub(/\/target\//,"d") # blah blah /dev/dsk/dks0d1/lun/0/disk..... > > - sub(/\/lun.*partition\//,"s") # blah blah /dev/dsk/dks0d1s4/char > > - sub(/\/char/,"") # blah blah /dev/dsk/dks0d1s4 > > - } > > - { print } > > - ' > > -} > > - > > > > # > > # Filter out the non-deterministic dump msgs from > > @@ -824,7 +803,6 @@ _filter_devchar() > > # > > _dump_filter_main() > > { > > - _filter_devchar |\ > > I added this _filter_devchar function back as xfs/061 needs it, > otherwise it fails like: > > -xfsrestore: volume: /dev/dsk/dks0d2s1 > +xfsrestore: volume: /hw/node/io/gio/hpc/scsi_ctlr/0/target/2/lun/0/disk/partition/1/char > > I think this is the safest and easiest thing to do at this moment. > Okay, that's fine for now. Thanks for testing! Eric -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html