"/" dir backup

Ben Escoto bescoto@stanford.edu
Sat, 16 Feb 2002 18:55:09 -0800


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

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

  JH> stat is not a standard program in many Linux distributions nor
  JH> FreeBSD.  FreeBSD's stat(1) from ports is not compatible with
  JH> the invocation in rdiff-backup.  AFAIK it doesn't even exist in
  JH> NetBSD.  As such, is there any particular reason you don't just
  JH> use st_rdev and remove the stat shell call entirely?

Well, at least one reason is that I don't know what st_rdev is...

  JH>   Its just as "portable" and probably faster.  Besides, as it
  JH> stands I shudder to think what is going to happen if somebody
  JH> creates a device with a space in its file name.

Hmm, good point.  I suppose I could start parsing stat's output
starting from the end...


--
Ben Escoto

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

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

iD8DBQE8bxuG+owuOvknOnURAr2jAJ99LVn4Kbl/LILRYBCgdhqxZm0DNgCdEs5P
E/ABTIvIDNHKCfNYRpXtl64=
=ebZ2
-----END PGP SIGNATURE-----

--==_Exmh_839161512P--