Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 16:49:08 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Brian Astill <bastill@sa.apana.org.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: incorrect super block on cdrom
Message-ID:  <20010226164908.A92599@itouchnz.itouch>
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 %2B1030
References:  <0102261112260D.00803@PhD_1.testname.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                          "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226164908.A92599>