Call us Toll-Free:
Email us


How to mount /proc on FreeBSD

Michel Nadeau, 09-27-2010
There are a few commands under FreeBSD that depend on procfs (process file system).

FreeBSD doesn't mount it by default.

This tutorial describes how to mount /proc on FreeBSD and how to get FreeBSD to do it automatically when rebooting.

1. Mounting /proc

To mount /proc, run the following command:

mount -t procfs proc /proc

Applications and commands depending on procfs will now work correctly.

2. Mount /proc automatically when rebooting

To get /proc to be mounted automatically when rebooting, simply add this line in /etc/fstab:

proc /proc procfs rw 0 0

There you go, /proc will now be mounted automatically at boot time.
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

Post your comments

Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.

About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions