On Sep 22, 6:59pm, n...@gmx.com (Kamil Rytarowski) wrote: -- Subject: Re: wedge device to name
| Looking at the diff here, just adding f_mntfromlabel[] is a better | choice and it does not make too much dead code in old syscall version. | | I propose to go for versioning here. | Unfortunately the diff is deceiving. I just posted the diff that adds the new functionality to the code, but not the part to provide backwards compatibility. There 100's of lines of code in the compat glue just to handle the old syscalls both in libc and the kernel. The real issue though is what happens if you don't put the functionality where it belongs; look what has happened to the linux statvfs syscall family for example and the answers to the question how do I get the mountpoint of a particular file, or how do I get the list of mountpoints etc. I still think that it is better to design good software interfaces as opposed to resorting to procfs/sysctl/ioctl or whatever glue to gather information even when the compat cost is high. christos