From owner-freebsd-questions Sun Feb 25 19:49:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 67DED37B491 for ; Sun, 25 Feb 2001 19:49:46 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f1Q3n8392908; Mon, 26 Feb 2001 16:49:08 +1300 (NZDT) (envelope-from jonc) Date: Mon, 26 Feb 2001 16:49:08 +1300 From: Jonathan Chen To: Brian Astill Cc: freebsd-questions@freebsd.org Subject: Re: incorrect super block on cdrom Message-ID: <20010226164908.A92599@itouchnz.itouch> References: <0102261112260D.00803@PhD_1.testname.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <0102261112260D.00803@PhD_1.testname.com.au>; from bastill@sa.apana.org.au on Mon, Feb 26, 2001 at 11:01:00AM +1030 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 26, 2001 at 11:01:00AM +1030, Brian Astill wrote: > I inserted my FreeBSD 4.2 CD into my CD drive, and as root entered: > > mount /dev/acd0c /cdrom > > the response was: > > mount: /dev/acd0c /cdrom: incorrect super block > > why? Because you're doing a manual mount that doesn't consult /etc/fstab; and if you don't specify a type, it will assume it to be `ufs'. To mount it correctly, you should use: mount -t cd9660 /dev/acd0c /cdrom > /etc/fstab lists: > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > so unless fstab is itself incorrect (and I haven't altered it manually), my > mount instruction would seem correct. ?? > > Strangely, the command "mount /cdrom" worked !! In this case, /etc/fstab *is* consulted and the type has been specified to be `cd9660'. -- Jonathan Chen ---------------------------------------------------------------------- "Opportunity does not knock, it presents itself when you beat down the door" - W.E. Channing To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message