Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 14:57:31 +0200 (CEST)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Luigi Rizzo <luigi@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/picobsd/mfs_tree/etc rc
Message-ID:  <200106211257.OAA49450@info.iet.unipi.it>
In-Reply-To: <xzppubyywik.fsf@flood.ping.uio.no> from Dag-Erling Smorgrav at "Jun 21, 2001 12:09:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> >   This must have to do with the use of devfs in -CURRENT, but i
> >   have no idea when the devfs is actually mounted (is it a
> >   side effect of mount -t nonfs or what ?) and when /dev/fd0c becomes
> >   available.
> 
> If devfs is available, /dev is mounted by init(8) as one of the first
> things it does in the boot process (before running rc scripts or
> starting a single-user shell), and /dev/fd0c becomes available the
> moment you try to access it (provided the kernel found and attached a
> floppy drive, and there's a disk in it).

ok, i see something strange here. As you mention, devfs is
mounted on startup, but then i see only the /dev/fd0 entry
in it. Apparently, entries such as fd0a and fd0c are created
when you try to access them e.g. with an "ls /dev/fd0c".
However, somehow the first call to mount fails:

    # mount -o rdonly /dev/fd0c /fd
    mount: /dev/fd0c: No such file or directory

    # mount -o rdonly /dev/fd0c /fd

whereas the second one succeeds. Would it mean that the fd0c entry
is created, but somehow it returns an error to mount ? (and in
case, should this be fixed) ?

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, luigi@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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