Unidentified subject!
* From: Roberto C. Sánchez <roberto@debian.org>
* Date: Wed, 25 Oct 2017 21:23:14 -0400
> The return status is seen by the shell as a numeric. ...
* From: Kushal Kumaran <kushal@locationd.net>
* Date: Thu, 26 Oct 2017 07:01:30 +0530
> write it like this: ... See man test(1) for details.
* From: David Margerison <deltam@electrosonics.com.au>
* Date: Thu, 26 Oct 2017 16:19:42 +1100
> ... this works by design: ...
Thanks to all. My revised script is at
https://en.wikibooks.org/wiki/Oberon/myaos
"if mountpoint -q $WorkingDirectory ..." checks whether something is
mounted at the working directory. What about checking whether the
filesystem of a specific device is mounted at that directory? Can
that be checked easily?
Additional tips to improve the script are always welcome.
Thanks, ... P.
--
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html Bcc: peter at easthope. ca
Reply to: