Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use mtools with the ew floppy naming convention?

Convention floppy mtools naming
0
Posted

How can I use mtools with the
ew floppy naming convention?

0

With the adoption of BSD 4.4, there is a new way of accessing the floppy disk drive types. The method uses the minor device number to specify different media sizes and densities. These densities are established by a table from the file /usr/src/sys/arch/i386/isa/fd.c in NetBSD (your mileage may vary). The table in FreeBSD’s fd.c is likely to be slightly different. The order of the entries defines the order of the minor numbers, so the table below has the following characteristics: /dev/fd0a 0 /* default disk type */ /dev/fd0b 1 /* 1.44MB diskette */ /dev/fd0c 2 /* 1.2 MB AT-diskettes */ /dev/fd0d 3 /* 360KB in 1.2MB drive */ /dev/fd0e 4 /* 360KB PC diskettes */ /dev/fd0f 5 /* 3.5″ 720KB diskette */ /dev/fd0g 6 /* 720KB in 1.2MB drive */ /dev/fd0h 7 /* 360KB in 720KB drive */ struct fd_type fd_types[] = { { 18,2,0xff,0xcf,0x1b,0x6c,80,2880,1,FDC_500KBPS,2,”1.44MB” }, { 15,2,0xff,0xdf,0x1b,0x54,80,2400,1,FDC_500KBPS,2,”1.2MB” }, { 9,2,0xff,0xdf,0x23,0x50,40, 720,2,FDC_300KBPS,2,”360KB/AT

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123