*BSD News Article 15715


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!fsa.ca!deraadt
From: deraadt@fsa.ca (Theo de Raadt)
Subject: Re: disk partitons in 386BSD
In-Reply-To: gene@cs.sunysb.edu!stark's message of 30 Apr 93 08: 21:15
Message-ID: <DERAADT.93May1174014@newt.fsa.ca>
Sender: news@fsa.ca
Nntp-Posting-Host: newt.fsa.ca
Organization: little lizard city
References: <1826@dcsc.dla.mil> <GENE.93Apr30082115@stark.uucp>
Date: Sun, 2 May 1993 00:40:14 GMT
Lines: 27

In article <GENE.93Apr30082115@stark.uucp> gene@cs.sunysb.edu!stark (Gene Stark) writes:
>In article <1826@dcsc.dla.mil> cp01395@dcsc.dla.mil (Duane L. Rezac) writes:
>>   Up to this point, I have had no problems with the filesystem.
>>   Now I want to add /dev/wd1d as /ftp for an anon ftp directory structure
>>   when I mount /dev/wd1d on /ftp  , it shows all the data from /dev/wd1a (/p).

> The wd driver interprets the "d" partition specially as "the whole BSD area".
> Very embarrassing results can occur if the "d" "partition" is mounted at the
> same time as another normal partition, and attempts to do this should produce
> warning messages on the console.

> This has been explained a number of times here, is it in the FAQ?  For more
> information, have a look at /sys/i386/isa/wd.c

For more information, look and see how the supposidly architecture
independent file ufs/ufs_disksubr.c now assumes that all architectures
have disks with DOS labels on it. The use of the d partition for the
entire disk is also non-standard.

The 386BSD c/d partition crud has got to go. A case of fine McNalley's
beer to the first person to rewrite this cruft so that it works in a
more standard unix fashion.
 <tdr.

--

This space not left unintentionally unblank.		deraadt@fsa.ca