diff --git a/content/chapters/part1/chapter-04.md b/content/chapters/part1/chapter-04.md index 060d22d..c1088b5 100644 --- a/content/chapters/part1/chapter-04.md +++ b/content/chapters/part1/chapter-04.md @@ -254,7 +254,7 @@ As we move forward, we'll look at examples from the actual FreeBSD kernel source To store a complete local copy of the FreeBSD source code, you will need approximately 3.6 GB of free disk space. You can install it using Git by running the following command: - # git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + # sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src This will give you access to all source code, which we'll reference frequently throughout this book. diff --git a/content/chapters/part1/chapter-06.md b/content/chapters/part1/chapter-06.md index e89c443..3c8cf70 100644 --- a/content/chapters/part1/chapter-06.md +++ b/content/chapters/part1/chapter-06.md @@ -13124,7 +13124,7 @@ Before starting, ensure you have: ```bash # If /usr/src is missing, install it: % sudo pkg install git - % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` 3. **Build tools installed**: diff --git a/translations/es_ES/chapters/part1/chapter-02.md b/translations/es_ES/chapters/part1/chapter-02.md index 8b97ba2..b26a494 100644 --- a/translations/es_ES/chapters/part1/chapter-02.md +++ b/translations/es_ES/chapters/part1/chapter-02.md @@ -790,7 +790,7 @@ A partir de este momento, cada vez que este libro mencione un archivo como `/usr Clónalo con Git: ```console -% sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src +% sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` Esto tardará varios minutos y descargará varios gigabytes. Cuando termine, tendrás disponible el árbol de código fuente completo del kernel. diff --git a/translations/es_ES/chapters/part1/chapter-04.md b/translations/es_ES/chapters/part1/chapter-04.md index 7933674..31903e5 100644 --- a/translations/es_ES/chapters/part1/chapter-04.md +++ b/translations/es_ES/chapters/part1/chapter-04.md @@ -254,7 +254,7 @@ A medida que avancemos, veremos ejemplos del código fuente real del kernel de F Para almacenar una copia local completa del código fuente de FreeBSD, necesitarás aproximadamente 3,6 GB de espacio libre en disco. Puedes instalarlo con Git ejecutando el siguiente comando: - # git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + # sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src Esto te dará acceso a todo el código fuente, al que haremos referencia con frecuencia a lo largo de este libro. diff --git a/translations/es_ES/chapters/part1/chapter-06.md b/translations/es_ES/chapters/part1/chapter-06.md index aa26a8b..61b878f 100644 --- a/translations/es_ES/chapters/part1/chapter-06.md +++ b/translations/es_ES/chapters/part1/chapter-06.md @@ -13129,7 +13129,7 @@ Antes de comenzar, asegúrate de tener: ```bash # If /usr/src is missing, install it: % sudo pkg install git - % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` 3. **Herramientas de build instaladas**: diff --git a/translations/pt_BR/chapters/part1/chapter-02.md b/translations/pt_BR/chapters/part1/chapter-02.md index 7d3b5ae..83dba08 100644 --- a/translations/pt_BR/chapters/part1/chapter-02.md +++ b/translations/pt_BR/chapters/part1/chapter-02.md @@ -792,7 +792,7 @@ A partir deste ponto, sempre que este livro citar um arquivo como `/usr/src/sys/ Clone com Git: ```console -% sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src +% sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` Isso levará alguns minutos e fará o download de vários gigabytes. Quando terminar, você terá a árvore completa de código-fonte do kernel disponível. diff --git a/translations/pt_BR/chapters/part1/chapter-04.md b/translations/pt_BR/chapters/part1/chapter-04.md index 3cda0d0..0c6e787 100644 --- a/translations/pt_BR/chapters/part1/chapter-04.md +++ b/translations/pt_BR/chapters/part1/chapter-04.md @@ -255,7 +255,7 @@ Por enquanto, estamos compilando apenas um arquivo de código-fonte de cada vez. Para armazenar uma cópia local completa do código-fonte do FreeBSD, você precisará de aproximadamente 3,6 GB de espaço em disco livre. Você pode instalá-lo usando Git executando o seguinte comando: - # git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + # sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src Isso dará a você acesso a todo o código-fonte, que vamos referenciar com frequência ao longo deste livro. diff --git a/translations/pt_BR/chapters/part1/chapter-06.md b/translations/pt_BR/chapters/part1/chapter-06.md index a47b9e4..206b86d 100644 --- a/translations/pt_BR/chapters/part1/chapter-06.md +++ b/translations/pt_BR/chapters/part1/chapter-06.md @@ -13120,7 +13120,7 @@ Antes de começar, certifique-se de que você possui: ```bash # If /usr/src is missing, install it: % sudo pkg install git - % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` 3. **Ferramentas de build instaladas**: diff --git a/translations/zh_CN/chapters/part1/chapter-04.md b/translations/zh_CN/chapters/part1/chapter-04.md index 99f8d44..d959ae4 100644 --- a/translations/zh_CN/chapters/part1/chapter-04.md +++ b/translations/zh_CN/chapters/part1/chapter-04.md @@ -256,7 +256,7 @@ Makefile是一个名为Makefile的纯文本文件,定义如何构建你的程 要存储完整的FreeBSD源代码本地副本,你需要大约3.6 GB的可用磁盘空间。你可以使用Git通过运行以下命令安装它: - # git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + # sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src 这将给你访问所有源代码的权限,我们将在本书中频繁引用这些源代码。 diff --git a/translations/zh_CN/chapters/part1/chapter-06.md b/translations/zh_CN/chapters/part1/chapter-06.md index 7f1f724..bd8956e 100644 --- a/translations/zh_CN/chapters/part1/chapter-06.md +++ b/translations/zh_CN/chapters/part1/chapter-06.md @@ -12953,7 +12953,7 @@ options MALLOC_DEBUG_MAXZONES=8 ```bash # If /usr/src is missing, install it: % sudo pkg install git - % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src + % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git /usr/src ``` 3. **已安装构建工具**: @@ -15862,4 +15862,4 @@ static int mydrv_detach(device_t dev) { /* Set pointers to NULL after freeing */ return (0); /* or EBUSY if can't detach */ } -``` \ No newline at end of file +```