[번역질문] 임베디드 쪽의 파일 시스템 쪽 질문입니다

hados의 이미지

임베디드 리눅스 관련 책의 일부분을 번역하고 있습니다

여기서 모르는 부분이 있어서 또 질문을 올립니다

(얼마 전에 native 를 어떻게 번역할 지에 대해 질문 올린 적이 있습니다)

챕터는 루트 파일 시스템을 셋업하는 부분입니다.

Quote:
As we saw earlier in this chapter, no filesystem can be replaced in its entirety while being mounted from the storage media where it is being stored. Hence, we need to look for ways to update a filesystem's content while it is mounted. There are quite a few ways to do this, each with their own advantages and disadvantages. In this section we will discuss three such methods, the rsync utility, package management tools, and ad-hoc scripts.

위에서 진한 부분이 잘 이해가 되지 않습니다.

진한 부분 중 앞 문장의 의미가

Quote:
마운트 된 파일 시스템을 완전히 replace하는 것은 불가능하다...
와 비슷한 의미이고,

다음 문장이

Quote:
그러므로, 마운트 된 동안에 파일 시스템의 컨텐트를 업데이트 할 방법을 찾아야 한다
와 같은 의미 같습니다.

요약하면 첫 문장에서는 마운트 된 상태에서 파일 시스템의 종류를 바꾸는 것이 불가능 하다...라는 의미인 거 같고

두번째 문장은 파일 시스템에 있는 파일을 수정할 방법을 찾아야 한다...

라는 의미같은데, 이럴 경우 첫 문장과 두번째 문장 연결이 부자연스럽지 않습니까?

파일 시스템의 종류를 변경하는 것과 파일의 내용을 변경하는 것은 다를테니 말이지요...

제가 쓸 수 있는 부분은 여기까지 입니다. 나름대로 아는 선에서 책에 대한

정보를 드리고 여러가지 써 놓고 싶지만...아는 것이 이 정도밖에 없다 보니

더 이상 자세히 쓸 수가 없네요.

이 쪽을 잘 아시는 분께서 보시고 위의 의미를 잘 설명해 주시거나

위의 글에서 부족한 부분이 무엇무엇이 있어서 대답할 수가 없으니...

어떤 정보를 더 알아야 한다... 등등의 답이라도 해 주시면

감사하겠습니다.

부디 고수님들의 많은 가르침 부탁 드립니다.

지리즈의 이미지

밑에 분의 번역이 정답이라 삭제합니다.

There is no spoon. Neo from the Matrix 1999.

Prentice의 이미지

제가 마운트 과정이라거나 임베디드 시스템에 대해 잘 모르므로, 엉터리 해석이 나올 수도 있습니다. 그냥 적당히 참고해주시면 감사하겠습니다. ^_^

hados wrote:
As we saw earlier in this chapter, no filesystem can be replaced in its entirety while being mounted from the storage media where it is being stored.

이 챕터 앞부분에서 보았듯이, 저장되어 있는 저장매체에서 파일시스템 마운트가 진행 중일 경우 파일시트템을 통째로 교체할 수 있는 방법은 없습니다.

hados wrote:
Hence, we need to look for ways to update a filesystem's content while it is mounted.

그러므로, 마운트가 완료된 파일시스템의 내용을 갱신할 수 있는 방법을 찾아봐야 합니다.

seldom의 이미지

Quote:
As we saw earlier in this chapter, no filesystem can be replaced in its entirety while being mounted from the storage media where it is being stored. Hence, we need to look for ways to update a filesystem's content while it is mounted. There are quite a few ways to do this, each with their own advantages and disadvantages. In this section we will discuss three such methods, the rsync utility, package management tools, and ad-hoc scripts.

임베디드는 모르지만 제가 보기엔 이거 같습니다.

OLD 와 NEW 파티션이 있습니다.
OLD 를 NEW 로 교체하길 원합니다. (content 를 변경하기 위해서..)
하지만 파티션은 항상 마운트되어 있어야 합니다.
그렇다면 해결 방법은?
간단하죠.. OLD 를 지우고 NEW -> OLD 로 파일을 모두 카피하면 되죠.. -_-;
(rsync 를 언급하는 것 보니까 그게 맞는 것 같습니다)

정리하면

마운트된 상태에서는 파티션 전체를 (다른 파티션으로) 교체할 수 없다.
따라서 마운트된 상태에서 파티션내의 파일들을 모두 교체할 방법이 필요하다.
rsync 등을 쓰면 오케이~

(두번째 줄에서 update 라는 단어를 썼지만 문맥상 변경보다는 '모두 교체'라고 하는게 적절할 것 같습니다)

hados의 이미지

답변이 몇 가지 올라왔네요

자기 일이 아님에도 불구하고

별로 보고 싶지 않은(나만 그런가... :? ) 영어 문장도 보고...

나름대로의 해석도 올려주시다니요...

감사합니다

여러분의 열화와 같은 성원(은 없지만... ^^;;;;;)에 힘입어

열심히 하겠습니다.... :D

답변 올려주신 분들 감사드립니다.

p.s 그나저나 여기 이모티콘들 왜 이리 이쁩니까...맘에 쏙 들어버립니다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.