Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 95 14:44:16 EST
From:      jeffa@sybase.com (Jeff Anuszczyk)
To:        exs@sperry.mhs.compuserve.com
Cc:        questions@FreeBSD.org
Subject:   Re: I/O devices; mouse
Message-ID:  <9503101944.AA05908@red_oak.sybgate.sybase.com>

next in thread | raw e-mail | index | archive | help

>  Or something to that effect.  Anyway, no entries for either device are
>  found  in /dev.

You don't find a /dev/tty00 or /dev/tty01?  If not then clearly you
won't be able to access the serial ports.  Take a look at the file
/dev/MAKEDEV.  This is the main script that drives the creation of the
device special files.  You can simply cd /dev and do something like the
following:

	sh ./MAKEDEV tty00

I have to confess it's been a while since i did tty00 so if you take a 
quick look at this script you should see the section for creating tty*
type devices.  Follow the instructions at that point.

Oh yea, if you haven't realize this yet:

	COM1 ==> /dev/tty00
	COM2 ==> /dev/tty01

 
>  If this is not a bug then:

It isn't in so much as failure to have these files will do this.  However,
they are always created when the system gets installed.  So, I'm a bit 
baffled as to why you don't have them.

>  Do these need to be made explicitly?

In your case I guess the answer is yes... via the MAKEDEV script.

>  I did not install /src.  I believe major/minor numbers are out
>  there but...
> 
> I also get an error when trying to mount the CD-ROM drive.
> (FreeBSD 2.0 on CD)
>      mount /dev/cd0a /mnt
> returns the error
>      Can't mount /dev/cd0a on /mnt: ??Invalid or Illegal?? super block
> What might be the problem here?

Yea, CD-ROM's are in 9660 format not UFS filesystems.  You need to 
mount this using either:

	V1.1.5.1:

		mount -t isofs /dev/cd0a /cdrom

	V2.0+:

		mount -t cd9660 /dev/cd0a /cdrom

Have fun,
   Jeff



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