Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autoUmount
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Wed May 30, 2007 8:33 pm    Post subject: autoUmount Reply with quote

Stavo dando un'occhiata a autofs/automount, e ho configurato un'unità
esterna USB a montarsi in automatico su di un certo mount point, a
seconda del UUID. Ho configurato /etc/autofs/auto.master con il
parametro timeout=1: da quello che ho capito in questo modo l'unità
verrà smontata dopo un secondo di inattività. Vorrei confermare una
cosa che non mi sembra di aver visto scritta nei vari documenti che ho
letto: usando automount non è più necessario smontare manualmente la
periferica (cosa per altro non più possibile), ma "comanda" il
parametro dato con il timeout? Cioè una volta passato un secondo,
posso staccare tranquillamente il cavo USB, senza preoccuparmi di
nulla? Il fatto è che dando un ps a | grep automount io vedo sempre la
stessa riga, anche dopo diversi minuti.
Qualcuno può togliermi il dubbio?
Grazie.
GePs
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Thu May 31, 2007 7:38 am    Post subject: Reply with quote

Che riga ti da?
Magari è quella che ti dice: c'è in esecuzione un grep su automount!!
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Thu May 31, 2007 8:31 am    Post subject: Re: autoUmount Reply with quote

geps2 wrote:
Cioè una volta passato un secondo,
posso staccare tranquillamente il cavo USB, senza preoccuparmi di
nulla?

Io controllerei sempre che non ci sia più attività su disco (se per caso ha qualche led o lucetta che ti indica lettura/scrittura verifica che sia spenta) perchè il fatto che il disco venga smontato non significa che dopo un secondo tutti i dati siano stati trasferiti dalla cache sul disco.
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Thu May 31, 2007 9:04 am    Post subject: Reply with quote

Beh... Solitamente prima di smontare una periferica si fa il flush dei dati, altrimenti non avrebbe molto senso!!
Quindi, una periferica smontata, di per se, la puoi estrarre senza preoccupazioni, se lo è davvero...
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Thu May 31, 2007 9:08 am    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Jun 01, 2007 5:23 pm    Post subject: Reply with quote

skypjack wrote:
:?
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Sat Jun 02, 2007 9:38 am; edited 1 time in total
Back to top
View user's profile Send private message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Sat Jun 02, 2007 9:27 am    Post subject: Reply with quote

skypjack wrote:
Che riga ti da?
Magari è quella che ti dice: c'è in esecuzione un grep su automount!!


Code:
root     11343  0.0  0.1   3516   988 pts/0    S    09:48   0:00 /usr/sbin/automount --timeout 1 --ghost --pid-file /var/run/autofs.mnt.auto.pid /mnt/auto file /etc/autofs/auto.dev
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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