Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Montage automatique des CDs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 13, 2021 6:21 am    Post subject: Montage automatique des CDs Reply with quote

Bonjour,

J'ai installé AutoFS pour monter automatiquement les CD que j'insère dans le PC.
Mais dans menuconfig du noyau 5.4.97, je ne parviens pas à trouver l'option "Kernel automounter version 4 support"
Et en effet, quand je tente de démarrer le service AutoFS, il répond :
Quote:
anard@gentoo-imack ~ $ sudo rc-service autofs start
* Caching service dependencies ... [ ok ]
* Starting automounter ...
* No autofs support available in kernel [ !! ]
* ERROR: autofs failed to start


Où puis-je trouver cette option ? Merci.
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sat Feb 13, 2021 10:50 am    Post subject: Reply with quote

Bonjour,

Cherche File systems ---> Kernel automounter support (supports v3, v4 and v5)
:wink:
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 13, 2021 12:44 pm    Post subject: Reply with quote

Merci, j'ai réussi à retomber dessus. Quand on tape H (Help) dans menuconfig, on retombee sur son vrai nom, qui aurait été retrouvé par une recherche générale :
CONFIG_AUTOFS_FS
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Feb 20, 2021 9:27 am    Post subject: Reply with quote

Bonjour,

Ceci dit, ça ne fonctionne toujours pas. J'ai modifié les fichiers de configuration de AutoFS comme ceci :

  • /etc/autofs/auto.master : j'ai décommenté cette ligne :
    /misc /etc/autofs/auto.misc
  • /etc/autofs/auto.misc : j'ai décommenté et modifié cette ligne :
    cd -fstype=iso9660,ro,nosuid,nodev :/dev/sr0


Quand j'insère un CD, il faut toujours que je clique dessus dans Thunar pour le monter, donc Rhythmbox ne peut pas le lire immédiatement.

Qu'est-ce que j'ai mal fait ?
Merci pour votre aide.

Code:
gentoo-imack /home/anard # automount -f -v
Starting automounter version 5.1.6, master map auto.master
using kernel protocol version 5.05
mounted indirect on /misc with timeout 300, freq 75 seconds
^Cumounted indirect mount /misc
shut down path /misc
autofs stopped
gentoo-imack /home/anard #

_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Sat Feb 20, 2021 8:47 pm    Post subject: Reply with quote

Hello,

Pour ma part, je monte cartes SD, clefs USB et disques avec pmount et uam ;-)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Thu May 27, 2021 7:34 pm    Post subject: Reply with quote

Anard wrote:
Bonjour,

Ceci dit, ça ne fonctionne toujours pas. J'ai modifié les fichiers de configuration de AutoFS comme ceci :

  • /etc/autofs/auto.master : j'ai décommenté cette ligne :
    /misc /etc/autofs/auto.misc
  • /etc/autofs/auto.misc : j'ai décommenté et modifié cette ligne :
    cd -fstype=iso9660,ro,nosuid,nodev :/dev/sr0



Ici, tout est commenté dans auto.master.
Dans auto-misc:
Code:
cd      -fstype=auto,ro,nosuid,nodev   :/dev/cdrom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum