Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/rc/bin/iso/mnt

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# mount an ISO image of a CD on /n/iso
#  Tue Nov 16 06:56:43 EST 2004 Peter A. Cejchan <cej@gli.cas.cz | pac7@post.cz | pac@plan9.cz>

kill 9660srv | rc
9660srv  >/dev/null </dev/null >[2]/dev/null
if(! test -d /n/iso)
	{mkdir /n/iso}
unmount /n/iso >[2]/dev/null
if (!  mount -c /srv/9660  /n/iso  /usr/pac/cd.iso)
	{echo  ERROR MOUNTING CD}
#
# -eof-

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.