Umount - target busy
richardkimber at btinternet.com
Sat Oct 17 17:20:56 UTC 2015
On Sat, 17 Oct 2015 16:37:57 +0200
Petter Adsen wrote:
> On Sat, 17 Oct 2015 15:23:56 +0100
> R Kimber <richardkimber at btinternet.com> wrote:
> > I have a script that unmounts a drive at the end. I sometimes get a
> > message saying "target is busy".
> > Is there a way of testing whether the target is busy that I can use
> > before trying the umount, so that I can delay this command until I know
> > the umount will complete without error?
> > - Richard.
> See the man page for 'fuser' and take a look at the examples.
Thanks, I hadn't thought of that.
More information about the ubuntu-users