Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Andre Hedrick (andre@suse.com)
Date: Sun Jan 16 2000 - 01:05:48 EST


On Sat, 15 Jan 2000, Linus Torvalds wrote:

> A variation on this is why the partitioning code does something along the
> lines of
>
> bh = bread(..)
> ...
> bforget(bh);
>
> (ie uses "bforget()" instead of "brelse()").
>
> So you actually shouldn't see that failure mode you're talking about. But
> hey, who knows.

Agree, but why should it not be a requirement to relearn about the device
everytime it is opened from user-land? I am assuming events like
fdisk/cfdisk and load/unload events of media.

Since one of the goals with CDR/CD-RW's is to be able to perform a
multi-mount of sessions that react like drive partitions.

This will make a mess, since nothing in the code (that I know of) currents
entertains this possiblity.

Andre Hedrick
The Linux IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:12 EST