On Thu, Sep 23, 2010 at 06:14:10PM +0000, Thordur Bjornsson wrote:
> On Thu, Sep 23, 2010 at 06:36:43PM +0059, Jason McIntyre wrote:
> > is there a reason why we don;t document FSTAB_RQ?
> Not one that I can think of. If this works as intended
> go ahead (it should).
I don't think getmntoptions() recognizes rq. Beside that, it is really
outdated and makes no difference between userquota and groupquota. I'd
rather remove it than document it.
-Otto
>
> > jmc
> >
> > Index: fstab.5
> > ===================================================================
> > RCS file: /cvs/src/share/man/man5/fstab.5,v
> > retrieving revision 1.42
> > diff -u -r1.42 fstab.5
> > --- fstab.5 8 Jun 2009 17:03:15 -0000 1.42
> > +++ fstab.5 23 Sep 2010 17:36:53 -0000
> > @@ -183,7 +183,8 @@
> > If
> > .Fa fs_type
> > is
> > -.Dq rw
> > +.Dq rw ,
> > +.Dq rq ,
> > or
> > .Dq ro
> > then the filesystem whose name is given in the
> > @@ -243,7 +244,8 @@
> > .Xr fsck 8
> > will assume that the filesystem does not need to be checked.
> > .Bd -literal
> > -#define FSTAB_RW "rw" /* read-write device */
> > +#define FSTAB_RW "rw" /* read/write device */
> > +#define FSTAB_RQ "rq" /* read/write with quotas *
> > #define FSTAB_RO "ro" /* read-only device */
> > #define FSTAB_SW "sw" /* swap device */
> > #define FSTAB_XX "xx" /* ignore totally */
> > @@ -253,7 +255,7 @@
> > char *fs_file; /* filesystem path prefix */
> > char *fs_vfstype; /* type of filesystem */
> > char *fs_mntops; /* comma separated mount options */
> > - char *fs_type; /* rw, ro, sw, or xx */
> > + char *fs_type; /* rw, rq, ro, sw, or xx */
> > int fs_freq; /* dump frequency, in days */
> > int fs_passno; /* pass number on parallel fsck */
> > };