Article View: es.comp.os.linux.programacion
Article #6193Re: Acciones con particiones en python
From: Jaime Suarez
Date: Thu, 17 Jul 2003 09:46
Date: Thu, 17 Jul 2003 09:46
10 lines
1790 bytes
1790 bytes
El d�a Thu, 10 Jul 2003 15:24:34 +0200, Iv�n S�nchez Ortega dec�a: > Lo �nico que tienes que hacer es leer el fichero /proc/partitions , meter > todo su contenido en alguna variaable, y parsear. > No te devuelve el tipo de partici�n, sino m�s bien la geometr�a de las > particiones. Seguramente con alg�n otro programa externo puedas ver el > sistema de ficheros que usa cada partici�n. Otra posibilidad es parsear cat /etc/fstab que incluye el sistema de ficheros en cada tipo de partici�n.
Technical Details
Message-ID:
<slrnbhatfi.4b7.jsuarez@hermes.mired>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!newsfeed.arcor-online.net!easynet-monga!easynet.net!bashful.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mailReferences:
<pan.2003.07.09.23.20.08.669042.1054@hotmail.com> <20030710020724.BCBF257.NOFFLE@BlackSpark.local> <pan.2003.07.10.08.46.36.247278.1072@hotmail.com> <20030710132434.138523AC.NOFFLE@BlackSpark.local>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,f356494f7f28af3c X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-07-17 02:47:18 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!newsfeed.arcor-online.net!easynet-monga!easynet.net!bashful.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mail Newsgroups: es.comp.os.linux.programacion From: Jaime Suarez <jsuarez@ono.com> Subject: Re: Acciones con particiones en python References: <pan.2003.07.09.23.20.08.669042.1054@hotmail.com> <20030710020724.BCBF257.NOFFLE@BlackSpark.local> <pan.2003.07.10.08.46.36.247278.1072@hotmail.com> <20030710132434.138523AC.NOFFLE@BlackSpark.local> Organization: Corrupción de datos Reply-To: respuestas_al@grupo.news Message-ID: <slrnbhatfi.4b7.jsuarez@hermes.mired> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.7.4 (Linux) Lines: 10 Date: Thu, 17 Jul 2003 09:46:11 GMT NNTP-Posting-Host: 81.203.86.188 X-Complaints-To: abuse@ono.com X-Trace: news.ono.com 1058435171 81.203.86.188 (Thu, 17 Jul 2003 11:46:11 MET DST) NNTP-Posting-Date: Thu, 17 Jul 2003 11:46:11 MET DST