I've been wondering about the case statement in S00mountvirtfs that mounts the 
virtual filesystems.


      if ! mountpoint /run >/dev/null; then
         mount /run || failed=1

and similar commands for proc sys and dev.


I understand what the mountpoint lines are doing, but "mount /run" puzzles me.


There are no fstab entries for these filesystems, so I would expect "mount 
[device] [mountpoint]".


Why does that command work without the [device] parameter?

-- 
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