Re: Need some advice regarding portable user IDs

1999-08-24 Thread Bill Sommerfeld
> Solving this is not trivial, I don't think changing the panic() to > return(appropriate_error_code) is the rigth thing to do, in some case > you want to panic if a filesystem gets corrupted. Indeed, from an overall system robustness perspective, a panic, reboot, and salvage is, in general, pref

Re: Need some advice regarding portable user IDs

1999-08-24 Thread Bill Sommerfeld
Just FYI, in NetBSD-current, there are on the order of 60 calls to panic() in sys/ufs/ufs, and 50 calls to panic() in sys/ufs/ffs. There appear to be similar numbers in ext2fs and lfs. No doubt some of them are internal consistancy checks which can't be triggered by on-disk corruption, but still,

Re: Need some advice regarding portable user IDs

1999-08-24 Thread Bill Sommerfeld
> Solving this is not trivial, I don't think changing the panic() to > return(appropriate_error_code) is the rigth thing to do, in some case > you want to panic if a filesystem gets corrupted. Indeed, from an overall system robustness perspective, a panic, reboot, and salvage is, in general, pre

Re: Need some advice regarding portable user IDs

1999-08-24 Thread Bill Sommerfeld
Just FYI, in NetBSD-current, there are on the order of 60 calls to panic() in sys/ufs/ufs, and 50 calls to panic() in sys/ufs/ffs. There appear to be similar numbers in ext2fs and lfs. No doubt some of them are internal consistancy checks which can't be triggered by on-disk corruption, but still

Re: Need some advice regarding portable user IDs

1999-08-18 Thread Bill Sommerfeld
> Yeah. That's definitely where I'd start from. I think the main obstacle > for any *BSD system in the ease-of-use department will be the > must-mount-as-root issue. huh? NetBSD (at least) allows non-root mounts (forced to nodev,nosuid, ..) if the user owns the mount point and has appropriate

Re: Need some advice regarding portable user IDs

1999-08-18 Thread Bill Sommerfeld
> Yeah. That's definitely where I'd start from. I think the main obstacle > for any *BSD system in the ease-of-use department will be the > must-mount-as-root issue. huh? NetBSD (at least) allows non-root mounts (forced to nodev,nosuid, ..) if the user owns the mount point and has appropriat

Re: Improving the Unix API

1999-06-27 Thread Bill Sommerfeld
> Right. Except that UFS has not only generic attibutes. For example, > you have UF_NODUMP and SF_ARCHIVED. The *only* place in the /sys you > mention the former is sys/stat.h Well, right, because backup/restore aren't part of the kernel... > (BTW, you don't even map it on EXT2_NODUMP_FL).

Re: Improving the Unix API

1999-06-27 Thread Bill Sommerfeld
> Usage of ioctl() on Linux was a bad idea and it's going to be fixed. More > or less in the same direction, not exactly the same - 4.4 chflags() works > fine for UFS and leaves other filesystems to map what they can into the > UFS set. > Which is bogus - immutable is not a UFS attribute, it's VF

Re: Improving the Unix API

1999-06-27 Thread Bill Sommerfeld
> .. but there remained one that garbled meta-data had made into a > non-existing block device, that would resist rm -f. He realized > that the device had an immutable attribute. However, the problem is > that to change the attribute, you have to open the file before you > can ioctl() on it; BSD