Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] umount in shutdown
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)
View previous topic :: View next topic  
Author Message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Mon Jun 02, 2008 10:16 am    Post subject: [RISOLTO] umount in shutdown Reply with quote

Buongiorno.
Se ho montato dei filesystem di rete, quando faccio uno shutdown il sistema non si spegne, ma rimane in attesa di effettuare l'umount di quelli... purtroppo però i servizi di rete sono stati già stoppati.
Qualcuno potrebbe suggerirmi un modo elegante (senza magari andare a modificare gli script in init.d) per risolvere la questione?
Grazie per l'attenzione, ciao!
GePs


Last edited by geps2 on Mon Jun 02, 2008 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Jun 02, 2008 10:42 am    Post subject: Reply with quote

una domanda, ma come viene montato il fs? tramite /etc/fstab o in altro modo tipo comando in /etc/init.d/local.start? io ho una riga in fstab, e il filesystem viene montato e smontato correttamente senza problemi
Back to top
View user's profile Send private message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Mon Jun 02, 2008 11:09 am    Post subject: Reply with quote

The Extremer wrote:
una domanda, ma come viene montato il fs? tramite /etc/fstab o in altro modo tipo comando in /etc/init.d/local.start? io ho una riga in fstab, e il filesystem viene montato e smontato correttamente senza problemi


lo monto a mano, ma con fstab: per intendeci, in fstab c'è la riga
Code:
//192.168.0.1/share /mnt/share smbfs rw 0 0
e io a mano do
Code:
# mount /mnt/share
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Jun 02, 2008 11:41 am    Post subject: Reply with quote

mmh, strano, la mia riga è tipo questa:

Code:
//192.168.0.132/share /home/user/share cifs defaults,users,rw,exec 0 0


e a parte il fatto che utilizzo cifs al posto di smbfs e che lo lascio montare in automatico non vedo grosse differenze. prova a mettere "auto" tra le opzioni e vedere se così te lo monta e smonta correttamente
Back to top
View user's profile Send private message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Mon Jun 02, 2008 3:24 pm    Post subject: Reply with quote

The Extremer wrote:
mmh, strano, la mia riga è tipo questa:

Code:
//192.168.0.132/share /home/user/share cifs defaults,users,rw,exec 0 0


e a parte il fatto che utilizzo cifs al posto di smbfs e che lo lascio montare in automatico non vedo grosse differenze. prova a mettere "auto" tra le opzioni e vedere se così te lo monta e smonta correttamente

Sì, sembra funzionare, grazie!
Back to top
View user's profile Send private message
rb34
Guru
Guru


Joined: 03 Oct 2004
Posts: 361
Location: Rome, italy

PostPosted: Tue Jun 03, 2008 5:08 pm    Post subject: Reply with quote

io ho lo stesso problema di umount, ma sbaglio o auto auto-monta quando si entra nella dir? Io quello vorrei evitarlo
_________________
rb
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Tue Jun 03, 2008 5:39 pm    Post subject: Reply with quote

automonta all'avvio del sistema
Back to top
View user's profile Send private message
rb34
Guru
Guru


Joined: 03 Oct 2004
Posts: 361
Location: Rome, italy

PostPosted: Wed Jun 04, 2008 11:16 am    Post subject: Reply with quote

sì, ma insomma "risolto" è un po' troppo :), io vorrei risolvere il problema senza mettere "auto"
_________________
rb
Back to top
View user's profile Send private message
andreac
n00b
n00b


Joined: 03 Aug 2004
Posts: 14
Location: Mergo

PostPosted: Mon Jun 09, 2008 4:06 pm    Post subject: Reply with quote

rb34 wrote:
sì, ma insomma "risolto" è un po' troppo :), io vorrei risolvere il problema senza mettere "auto"


Potresti inserire il comando di umount nel file
Code:
/etc/conf.d/local.stop

_________________
Andrea
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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