Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2014 13:38:33 +0200
From:      Carlos <decvt100@gmail.com>
To:        =?UTF-8?B?TWFya28gQ3VwYcSH?= <marko.cupac@mimar.rs>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: another busy mount point
Message-ID:  <CAM0%2B4zBC-cft4OJM0vLWe-PLo3bTZnLkq5_SFHQbatfnkMeCGw@mail.gmail.com>
In-Reply-To: <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs>
References:  <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-05-05 13:30 GMT+02:00 Marko Cupa=C4=87 <marko.cupac@mimar.rs>:
> Hi,
>
> I have problem unmounting external FAT32-formatted USB drive on
> 10.0-RELEASE-p1 (with XFCE):
>
> pacija@mephala:~ % umount /usr/home/pacija/mnt
> umount: unmount of /usr/home/pacija/mnt failed: Device busy
>
> lsof /usr/home/pacija/mnt gives no output.
>
> I am not under mounted part in terminal or Thunar, I have no su session
> left there.
>
> I am mounting it as user, here are relevant lines:
>
> pacija@mephala:~ % sudo gpart show da5
> =3D>       34  975400893  da5  GPT  (465G)
>          34  975400893    1  mbr  (465G)
>
> pacija@mephala:~ % mount
> /dev/ada0p2 on / (ufs, local, journaled soft-updates)
> devfs on /dev (devfs, local, multilabel)
> tmpfs on /tmp (tmpfs, local)
> procfs on /proc (procfs, local)
> fdescfs on /dev/fd (fdescfs)
> data on /data (zfs, local, nfsv4acls)
> data/pacija on /usr/home/pacija/data (zfs, local, noatime, nfsv4acls)
> /dev/da5p1 on /usr/home/pacija/mnt (msdosfs, local, nosuid, mounted by
> pacija)
>
> pacija@mephala:~ % cat /etc/sysctl.conf
> kern.ipc.shm_allow_removed=3D1
> vfs.usermount=3D1
>
> pacija@mephala:~ % cat /etc/devfs.rules
> [system=3D10]
> add path 'usb/*' mode 0660 group operator
> add path 'cd*' mode 0666
> add path 'da*' mode 0666
> add path 'pass*' mode 0666
> add path 'xpt*' mode 0666
>
> pacija@mephala:~ % cat /etc/rc.conf
> ...
> devfs_system_ruleset=3D"system"
> ...
>
> pacija@mephala:~ % cat .gaminrc
> poll /home/pacija/mnt/*
>
> Any advices?
> --
> Marko Cupa=C4=87

Which is the output of fuser -c /dev/da5p1?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0%2B4zBC-cft4OJM0vLWe-PLo3bTZnLkq5_SFHQbatfnkMeCGw>