From owner-freebsd-current Tue Feb 6 22:34: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 7380437B491 for ; Tue, 6 Feb 2001 22:33:42 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.2/8.11.2) id f176a2f14720; Tue, 6 Feb 2001 22:36:02 -0800 (PST) (envelope-from sgk) From: Steve Kargl Message-Id: <200102070636.f176a2f14720@troutmask.apl.washington.edu> Subject: Re: DEVFS and ms-dos partitions In-Reply-To: from Bruce Evans at "Feb 7, 2001 05:08:05 pm" To: Bruce Evans Date: Tue, 6 Feb 2001 22:36:02 -0800 (PST) Cc: FreeBSD Current X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Tue, 6 Feb 2001, Steve Kargl wrote: > > > > > d-------w- 1 root 493 arch 4096 Jan 1 1980 msdos/ > > > > The source in src/sbin/mount_msdos has changed in a long time, not > > so is this a side effect of using DEVFS? > > This is caused by the same bug that cause panics for exporting > filesystems (things in mount structs moving around whenever the size > of struct mtx changes). struct msdosfs_args is particularly well > designed to be affected by this bug even when nothing is exported: > [snip of struct] > The fields after the export field become garbage when the size of the > export field changes. The garbage is easy to see using `ls -ld /msdos'. Hmmm, thanks for the explanation. That o+w permission is a little worrisome. I take it there's no way to force a a different mode on the directory (short of never getting world and kernel out-of-sync, which makes chasing the last mutex bugs much more fun). Mea culpa: I know better. It is a slice not a partition. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message