Re: Mounting Linux Procfs at Boot



On Wednesday 30 August 2006 21:55, Gerard Seibert wrote:
RW wrote:
What's the canonical way of mounting the Linux procfs at boot-time?

I've seen several recommendations to add the following to fstab:

linproc /compat/linux/proc linprocfs rw 0 0

But in a standard installation, this mount-point is really under /usr,
which isn't mounted until pass 2. If I change the pass number to 2, it
fails with an "unexpected inconsistencies" error. I presume this is
because mount is trying to fsck it, and failing to find fsck_linprocfs.

This is what I have in my /etc/fstab file:

linprocfs /compat/linux/proc linprocfs rw 0 0

Is this what you are referring to?

I tried it and it didn't work. Irrespective of whether it should begin linproc
or linprocfs, /compat is a link to /usr/compat, and /usr isn't mounted at
that point. Do you have a different arrangement?

BTW I'm running 6.1 (upgraded from an original 5.3 install)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Mounting Linux Procfs at Boot
    ... I've seen several recommendations to add the following to fstab: ... But in a standard installation, this mount-point is really under /usr, which ... linprocfs /compat/linux/proc linprocfs rw 0 0 ...
    (freebsd-questions)
  • FreeBSD 5.3R Fails to load kernel modules on boot
    ... Boot process aborted while failing to mount ... linprocfs in fstab, kldstat shows no linux.ko linprocfs.ko loaded. ...
    (freebsd-current)
  • Re: Mounting Linux Procfs at Boot
    ... I've seen several recommendations to add the following to fstab: ... But in a standard installation, this mount-point is really under /usr, ... linprocfs /compat/linux/proc linprocfs rw 0 0 ... Usually an output of "uname -a" is much more informative here. ...
    (freebsd-questions)