Re: Questions - mtools, 0.95a Alpha Patches, Extended Partitions

Previous thread: Re: Linux in the spirit of the GNU General Public Liscense? by Theodore Ts'o on Wednesday, March 25, 1992 - 4:50 pm. (1 message)

Next thread: Re: Extended Partitions (bug in my previous diff) by Charles Hedrick on Wednesday, March 25, 1992 - 5:08 pm. (1 message)

This is what happens if you use the /dev/PS0 device (ie "b 2 28") - to
read a 720kB floppy you have to use anuther device number: linux doesn't
try to find out what kind of floppy you are using (which seems to be
relatively standard unix practice). Use /dev/ps0 ("b 2 16")

Minor number for floppies are as follows (should be in the FAQ):

nr+4*type, where nr = 0,1,2,3 for A,B etc floppy
type:
1 - 360kB floppy in 360kB drive
2 - 1.2M floppy in 1.2M drive
3 - 360kB floppy in 3.5" drive
4 - 720kB floppy in 3.5" drive
5 - 360kN floppy in 1.2M drive
6 - 720kB floppy in 1.2M drive

Ok, I was lazy: I use "-Wall" for gcc which gives warnings for most
everything, and I didn't correct quite all the warnings. They are easy

Hedrick's patches break with more than one drive: he had only one drive
to test on. I'll make a new alpha-patch available which should fix most

It doesn't even try right now: I don't know in what format the core-file
should be anyway etc.. I might implement it if somebody tells me what
format gdb expects, or I'll accept patches (the stubs are there already,

Ok, at least the 0.95(a) kernel supports it: I haven't tested it out,
but the reboot system call should be able to reboot the machine, so
automatic shutdown isn't that difficult any more. Anybody interested in
writing one? Note that the reboot system call needs a lot of magic
numbers (I didn't want any accidental reboots), and can also
disable/enable the three-finger-salute for people who don't like it.

Linus

Previous thread: Re: Linux in the spirit of the GNU General Public Liscense? by Theodore Ts'o on Wednesday, March 25, 1992 - 4:50 pm. (1 message)

Next thread: Re: Extended Partitions (bug in my previous diff) by Charles Hedrick on Wednesday, March 25, 1992 - 5:08 pm. (1 message)