[Fedora-users-br] Montar e Desmontar unidade
Davi Vercillo C. Garcia
davivercillo em gmail.com
Terça Junho 30 20:55:23 UTC 2009
Fala Armando,
>> Pois pelo FSTAB seria somente a montagem de volumes... e eu gostaria de
>> executar alguns comandos durante o desligamento..
Voce poderia criar um shell script que atendesse tanto ao parametro
"start" quanto o comando "stop", e adiciona-lo como sevico pelo
chkconfig ! Acho que seria a melhor maneira, ja que voce quer realizar
operacoes alem da montagem/desmontagem.
Abracos,
--
Davi Vercillo Carneiro Garcia
http://www.dcc.ufrj.br/~davivercillo
Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br
/"\
\ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \
"Whoever comes is the right people; Whatever happens is the only thing
that could have;
Whenever it starts is the right time; When it's over, it's over !" -
Open Space Philosophy
"Theory is when you know something, but it doesn't work. Practice is
when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't
know why." - Anon
Mais detalhes sobre a lista de discussão br-users