From owner-freebsd-questions Wed Feb 19 15:39:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E118737B401 for ; Wed, 19 Feb 2003 15:39:45 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 322CD43FB1 for ; Wed, 19 Feb 2003 15:39:45 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from gem (anubis.dweebsoft.com [64.81.58.36]) by ra.dweebsoft.com (8.12.6/8.12.6) with SMTP id h1JNdiJu067983 for ; Wed, 19 Feb 2003 15:39:44 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Message-ID: <000901c2d870$2e952be0$140aa8c0@dweebsoft.com> From: "Daxbert" To: Subject: mdconfig, cd9660 and mount -o rw Date: Wed, 19 Feb 2003 15:39:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm aware that under normal circumstances, cd9660 should always be read-only, but I was hoping I'd be able to make changes to an iso image, and then burn the modified image. The image is bootable, and I'm looking to avoid "breaking" the bootable nature of the CD by my inept use of mkisofs. Here's what I've tried... (as root) # chown root:wheel /tmp/mycd.iso # chmod 666 /tmp/mycd.iso # mkdir /mnt/cd # mdconfig -a -t vnode -f /tmp/mycd.iso -u 1 # mount -t cd9660 -o rw /dev/md1 /mnt/cd This works, and /mnt/cd is the iso's filesystem. However, the rw argument is ignored. Any actions which would write to the iso image fail with "Read-only file system". The mount command also shows... /dev/md1 on /mnt/cd (cd9660, local, read-only) Suggestions? or should I just RTFM on mkisofs and bootable CDs --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message