Date: Mon, 8 Apr 2002 18:47:30 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sbin/newfs mkfs.c newfs.c newfs.h Message-ID: <20020408183609.D6311-100000@gamplex.bde.org> In-Reply-To: <74463.1018253035@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Apr 2002, Poul-Henning Kamp wrote: > In message <20020408175001.J6180-100000@gamplex.bde.org>, Bruce Evans writes: > >I think this doesn't really belong in the label. It should be possible > >to put a filesystem on disk-like device without putting something > >foreign to the filesystem (a label) either inside or outside the > >filesystem, or by subdividing the devices. This is implemented for > >msdosfs (newfs_msdos -r reserved). > > That is exactly what the new API does: You ask your disk like > device if it has any magic areas, and it tells you. newfs'able devices shouldn't have to know this any more than memory or files (since they might be a file)... > Obviously, the prudent admin will try to prevent such overlaps > by not putting filesystems on the first track/cylinder or whatever > it takes to stay clear, but the code should DTRT even if he doesn't > or for technical reasons can't avoid it (small physical media). ... And the ioctls on the really-disk-like devices should be used for this if and only if the device supports them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020408183609.D6311-100000>