Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 05:05:53 GMT
From:      Helmut Schellong <var@schellong.biz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/97513: umount: unmount of /card failed: Device busy ?!
Message-ID:  <200605200505.k4K55r2I057792@www.freebsd.org>
Resent-Message-ID: <200605200510.k4K5AFDf035408@freefall.freebsd.org>

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


>Number:         97513
>Category:       bin
>Synopsis:       umount: unmount of /card failed: Device busy ?!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 05:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schellong
>Release:        6.1
>Organization:
private
>Environment:
FreeBSD fbsd.lokal.biz 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 08:45:34 CEST 2006
root@fbsd.lokal.biz:/usr/src/sys/i386/compile/BSD61  i386

>Description:
54]  safecard /home
Kartengerät: /dev/da1s2

safe.bsh: TMP=/tmp/safe_3345
----------------------------------------------------------------
/dev/da1s2 on /card (ufs, local, soft-updates, fsid 76c16b449495314e)
..
/home/.fonts.cache-1 -> /card/home/.fonts.cache-1
/home/.serverauth.586 -> /card/home/.serverauth.586
umount: unmount of /card failed: Device busy
/u/sh/cmd/safecard: -> safe.bsh: Exit=1

Device busy?!
In any case  cd /card  was not true ...

Up to now this was a single event at ~6 safe actions.
>How-To-Repeat:
safecard /home (-> safe.bsh -> umount ...)

But up to now this was a single event at ~6 safe actions.
>Fix:
..
[ M -eq 1 ] && umount -v "$MDIR" || { sleep 5; umount -v "$MDIR"; } || exit

Or - is there a little 'wait' bug in umount?
>Release-Note:
>Audit-Trail:
>Unformatted:



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