Thursday, April 1, 2004

Allowing users to mount CDs

Excellent, if undocumented (as are many of them) sysctl.conf variable:

# sysctl vfs.usermount=1


As Malcolm Kay mentions in his email to freebsd-questions:

allows users to mount and then unmount drives provided other things
are in order. You can make this happen during the normal boot by adding

vfs.usermount=1

to /etc/ sysctl.conf



It can be tough to find docs on sysctl variables. I have a short entry in my blog (here) that points to a text page that documents some of them, but not all, and not vfs.usermount. Looks like there is an attempt to document more of these variables :

RFC: Automated process for documenting tunables/variables.


Let's hope it gets going! It is for exactly this sort of mysterious command/variable/setting that I started this blog. I'd never remember these things, so I just jot them down in my blog, and I can search later for them.




No comments:

Post a Comment