On Mon, 2012-05-07 at 21:50 +0430, Yasser Zamani wrote:
>      1. The mount command should not run if it's already mounted. how
>         it can be verified before mounting, via Linux commands?

Assuming $LFS is set, either

  mount | fgrep $LFS

or

  fgrep $LFS /proc/mounts

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to