🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6293

Re: Acciones con particiones en python

#6293
From: Flanagan
Date: Thu, 10 Jul 2003 06:51
43 lines
2703 bytes
On Thu, 10 Jul 2003 04:07:23 +0200, Iv�n S�nchez Ortega wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Flanagan dixit:
> 
>> Hola, sabeis de algun modulo para hacer acciones con particiones como
>> formatear o listar las particiones que hay en un disco etc ?? (para
>> windows y para linux)
>> gracias de antemano.
> 
> No necesitas ning�n m�dulo, te bastar�a con parsear la salida de "cat
> /proc/partitions" (s�lo en linux, claro. A saber c�mo es la API de los
> discos en g�in...)
> 
> - --
> - ----------------------------------
> Iv�n S�nchez Ortega -ivansanchez-arroba-escomposlinux-punto-org
> 
> ...it still remains true that as a set of cognitive beliefs about the
> existence of God in any recognizable sense continuous with the great
> systems of the past, religious doctrines constitute a speculative
> hypothesis of an extremely low order of probability. - - Sidney Hook
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE/DMpbR56dWuhgxGgRAk6UAJ9YWjDwqlEKS2QwjAUGb2L7ziLUGQCfaVOD
> hvX1mSalqKClYKVSn4PWgTQ=
> =P1Ao
> -----END PGP SIGNATURE-----



Lo querria para linux y para windows, en vb se que se puede hacer el
acceder a particiones de otro tico como linux etc... pero en python

Eso que me habias dicho para linux de
parsear la salida de /proc/partitions como lo puedo hacer ?? para ver el
tipo de particion que es y todo ??

gracias de antemano...
Technical Details
Message-ID: <pan.2003.07.10.08.46.36.247278.1072@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
References: <pan.2003.07.09.23.20.08.669042.1054@hotmail.com> <20030710020724.BCBF257.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-09 23:52:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
From: Flanagan <flanagan@hotmail.com>
Subject: Re: Acciones con particiones en python
Newsgroups: es.comp.os.linux.programacion
Message-ID: <pan.2003.07.10.08.46.36.247278.1072@hotmail.com>
References: <pan.2003.07.09.23.20.08.669042.1054@hotmail.com> <20030710020724.BCBF257.NOFFLE@BlackSpark.local>
User-Agent: Pan/0.11.2 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Iván Sánchez Ortega" <ivansanchez-@rroba-escomposlinux-.punto.-org>
Lines: 43
Date: Thu, 10 Jul 2003 06:51:12 GMT
NNTP-Posting-Host: 81.202.118.36
X-Complaints-To: abuse@ono.com
X-Trace: news.ono.com 1057819872 81.202.118.36 (Thu, 10 Jul 2003 08:51:12 MET DST)
NNTP-Posting-Date: Thu, 10 Jul 2003 08:51:12 MET DST