On 02/21/2014 01:35 AM, joel kammet wrote: > 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]". >
There are. http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.html "tmpfs /run tmpfs defaults 0 0" > > Why does that command work without the [device] parameter? > -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
