Portál AbcLinuxu, 26. dubna 2024 22:53


Dotaz: magicka cisilka v /etc/fstab

4.2.2004 15:42 Ron
magicka cisilka v /etc/fstab
Přečteno: 129×
Odpovědět | Admin
mam mensi dotazek ohledne obsahu souboru /etc/fstab

Soubor fstab ma svuj format:

/dev/hda1 ext3 /home defaults,usrquota 0 0

Dival jsem se do manualovych stranek a nikde jsem nenasel co znamenaji posledni dve cisilka? Jedno znamena neco a druhe asi take. Ale co. Nemate alespon nekdo b rukavu nejaky odkaz kde bych to nasel? Moc dekuji

PS: ten format muze byt trosku nepresne pac to lovim z hlavy :)
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

4.2.2004 15:44 rastos | skóre: 62 | blog: rastos
Rozbalit Rozbalit vše magicka cisilka v /etc/fstab
Odpovědět | | Sbalit | Link | Blokovat | Admin
Slabo si hladal: fstab(5):
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 filesys- tem 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 sequen- tially, 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.

4.2.2004 15:50 Aleš Hakl | skóre: 8
Rozbalit Rozbalit vše magicka cisilka v /etc/fstab
Odpovědět | | Sbalit | Link | Blokovat | Admin

zjevne jste v te manualove strance hledal spatne:

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

neboli: prvni cislo znamena zdali se souborovy system bude zalohovat programem dump (to muzete v podstate ignorovat) a druhe urcuje kdy se bude souborovy system kontrolovat pri startu systemu: 0 - nikdy, 1 - pred read-write pripojenim /, 2 - po read-write pripojeni /.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.