Label question...why does ufs label vanish on mount?
Kevin Oberman
oberman at es.net
Tue Oct 12 21:07:38 UTC 2010
> Date: Tue, 12 Oct 2010 14:09:07 -0600 (MDT)
> From: Warren Block <wblock at wonkity.com>
>
> On Tue, 12 Oct 2010, Jeremy Chadwick wrote:
>
> > On Tue, Oct 12, 2010 at 11:51:00AM -0700, Kevin Oberman wrote:
> >> For some reason the /dev/ufs/label entry that geom creates for every UFS
> >> formatted partition is deleted when the device is mounted.
>
> Not here.
Thanks! You have pointed me away from a bogus assumption that was held
over from V7. I have confirmed that, when a UFS device is mounted under
the /dev/ufs/label, the entry stays.
The problem is different on V8, but presents itself in the same way. The
problem is that every mount and umount of a UFS file system causes a
devd event for the CREATE of /dev/da0s2d. Never a DESTROY, but a CREATE
every time I either mount or umount the device. So the real issue is
"Why is there a devd CREATE whenever the device is mounted or unmounted
by the /dev/ufs entry. I just tried an msdosfs system and no create of
the hardware device.
So the real question is "Why is there a devd create for the hardware
device (e.g. /dev/da0s2d). I suspect this is related to the partition as
the slice is only created once. Still something's odd with UFS. Devices
should no be repeatedly created without ever being destroyed.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
More information about the freebsd-stable
mailing list