Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 13:32:40 -0700 (PDT)
From:      Scott Flatman <sf@aracnet.com>
To:        Dirk Roehrdanz <Dirk.Roehrdanz@munich.netsurf.de>
Cc:        current@FreeBSD.ORG
Subject:   Re: MAKEDEV warning
Message-ID:  <Pine.BSF.4.21.0004211329370.53070-100000@mephistopheles>
In-Reply-To: <20000420012212.A380@diroxfbsd.dx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Apr 2000, Dirk Roehrdanz wrote:

[ snippage ]

> I get this message too whenever I mount a mfs filesystem.
> The line in /etc/fstab is:
> /dev/da0s1b     /tmp  mfs     rw,async,-s32768        0       0
> 
> The output of "ls -l /dev/*da0s1b" is:
> crw-r-----  1 root  operator   13, 0x00020001 Dec 12 21:09 /dev/da0s1b
> crw-r-----  1 root  operator   13, 0x00020001 Dec 12 21:09 /dev/rda0s1b
> 
> Regards
> Dirk

I also get the same warning when I mount /tmp on an MFS filesystem. I
don't get the warning when I pass the "nodev" option to mount.

/etc/fstab:
/dev/da0s2b  /tmp  mfs  rw,-s131072  0  0
=> warning message

/etc/fstab:
/dev/da0s2b  /tmp  mfs  rw,nodev,-s131072  0  0
=> no warning message

Looking in sys/kern/kern_conf.c at the function udev2dev() gave me the
clue to use "nodev". Not that I understand what's happening or am able
to fix it.

Scott
---
"When repairs are outlawed only outlaws will do repairs."
-- Harry Tuttle (Robert DeNiro) in Brazil.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004211329370.53070-100000>