Hi,

I am trying to access some ancient 5 1/4" floppies, with 256 byte
sectors.  Leaving aside the interesting hardware problems, the
filesystem on these disks is (surprisingly enough) not supported on
-CURRENT.  While attempting to write one, I ran:

# mdconfig -a -t malloc -S 256 -s 20

Thinking that this would give me some fake media to play with.  Instead,
it panics the box.

This happens at line 809 of md.c version 1.222 which says:

sc->nsect /= (sc->secsize / DEV_BSIZE);

(where sc->secsize has been initialised to 256, as per 
my request).

It would be easy to check for, and reject, such requests, but should
md(8) allow people to create such devices?  Or am I being silly in even
asking for it?

Cheers,
Mike

-- 
Mike Bristow - http://www.urgle.com/~mike/ - [EMAIL PROTECTED]
Who is the most famous woman in America?
Squash.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to