2006-01-13 21:20:18

by Jan Engelhardt

[permalink] [raw]
Subject: Quota on xfs vfsroot

Hi,


the xfs_quota manpage says that one needs to use the "root-flags=" boot
parameter to enable quota for the root filesystem, but I do not see a
matching __setup() definition anywhere in the fs/xfs/ folder. So, how do I
have quota activated then?


Jan Engelhardt
--


2006-01-13 22:49:30

by be-news06

[permalink] [raw]
Subject: Re: Quota on xfs vfsroot

Jan Engelhardt <[email protected]> wrote:
> the xfs_quota manpage says that one needs to use the "root-flags=" boot
> parameter to enable quota for the root filesystem, but I do not see a
> matching __setup() definition anywhere in the fs/xfs/ folder. So, how do I
> have quota activated then?

init/do_mounts.c:__setup("rootflags=", root_data_setup);

It is a general boot line flag, not xfs specific.

Gruss
Bernd
y

2006-01-14 09:35:38

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Quota on xfs vfsroot


>> the xfs_quota manpage says that one needs to use the "root-flags=" boot
>> parameter to enable quota for the root filesystem, but I do not see a
>> matching __setup() definition anywhere in the fs/xfs/ folder. So, how do I
>> have quota activated then?
>
>init/do_mounts.c:__setup("rootflags=", root_data_setup);
>It is a general boot line flag, not xfs specific.

Ah, thank you.
Weird manpage program wrapped rootflags into "root-\nflags" at EOL, sigh.



Jan Engelhardt
--

2006-01-15 01:27:37

by Keith Owens

[permalink] [raw]
Subject: Re: Quota on xfs vfsroot

Jan Engelhardt (on Sat, 14 Jan 2006 10:35:34 +0100 (MET)) wrote:
>
>>> the xfs_quota manpage says that one needs to use the "root-flags=" boot
>>> parameter to enable quota for the root filesystem, but I do not see a
>>> matching __setup() definition anywhere in the fs/xfs/ folder. So, how do I
>>> have quota activated then?
>>
>>init/do_mounts.c:__setup("rootflags=", root_data_setup);
>>It is a general boot line flag, not xfs specific.
>
>Ah, thank you.
>Weird manpage program wrapped rootflags into "root-\nflags" at EOL, sigh.

One of the many reasons that man pages should have hyphenation turned
off. In current *roff, the command is '.nh'. Some older versions of
*roff used '.hy off' or '.hy 0'.