public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Udev rules for identical hard drives
Date: Thu, 2 Aug 2012 20:29:17 +0200	[thread overview]
Message-ID: <20120802202917.3c6794b0@weird.wonkology.org> (raw)
In-Reply-To: <501AA1BB.6070107@gmail.com>

Dale writes:

> Alex Schuster wrote:
> > Mark Knecht writes:
> >
> >> Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a
> >> copy of the output for bad times.
> >>
> >> https://github.com/pturmel/lsdrv
> > That doesn't work here, and I do not understand why. In line 305 it
> > tries and fails to create /dev/block, which is already existing.
> >
> > if not os.path.exists('/dev/block'):
> > 	os.mkdir('/dev/block', 0755)
> >
> > Uh, is this a python bug? It works fine with python 2.7, but not with
> > 3.2. But os.path.exists() is quite a basic function, if that wouldn't
> > work, I'd expect all things to break, including emerge.
[...]
> I'm amd64 and it works here. 
> 
> root@fireball / # equery l python
>  * Searching for python ...
> [IP-] [  ] dev-lang/python-2.7.3-r2:2.7
> [IP-] [  ] dev-lang/python-3.2.3:3.2

Um, but did you use eselect to make 3.2 the current version?

	Wonko


  reply	other threads:[~2012-08-02 18:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 23:34 [gentoo-user] Udev rules for identical hard drives Alex Schuster
2012-08-01 23:59 ` Canek Peláez Valdés
2012-08-02  0:01   ` Canek Peláez Valdés
2012-08-02  0:42     ` Alex Schuster
2012-08-02  0:53       ` Canek Peláez Valdés
2012-08-02  9:20         ` Alex Schuster
2012-08-02 10:38           ` Alex Schuster
2012-08-02 13:11             ` Mark Knecht
2012-08-02 15:02               ` Alex Schuster
2012-08-02 15:50                 ` Dale
2012-08-02 18:29                   ` Alex Schuster [this message]
2012-08-03  6:40                     ` Dale
2012-08-03 15:31                       ` Paul Hartman
2012-08-04  5:50                         ` Dale
2012-08-02 15:50                 ` Mark Knecht
2012-08-02 17:43                   ` Peter Humphrey
2012-08-02 18:28                     ` Mark Knecht
2012-08-02 18:47                   ` Alex Schuster
2012-08-02 16:59 ` Walter Dnes
2012-08-02 17:43   ` Alex Schuster
2012-08-02 18:57     ` Neil Bothwick
2012-08-02 18:55   ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120802202917.3c6794b0@weird.wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox