"/" dir backup

Ben Escoto bescoto@stanford.edu
Sat, 16 Feb 2002 19:51:42 -0800


--==_Exmh_855001452P
Content-Type: text/plain; charset=us-ascii

>>>>> "JH" == Jamie Heilman <jamie@audible.transient.net>
>>>>> wrote the following on Sat, 16 Feb 2002 19:31:45 -0800

  >>> s = os.lstat('/dev/null') s.st_rdev >> 8
  > 1
  >>> s.st_rdev & 0xff
  > 3

This is great!  Apparently this is new as of v2.2 and I never noticed
it was added.  So, no more stat(1), but I guess I'm still stuck with
mknod for the moment (but mknod usage seems more standard).


--
Ben Escoto

--==_Exmh_855001452P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001

iD8DBQE8byjJ+owuOvknOnURAt6AAJwO6XSnYT26p6ve+i/nYh2X5I9cNwCfXfXy
7un8yfTPKpp9WncrjzgdqXo=
=ta3b
-----END PGP SIGNATURE-----

--==_Exmh_855001452P--