baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: qwms-avib AT dea.spamcon.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] bash basics
- Date: Sat, 19 Apr 2003 07:43:04 +0000
Constant Brouerius van Nidek wrote:
>
> That worked as advertised until I tried the bash file out
> on an already mounted cdrom ;-).
> What would be the error catch inorder to avoid the looped
> message that the drive is already mounted?
Both the drive-not-ready and the already-mounted give error
code 32, so you can't distinguish between them that way.
I suggest you put the following as the first line (before
the 'until' line):
-----------
umount /mnt
-----------
Cheers,
Steven
-
[BL] bash basics,
Constant Brouerius van Nidek, 04/17/2003
- Re: [BL] bash basics, sindi keesan, 04/17/2003
- <Possible follow-up(s)>
-
Re: [BL] bash basics,
Constant Brouerius van Nidek, 04/17/2003
- Re: [BL] bash basics, sindi keesan, 04/17/2003
- Re: [BL] bash basics, Constant Brouerius van Nidek, 04/18/2003
-
Re: [BL] bash basics,
Constant Brouerius van Nidek, 04/18/2003
- Re: [BL] bash basics, qwms-avib, 04/18/2003
Archive powered by MHonArc 2.6.24.