Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2010 14:59:19 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: ports/149134: x11/gnome2 unable to unmount UFS file system 
Message-ID:  <20100826215919.B8C601CC3A@ptavv.es.net>
In-Reply-To: Your message of "Thu, 26 Aug 2010 03:00:14 EDT." <4C7610FE.6010605@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Thu, 26 Aug 2010 03:00:14 -0400
> From: Joe Marcus Clarke <marcus@freebsd.org>
> 
> On 8/24/10 3:31 PM, Kevin Oberman wrote:
> >> Date: Tue, 17 Aug 2010 02:05:28 -0400
> >> From: Joe Marcus Clarke <marcus@freebsd.org>
> >>
> >> On 8/16/10 4:36 PM, Kevin Oberman wrote:
> >>> Please see the following files:
> >>> http://home.comcast.net/~k.oberman/FreeBSD/dmesg.boot
> >>> http://home.comcast.net/~k.oberman/FreeBSD/fstab.out
> >>> http://home.comcast.net/~k.oberman/FreeBSD/hald.debug
> >>> http://home.comcast.net/~k.oberman/FreeBSD/kern.geom.conftxt
> >>> http://home.comcast.net/~k.oberman/FreeBSD/lshal.out
> >>> http://home.comcast.net/~k.oberman/FreeBSD/mount.out
> >>>
> >>> I think the names are self-descriptive.
> >>>
> >>> The volume in question is /dev/da1s2 or /dev/ufs/Scratchd mounted as
> >>> /media/Scratch. After hald was started, I used the Nautilus pop-up menu
> >>> 'Unmount' item to unmount it. Got a raft of "Unknown errors". If the
> >>> volume re-mounts as "Scratch", as it did in this case, I can try again.
> >>> It often fails to delete the /media/Scratch directory and re-mounts as
> >>> '/media/Scratch_' and further attempt get an "Operation not permitted"
> >>> message.
> >>
> >> And what does the output look like after you try to unmount the drive
> >> (output of the sysctl and mount(8))?
> > 
> > Sorry for the slow response. I've been pretty busy and I want to do
> > this stuff when I can concentrate on it a bit so I don't waste your time.
> > 
> > Try as I might, I can't get it back into the "won't unmount"
> > condition. It now always re-mounts. I've done so at least 10 times just
> > now. Sometimes it manages to delete a directory and sometimes it creates
> > a new one.
> 
> I don't see how this could be happening since hal ignores ufs and ufsid
> partitions.  Are you sure you don't have any local hal patches which are
> overriding the CVS versions?  In particular, patch-hald_hf-storage.c has
> code to check for and ignore any partition that starts with ufs/.  Since
> this used to work, and now doesn't, I suspect a local problem with your
> hal installation.
> 
> Joe
> 
> > 
> >> ls /media
> > MUSIC/		Scratch/	Scratch__/	Scratch____/
> > MUSIC2/		Scratch_/	Scratch___/
> >> df /media/*
> > Filesystem          1K-blocks     Used    Avail Capacity  Mounted on
> > /dev/msdosfs/MUSIC   78128640 77788544   340096   100%    /media/MUSIC
> > /dev/msdosfs/MUSIC2 134182272 77694944 56487328    58%    /media/MUSIC2
> > /dev/ufs/Scratchd   106517700 56988252 41008032    58%    /media/Scratch
> > /dev/ad0s3a            507630   324926   142094    70%    /
> > /dev/ad0s3a            507630   324926   142094    70%    /
> > /dev/ad0s3a            507630   324926   142094    70%    /
> > /dev/ad0s3a            507630   324926   142094    70%    /
> > 
> > No, I don't understand the three listings of root.
> > 
> > I do notices the da0s2 and da0s2d always show up, but ufs/Scratch and
> > ufs/Scratchd come and go. They are always there after the first mount.
> > 
> > It looks very much like what I was seeing before you tried teaching hald
> > to ignore /dev/ufs. Looks like, for some reason, it is still seeing
> > it. lshal shows it.
> > 
> > udi = '/org/freedesktop/Hal/devices/volume_size_112620533760'
> >   block.device = '/dev/ufs/Scratch'  (string)
> >   block.is_volume = true  (bool)
> >   block.major = 0  (0x0)  (int)
> >   block.minor = 139  (0x8b)  (int)
> >   block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$
> >   info.capabilities = {'block', 'volume'} (string list)
> >   info.category = 'volume'  (string)
> >   info.parent = '/org/freedesktop/Hal/devices/volume_part3_size_112620533760'  (st$
> >   info.product = 'Volume'  (string)
> >   info.subsystem = 'block'  (string)
> >   info.udi = '/org/freedesktop/Hal/devices/volume_size_112620533760'  (string)
> >   volume.block_size = 512  (0x200)  (uint64)
> >   volume.fstype = ''  (string)
> >   volume.fsusage = 'partitiontable'  (string)
> >   volume.ignore = true  (bool)
> >   volume.is_disc = false  (bool)
> >   volume.is_mounted = false  (bool)
> >   volume.is_mounted_read_only = false  (bool)
> >   volume.is_partition = false  (bool)
> >   volume.label = ''  (string)
> >   volume.mount_point = ''  (string)
> >   volume.num_blocks = 219961980  (0xd1c5a7c)  (uint64)
> >   volume.size = 112620533760  (0x1a38b4f800)  (uint64)
> >   volume.uuid = ''  (string)
> > 
> > udi = '/org/freedesktop/Hal/devices/volume_label_Scratch'
> >   block.device = '/dev/ufs/Scratchd'  (string)
> >   block.is_volume = true  (bool)
> >   block.major = 0  (0x0)  (int)
> >   block.minor = 141  (0x8d)  (int)
> >   block.storage_device = '/org/freedesktop/Hal/devices/storage_model_00BEVS_00VAT0$
> >   info.capabilities = {'block', 'volume'} (string list)
> >   info.category = 'volume'  (string)
> >   info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
> >   info.parent = '/org/freedesktop/Hal/devices/volume_size_112620533760'  (string)
> >   info.product = 'Scratch'  (string)
> >   info.subsystem = 'block'  (string)
> >   info.udi = '/org/freedesktop/Hal/devices/volume_label_Scratch'  (string)
> >   org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_o$
> >   org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-$
> >   org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} ($
> >   org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (stri$
> >   volume.block_size = 512  (0x200)  (uint64)
> >   volume.freebsd.ufsid = '4c43cc21c711100c'  (string)
> >   volume.fstype = 'ufs'  (string)
> >   volume.fsusage = 'filesystem'  (string)
> >   volume.fsversion = '2'  (string)
> >   volume.ignore = false  (bool)
> >   volume.is_disc = false  (bool)
> >   volume.is_mounted = true  (bool)
> >   volume.is_mounted_read_only = false  (bool)
> >   volume.is_partition = false  (bool)
> >   volume.label = 'Scratch'  (string)
> >   volume.mount.valid_options = {'ro', 'noexec', 'noatime'} (string list)
> >   volume.mount_point = '/media/Scratch'  (string)
> >   volume.num_blocks = 219961980  (0xd1c5a7c)  (uint64)
> >   volume.size = 112620533760  (0x1a38b4f800)  (uint64)
> >   volume.uuid = ''  (string)
> > 
> > Here are a series of the sysctl and mount.
> > This one is before the first attempt to unmount the filesystem:
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0
> > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > 
> > The remainder are after a series of attempt to unmount:
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > /dev/da0s2d on /media/Scratch (ufs, local, nosuid, soft-updates)
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0
> > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > /dev/ufs/Scratchd on /media/Scratch__ (ufs, local, nosuid, soft-updates)
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > /dev/ufs/Scratchd on /media/Scratch (ufs, local, nosuid, soft-updates)
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0
> > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > /dev/da0s2d on /media/Scratch___ (ufs, local, nosuid, soft-updates)
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> mount
> > /dev/ad0s3a on / (ufs, local, noatime)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/ad0s3e on /tmp (ufs, local, noatime, soft-updates)
> > /dev/ad0s3f on /usr (ufs, local, noatime, soft-updates)
> > /dev/ad0s3d on /var (ufs, local, noatime, soft-updates)
> > /dev/ad0s4 on /D (msdosfs, local)
> > procfs on /proc (procfs, local)
> > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > /dev/md0 on /etc (ufs, local, read-only, union)
> > /dev/fuse0 on /C (fusefs, local, noatime, synchronous)
> > /dev/fuse1 on /usr/home/oberman/.gvfs (fusefs, local, nosuid, synchronous, mounted by oberman)
> > /dev/msdosfs/MUSIC on /media/MUSIC (msdosfs, local, nosuid)
> > /dev/msdosfs/MUSIC2 on /media/MUSIC2 (msdosfs, local, nosuid)
> > /dev/da0s2d on /media/Scratch____ (ufs, local, nosuid, soft-updates)
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 PART da0s2d 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0
> > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0
> >> sysctl -b kern.geom.conftxt
> > 0 DISK da0 250059350016 512 hd 255 sc 63
> > 1 PART da0s2 112620533760 512 i 2 o 137436203520 ty freebsd xs MBR xt 165
> > 2 LABEL ufs/Scratch 112620533760 512 i 0 o 0
> > 3 PART ufs/Scratchd 112620533760 512 i 4 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART da0s1 137436171264 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC2 137436171264 512 i 0 o 0
> > 0 DISK ad2 80026361856 512 hd 16 sc 63
> > 1 PART ad2s1 80023233024 512 i 1 o 32256 ty !12 xs MBR xt 12
> > 2 LABEL msdosfs/MUSIC 80023233024 512 i 0 o 0
> > 0 DISK ad0 80026361856 512 hd 16 sc 63
> > 1 PART ad0s4 8027873280 512 i 4 o 71995875840 ty !12 xs MBR xt 12
> > 1 PART ad0s3 41974571520 512 i 3 o 30021304320 ty freebsd xs MBR xt 165
> > 2 PART ad0s3f 38259786240 512 i 6 o 3714785280 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3e 536870912 512 i 5 o 3177914368 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3d 1595932672 512 i 4 o 1581981696 ty freebsd-ufs xs BSD xt 7
> > 2 PART ad0s3b 1045110784 512 i 2 o 536870912 ty freebsd-swap xs BSD xt 1
> > 2 PART ad0s3a 536870912 512 i 1 o 0 ty freebsd-ufs xs BSD xt 7
> > 1 PART ad0s2 4250050560 512 i 2 o 25771253760 ty !18 xs MBR xt 18
> > 2 LABEL msdosfs/SERVICEV001 4250050560 512 i 0 o 0
> > 1 PART ad0s1 25771221504 512 i 1 o 32256 ty !7 xs MBR xt 7
> > 0 MD md0 184320 512 u 0 s 512 f 0 fs 0 l 184320 t vnode file /boot/profile/esnet
> > 1 LABEL ufsid/40a3fabe35c1dddc 184320 512 i 0 o 0

/me slaps head and screams in frustration at obvious senility

I still had a patch from prior debug efforts on this problem in
ports/sysutils/hal/files. I cleaned those out and re-installed hald. It
now only mounts /dev/da0s2 and ignores /dev/ufs, , but it still keeps
re-mounting when I unmount it.

Fixing this bug in hald simply removed a red herring, but did not fix
the real problem.

Sorry for the bad info.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



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