On Sun, Aug 05, 2001 at 08:39:35PM +0700, loeung vidol wrote:
> Hi there all:
>
> 1. In the /etc/fstab file, there are the following fields:
>
> Device Mount-Point FS-Type Mount-Options Dump-Option
> FSCK-Option
>
> Can someone give a brief description of what the last two fields are for?
> I consulted some books, but I didn't seem understand it well. Why is the
> value sometimes 0, 1, or 2, ...?
>
> Could someone please clarify?
>
>From the man page of fstab:
The fifth field, (fs_freq), is used for these filesystems by the dump(8) command to
determine which filesystems need to be dumped. If the fifth field is not
present,
a value of zero is returned and dump will assume that the filesystem does not
need
to be dumped.
The sixth field, (fs_passno), is used by the fsck(8) program to determine the
order
in which filesystem checks are done at reboot time. The root filesystem
should be
specified with a fs_passno of 1, and other filesystems should have a fs_passno
of
2. Filesystems within a drive will be checked sequentially, but
filesystems on
different drives will be checked at the same time to utilize parallelism
available
in the hardware. If the sixth field is not present or zero, a value of
zero is
returned and fsck will assume that the filesystem does not need to be checked.
> 2. Netx question is:
>
> What,now, are the steps to enable the disk "quota" on a partition (e.g.
> /home)? It is different from the previous versions.
> >From the hint that I got from running the command: "quotaon -u /home", I had
> to run this command to convert old-style quota to the new one:
>
> convertquota -u /home
>
> That would create a new file called: /home/aquota.user from the existing
> /home/quota.user file.
> I guess, there might be a new way to enable the quota.
> Anyone has an idea?
>
> Another question is:
>
> 3. How to check, from command line, which groups a user belongs to
> (including initial and supplementary groups)?
>
>
> Regards,
> Vidol
>
>
>
>
>
>
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
--
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:[EMAIL PROTECTED]
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list