Skip to Content.
Sympa Menu

baslinux - Re: [BL] bash basics

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • 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





Archive powered by MHonArc 2.6.24.

Top of Page