SDLOOP(3)                                               SDLOOP(3)

     NAME
          sdloop - loopback storage device interface

     SYNOPSIS
          bind -a #S /dev
          echo config switch on spec l type loop/path[!sectsize] >/dev/sdctl

          /dev/sdl0/ctl
          /dev/sdl0/raw
          /dev/sdl0/data
          ...

     DESCRIPTION
          Sdloop allows a file to be used as a sd device.  To config-
          ure /tmp/data as sdl0: with a 1024-byte sector size

               echo config switch on spec l type loop//tmp/data!1024 >/dev/sdctl

          To turn this device off,

               echo config switch off spec l >/dev/sdctl

          The configuration variable loopdev may be specified in
          plan9.ini(8) to configure a loopback sd device at boot.  For
          example

               loopdev=l!/tmp/data!1024

     SOURCE
          /sys/src/9/port/sdloop.c

     SEE ALSO
          sd(3), sdaoe(3), partfs(8)

     BUGS
          Maybe.