Umount - target busy
ashujain9727 at gmail.com
Sat Oct 17 20:17:53 UTC 2015
You can use below command before unmounting.
fuser -mk <dev>
sent from my Sony Xperia Smartphone
On 17-Oct-2015 10:51 PM, "R Kimber" <richardkimber at btinternet.com> wrote:
> 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
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users