LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   what are these things mean? (https://www.linuxquestions.org/questions/slackware-14/what-are-these-things-mean-390481/)

slazer 12-08-2005 07:29 AM

what are these things mean?
 
hi all,

i just wondering what are the things mean in /etc/fstab:

none /sys sysfs defaults 0 0


what the differences between 0 0 , 1 1 or 1 2?

can anybody tell me the meanings? coz i already read the manpage of fstab.. but not quite understand about the fifth and sixth field in fstab...


tq

Nylex 12-08-2005 07:36 AM

Those columns are explained well (IMO) here.

fouldsy 12-08-2005 07:40 AM

It controls whether the filesystems need dumping (my crude understanding is a backup) and whether they need checking on mounting. http://www.tuxfiles.org/linuxhelp/fstab.html explains the whole thing.

Usually, your root filesystem will be checked each time it is mounted for errors, and you can specify the order in which this happens. Usually, / will be 1 so that it is checked first, then you might want /home to be checked next so the last column would be 2, then maybe /var next, so that be 3, etc. I've never used the 5th to dump as I don't fully understand it!

yoron 12-16-2005 08:50 AM

0

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.

0

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
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.

slazer 12-16-2005 10:19 AM

thanks guys...


All times are GMT -5. The time now is 10:58 AM.