3 sdloop \- loopback storage device interface
7 .BI "echo config switch on spec " l " type loop/\fIpath\fP[!\fIsectsize\fP] >/dev/sdctl"
16 allows a file to be used as a sd device.
21 with a 1024-byte sector size
24 echo config switch on spec l type loop//tmp/data!1024 >/dev/sdctl
27 To turn this device off,
30 echo config switch off spec l >/dev/sdctl
33 The configuration variable
37 to configure a loopback
39 device at boot. For example
42 loopdev=l!/tmp/data!1024
45 .B /sys/src/9/port/sdloop.c