Skip to contentSkip to conversation

btrfs tool return codes

DISCUSSION Goffredo Baroncelli 1 participant 1 message Nov 7, 2010 1 message not in the archive Btrfs file system

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · you (Hugo Mills)

Hi, Goffredo,

I'm just looking through the code for the btrfs userspace tool, and
I was wondering if you had a consistent set of meanings for the return codes? There's a bunch of values in the 10-25 range, and some 30s, but no apparent documentation for what the codes mean. Were they arbitrarily assigned, grandfathered in from something Chris wrote, or simply not documented?

When I wrote btrfs I only put attention to the fact that the return codes were different. But I din't track the codes, nor documented it!

Quoted 11 lines

Thanks,
Hugo.

Signature · 5 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- But people have always eaten people,  / what else is there to ---  
         eat?  / If the Juju had meant us not to eat people / he         
                     wouldn't have made us of meat.                      
Signature · 2 lines
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <[email protected]>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512