"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/34-av.sh" (4 Jul 2015, 433 Bytes) of archive /linux/misc/aoe-aoe6-86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 f=linux/drivers/block/aoe/aoeblk.c
    2 
    3 # 34 becomes not applicable when 21 moved the sources to the gd state
    4 # (It's conf/21 in Nov 2010, but it could get renumbered someday.)
    5 gd="`fgrep 'static ssize_t aoedisk_show_netif(struct gendisk *disk, char *page)' $f`"
    6 test "$gd" && { echo skip; exit 0; }
    7 
    8 owner="`sed -n '/\.attr = {/{p;n;p;n;p;n;p;n;p;}' $f | fgrep '.owner = THIS_MODULE,'`"
    9 test "$owner" && { echo old; exit 0; }
   10 
   11 echo new