PERFORCE change 82807 for review

soc-saturnero soc-saturnero at FreeBSD.org
Mon Aug 29 23:14:07 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=82807

Change 82807 by soc-saturnero at soc-saturnero_sberta on 2005/08/29 23:13:12

	Use -o readonly in mdconfig

Affected files ...

.. //depot/projects/soc2005/freesbie/conf/rc.d/uzip#3 edit

Differences ...

==== //depot/projects/soc2005/freesbie/conf/rc.d/uzip#3 (text+ko) ====

@@ -18,7 +18,7 @@
 	if [ -f ${loopfs} ]; then
 	    filename=${loopfs#/uzip/}
 	    mountpoint=/${filename%.uzip}
-	    device=/dev/$(mdconfig -a -t vnode -f $loopfs)
+	    device=/dev/$(mdconfig -a -t vnode -o readonly -f $loopfs)
 	    sleep 1
 	    if [ -c ${device} ]; then
 		mount -r ${device}.uzip ${mountpoint}


More information about the p4-projects mailing list