Re: apt ne voit pas que mon CD a change de point de montage
Amaury AL wrote:
>
> Bonjour tous
>
> Une des premieres choses que je fais apres l'install est de modifier les
> points de montage pour mettre tout ce qui n'est pas monte en permanence dans
> /mnt.
>
> J'ai donc modifie /etc/fstab pour qu'il monte le cd dans /mnt/cdrom/, mais
> apt cherche toujours le CD dans /cdrom et forcement ne le trouve pas.
>
> Nulle mention du point de montage dans /etc/apt/sources.list, ni dans
> /etc/apt/apt.conf, je ne sais pas comment mettre a jour ses informations, et
> la page de man parle bien du mount point mais en des termes abscons.
>
Il y a quelques tempsde ca, j'ai lu la FHS.
Elle preconnisait de creer des repertoires dans /mnt pour tout ce qui
n'est pas monte en permanence, et si necessaire de creer des liens
symbolique de la racine vers les repertoires creer dans /mnt
-- $ ls -al /
total 60
drwxr-xr-x 20 root root 1024 aoû 29 11:05 ./
drwxr-xr-x 20 root root 1024 aoû 29 11:05 ../
drwxr-xr-x 2 root root 2048 aoû 25 10:51 bin/
drwxr-xr-x 2 root root 1024 sep 29 16:39 boot/
lrwxrwxrwx 1 root root 11 aoû 22 18:37 cdrom ->
/mnt/cdrom/
drwxr-xr-x 4 root root 19456 nov 21 09:39 dev/
drwxr-xr-x 106 root root 6144 nov 21 09:24 etc/
lrwxrwxrwx 1 root root 12 aoû 22 18:37 floppy ->
/mnt/floppy/
drwxrwxr-x 4 root staff 1024 nov 7 16:26 home/
drwxr-xr-x 2 root root 1024 mar 18 2000 initrd/
drwxr-xr-x 5 root root 4096 nov 14 12:02 lib/
drwxr-xr-x 2 root root 12288 sep 7 1999 lost+found/
drwxr-xr-x 9 root root 1024 nov 11 1999 mnt/
drwxr-xr-x 9 root root 1024 aoû 28 14:46 opt/
dr-xr-xr-x 74 root root 0 nov 21 09:22 proc/
drwx------ 12 root root 1024 sep 11 19:37 root/
drwxr-xr-x 2 root root 3072 nov 14 12:03 sbin/
lrwxrwxrwx 1 root root 10 aoû 22 18:39 tape ->
/mnt/tape/
drwxrwxrwt 5 root root 2048 nov 21 11:47 tmp/
drwxr-xr-x 17 root root 1024 aoû 25 12:08 usr/
drwxr-xr-x 16 root root 1024 mar 19 2000 var/
lrwxrwxrwx 1 root root 20 aoû 25 18:22 vmlinuz ->
/boot/vmlinuz-2.2.17
lrwxrwxrwx 1 root root 20 aoû 29 11:05 vmlinuz.old ->
/boot/vmlinuz-2.2.14
lrwxrwxrwx 1 root root 9 aoû 22 18:44 zip -> /mnt/zip/
lrwxrwxrwx 1 root root 12 aoû 22 18:44 zipdos ->
/mnt/zipdos/
==============================================
| FREDERIC MASSOT |
| http://www.juliana-multimedia.com |
| mailto:frederic@juliana-multimedia.com |
===========================Debian=GNU/Linux===
Reply to: