tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clean way of setting rlimits for userland fs?



On Wed, 11 Apr 2012, Emmanuel Dreyfus wrote:

> David Holland <dholland-tech%netbsd.org@localhost> wrote:
>
> > In this case, why do you need anything other than mount options in
> > fstab?
>
> The point is that a userland filesystem will sometime need to setrlimit
> or setenv stuff so that it works correctly. This is easy to do when
> running mount on the command line, but there is no way to do it from
> fstab.

how about adding the option to set the rlimit to the mount_foofs command
(if this is a userland filesystem, it has its own mount_foofs command?),
or to the mount(8) command directly?

iain


Home | Main Index | Thread Index | Old Index