I've had a nice adventure in the last day or two, trying to figure out how to access a diskette from my sampler in Linux. Thank you very much for fdutils! Although all is not roses, most of the road has already been traveled.
Naturally, my sampler - an Ensoniq EPS 16plus - formats diskettes with sector numbers starting 0 instead of 1 like the PC world. Has the zero-based sector patch ever been submitted for inclusion in the kernel? (If not, I can compile a kernel, not a problem.) And would a patch to the fdutils themselves - specifically setfdprm and getfdprm - to support this be useful?
Wade. _______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils
begin Monday 01 March 2004 02:22, Wade Bowmer quote:
I've had a nice adventure in the last day or two, trying to figure out how to access a diskette from my sampler in Linux. Thank you very much for fdutils! Although all is not roses, most of the road has already been traveled.
Naturally, my sampler - an Ensoniq EPS 16plus - formats diskettes with sector numbers starting 0 instead of 1 like the PC world. Has the zero-based sector patch ever been submitted for inclusion in the kernel? (If not, I can compile a kernel, not a problem.) And would a patch to the fdutils themselves - specifically setfdprm and getfdprm - to support this be useful?
Wade.
I initially submitted the patch back in 2000 (http://www.ussg.iu.edu/hypermail/linux/kernel/0007.2/0451.html)
However, it must have somehow fallen between the cracks, and today it is indeed neither in 2.4.25 nor in 2.6.4
I've re-sent it again to Linus, Marcelo and Alan, for inclusion in the current kernels.
In the meantime, you can find an updated version for 2.4.25 and 2.6.4 on fdutils.linux.lu (the 2.4.25 has only cosmetic changes, the 2.6.4 one is more relevant due to renaming of variables)
The current fdutils patch already supports this new flag, when compiled on a machine where FD_ZEROBASED is defined in fd.h (Carfeul: some/many distributions supply their own linux/fd.h, rather than pointing to the one supplied by the kernel. In that case, manually copy the fd.h from the kernel to /usr/include/linux/fd.h)
Regards,
Alain
_______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils
At 11:28 AM 13/03/2004 +0100, Alain Knaff wrote:
.... I've re-sent [the zero-based patch] again to Linus, Marcelo and Alan, for inclusion in the current kernels.
Thank you.
The current fdutils patch already supports this new flag, when compiled on a machine where FD_ZEROBASED is defined in fd.h (Carfeul: some/many distributions supply their own linux/fd.h, rather than pointing to the one supplied by the kernel. In that case, manually copy the fd.h from the kernel to /usr/include/linux/fd.h)
I noticed some support for FD_ZEROBASED in the fdutils tarball I downloaded but it did not appear complete. But I'll have another look; there may be something I overlooked.
Thanks about the pointer about linux/fd.h.
Wade.
begin Saturday 13 March 2004 14:16, Wade Bowmer quote:
I noticed some support for FD_ZEROBASED in the fdutils tarball I downloaded but it did not appear complete. But I'll have another look; there may be something I overlooked.
Thanks about the pointer about linux/fd.h.
Wade.
The tarball only supports zerobased mode in superformat (using the --zero-based command line flag).
The diff (currently, fdutils-5.4-20040228.diff.gz, but support has been there since fdutils-5.4-20000715.diff.gz) adds support for zerobased in setfdprm and getfdprm as well (... with the caveat about linux/fd.h)
Alain
_______________________________________________ fdutils mailing list fdutils@tux.org http://www.tux.org/mailman/listinfo/fdutils
: The tarball only supports zerobased mode in superformat (using the : --zero-based command line flag). : : The diff (currently, fdutils-5.4-20040228.diff.gz, but support has : been there since fdutils-5.4-20000715.diff.gz) adds support for : zerobased in setfdprm and getfdprm as well (... with the caveat about : linux/fd.h)
Is a patch that only allows one-based or zero-based the best way to go about this? There are also 65-based and 192-based formts.