On Wed, 04 Feb 2009 01:40:11 -0600 Mike Christie <michaelc@xxxxxxxxxxx> wrote: > When there are no ids for some object left, what is the stadard Exxxx > value to return? Would ENOSPC make sense? Here ENOSPC would mean no > space in id space left instead of space on a device? Drivers often do that sort of thing. I don't like it personally - ENOSPC means "No space left on device". IOW, "your disk is full". Co-opting that code just because something kinda-sorta-similar happened seems abusive to me. Plus the first thing poor old user is going to do is run `df' and ask wtf? So what's left? EINVAL is a sort of generic something-went-wrong error code (in Linux, at least). But perhaps EBUSY ("Device or resource busy") is suitable here. Dunno, hard. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html