fstab의 라인 마지막줄 숫자의 의미

lastsky의 이미지

안녕하세요.

gentoo linux 를 설치하면서 무한 커널패닉을 삼주째 격고 있는

유저 입니다. -_-;;;; (밤에 자고싶어요 ㅠㅠ)

어찌되었건 devfs 땜에 고생하는 터에 혹시 fstab의 숫자에 관련된게

아닌가 싶어 검색을 해봤지만 fstab의 파일구성에 대한 글은

없더라구요.

보통

/dev/hda1 / noattime 1 1

뭐 대충 이런식의 라인으로 구성되어 있는데 뒤에 두자리의 숫자는

뭘 의미하는지를 모르겠습니다. 저것이 문제인 것 같기도 한데...

커널패닉의 오류를 보면 # : # 식의 오류를 볼 수 있는데, 아마도

그문제가 아닐까 하는 한가닥 희망을 걸어봅니다.

커널 컴파일시 dev 에 관련된 항목을 같이 컴파일 해보았지만... 역시...

어쨌든... 알고 계신분 계시면 한수 부탁드립니다.

정태영의 이미지

Quote:
man fstab

.
.

The fifth field, (fs_freq), is used for these filesystems by the dump(8) command to determine which filesystems need to be bumped. 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.

오랫동안 꿈을 그리는 사람은 그 꿈을 닮아간다...

http://mytears.org ~(~_~)~
나 한줄기 바람처럼..

keizie의 이미지

맨페이지 해석 겸 해서 추가합니다.

여섯 번째야 순서를 정하는 거라고 간단하게 이해할 수 있고 (요즘이야 저널링 때문에 잘 안 쓰지만) fsck라는 나름 친숙한 유틸리티에 적용되는 거라서 쉽게 다가옵니다.

근데 다섯 번째는 저도 정확히 뭔가 싶어서 좀 찾아봤습니다. 우분투를 쓰는데 dump가 안 깔려 있더군요. 그래서 apt-cache show dump로 설명만 봤습니다.

Quote:

Description: 4.4bsd dump and restore for ext2 filesystems
Dump examines files on a filesystem and determines which files need to be
backed up. These files are copied to the given disk, tape or other storage
medium for safe keeping.
.
The restore command performs the inverse function of dump. A full backup of
a file system may be restored and subsequent incremental backups layered on
top of it. Single files and directory subtrees may be restored from full or
partial backups.

요컨데 restore와 짝을 이루어 백업과 복구 기능을 하는 녀석인 모양입니다. 지금까지 한 번도 쓴 적이 없으니 메인프레임에나 쓰는 건지도 모르겠네요. 잘 아시는 분이 좀 설명해주세요.

맨페이지의 설명을 다시 보면, dump할 필요가 있는지에 대한 설정이라고 하니, 이걸 0으로 하면 dump를 안 하고 1로 하면 dump를 하는 모양입니다. 지금 제 /etc/fstab에는 모두 0으로 되어 있으니 아마 요즘에는 별 상관 없는 모양입니다.

익명 사용자의 이미지

음... 만약 파일시스템이ext2 라면 , fstab의 5번째 필드가 1이 셋팅될 필요가 있습니다.
예를 들어. /boot 가 ext2 라면 .. 5,6 필드가 1 2 이렇게 설정해줘야 겠죠. ext2는 저널링 시스템이 아니니까요

병맛의 이미지

당분간 영양식 섭취하시면서 철야에 대비하세요.
밤에 잠 편히 자는 건 당분간 힘드실겁니다. ^^

academic의 이미지

Unix Administration Handbook에 보면 5번째 필드는 자기네들이 아는 바로는 Sun의 특정 백업 프로그램에서만 사용한다고 되어있더군요.

----
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.