Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

The mountall man page says "this is a temporary tool until init(8) itself" can do it, basically. Why not just use mount -a? Is there a difference between the two, and if so, which should I use for what?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

According to the man page, the ubuntu version of mountall does the following :

  • reads fstab(5)
  • calls fsck(8)
  • calls mount(8)
  • and calls swapon(8)

Canonical does not provide much information on the reason why they had to build a "temporary tool".

According to mount manual, mount -a "[...] causes all filesystems mentioned in fstab to be mounted[...]".

Anyway, I advise you to use mount -a as it works on most unices.

share|improve this answer
    
Seems you are saying you don't see the difference either, right? –  Johannes Ernst Sep 17 '12 at 22:48
1  
Not at all. For example, I can't see where mount -a would launch fsck (just quickly checked source code and man page) and mountall is described as temporary. –  coincoin Sep 17 '12 at 23:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.