From owner-freebsd-emulation Tue Jun 15 20:33:39 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 5B53B15466; Tue, 15 Jun 1999 20:33:35 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-1-150.dialup.rdu.ipass.net [209.170.132.150]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id XAA10790; Tue, 15 Jun 1999 23:33:29 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id XAA09231; Tue, 15 Jun 1999 23:35:06 -0400 (EDT) (envelope-from rhh) Date: Tue, 15 Jun 1999 23:35:06 -0400 From: Randall Hopper To: Ted Spradley Cc: stable@freebsd.org, emulation@freebsd.org Subject: Re: vnconfig & FAT filesystem -- supported? Message-ID: <19990615233506.A9168@ipass.net> References: <19990615192406.A3498@ipass.net> <199906160246.VAA60379@set.spradley.tmi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199906160246.VAA60379@set.spradley.tmi.net>; from Ted Spradley on Tue, Jun 15, 1999 at 09:46:48PM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ted Spradley: |> Is it possible to mount a DOS FAT file system as a vnode disk? |> If so, I guess I don't know the trick: |> |> # vnconfig /dev/vn0 /data/doscmd_C_drive |> # mount -t msdos /dev/vn0a /mnt |> msdos: /dev/vn0a: Invalid argument |> |> BTW, doscmd_C_drive is a standard file on my FreeBSD UFS filesystem. | |I don't know anything about vnodes, but I've puzzled over that cryptic |errmessage from mount before. It's telling you that you don't have a |proper file system. You need the msdos equivalent of newfs ("format" in |DOSspeak?) before the mount command. Well, actually doscmd_C_drive is a valid FAT file system. In fact, I dd'ed it off a real disk into a file, and doscmd runs happily with it. Question is, can the vnode system handle MSDOS/FAT? For now, I just copy the files inside doscmd from the DOS prompt by pointing its D: to a UFS disk: assign hard /wd4tmp/doscmd/doscmd_C_drive 65 255 63 assign D: -ro /c but it would be useful to be able to copy files into/out of the doscmd file system (doscmd_C_drive file) w/o firing up doscmd. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message