[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/46185: man pages fail in single user mode
On Tue, Mar 13, 2012 at 03:55:00PM +0000, abs%absd.org@localhost wrote:
> NetBSD forsaken 6.0_BETA NetBSD 6.0_BETA (GENERIC) amd64
> from NetBSD-daily (2012-03-09)
> NetBSD no longer ships with pregenerated catman pages - man generates them on
> When it does this it writes them to /tmp, then displays to the user.
> Unfortunately in single user /tmp is non writable, so this fails.
> - boot single user
> - run 'man fsck'
> - mount / R/W. Sometimes issues the manpage is needed specifically to address
> an issue with just this operation.
> - mount tmpfs on /tmp
> - mandoc /usr/share/man/... | less
> A possible fix might be for man to default to piping its output direct to the
> This may prove annoying for people who currently expect there to be an
> actually temporary file which can be edited, but is less of an issue than no
> manpage access in single user mode.
I guess man could try to create the file, and fall back to pipe if
creating the file fails.
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |