File System mounting prob

David Adam zanchey at ucc.gu.uwa.edu.au
Wed Jan 12 18:02:56 PST 2005


On Wed, 12 Jan 2005, Xian wrote:
> I have a script that chmods the drives on boot but this is a bodge cos its
> supposed to be done with devfs rules (man devfs for more info) but I am not
> so good at these (if anyone can help me as well here please).

Hi Xian et al,

Here's how I went about getting devfs up and running. (I had a similar
problem with permissions on my CD drive.) I think it shows a good way of
going about solving FreeBSD problems.

$ man devfs
... (http://www.freebsd.org/cgi/man.cgi?query=devfs&sektion=5)

Well, that's not very useful. Now, where would any sensible person keep
devfs rules?

$ man devfs.conf
No manual entry for devfs.conf
$ man devfs.rules
No manual entry for devfs.rules

Time to check the PR database - the FreeBSD bug reporting system. (OK, I
cheated here because I already knew that a Problem Report existed with a
fix.)

http://www.freebsd.org/cgi/query-pr.cgi?pr=63808 looks useful. And there's
a suggested fix.

We head to http://www.xs4all.nl/~rsmith/freebsd/ and see the link to two
manpages - unfortunately, they're written in a weird looking language.
They're understandable, but only just.

Scroll down the page to the Devfs section (about half-way down the page).

Ah...

I'll let you do the rest.

Cheers,

David Adam
zanchey at ucc.gu.uwa.edu.au




More information about the freebsd-newbies mailing list