Umount - target busy
R Kimber
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.
>
> Petter
Thanks, I hadn't thought of that.
- Richard
--
Richard Kimber
More information about the ubuntu-users
mailing list