From owner-freebsd-questions Mon Aug 5 13:51:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 900FC37B400 for ; Mon, 5 Aug 2002 13:51:46 -0700 (PDT) Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC59D43E6A for ; Mon, 5 Aug 2002 13:51:45 -0700 (PDT) (envelope-from friar_josh@webwarrior.net) Received: from twincat.vladsempire.net (12-218-27-215.client.mchsi.com [12.218.27.215]) by services.webwarrior.net (Postfix) with ESMTP id 577E8838203; Mon, 5 Aug 2002 15:51:44 -0500 (CDT) Content-Type: text/plain; charset="iso-8859-1" From: Josh Paetzel To: Peter Leftwich , FreeBSD LIST Subject: Re: mount_msdos woes Date: Mon, 5 Aug 2002 15:50:01 +0000 X-Mailer: KMail [version 1.4] References: <20020805161827.N18987-100000@earl-grey.cloud9.net> In-Reply-To: <20020805161827.N18987-100000@earl-grey.cloud9.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208051550.01368.friar_josh@webwarrior.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 05 August 2002 20:23, Peter Leftwich wrote: > Two major major major issues today involving mounting a floppy diskette!! > > Grrrr... first of all, when I `mount -t msdos /dev/fd0 /floppy/` mount a > diskette that may have been corrupted by FreeBSD, the entire system for > some reason `cd` changes to the /floppy directory. When I issue `ls -al` > my PC hangs. It won't respond to Ctrl-\ Ctrl-'.' or Ctrl-g nothing. I can > Alt-F2, Alt-F3 etc and see login prompts but nothing comes out when I type > on keys. > > While that `ls` process was trying to run and while I waited approx. 3 > minutes to see if it would give up with an error, the OS wrote to my screen > at three different times, warnings about the load (top, uptime etc). The > first was 6.60 (and it announced the ls process and its PID), then 12.47 > then 16.90 or something at which point I pressed the RESET button on my box. > > Can a little floppy disk take down FreeBSD so easily? What happened? > There are lots of things a root user can do to take a machine down, and that isn't limited to FreeBSD. > The second issue is that `mount -t msdos /dev/fd0 /floppy/` mounts a floppy > but TRUNCATES names! I did a mv command from my /etc/ folder on my HD to > the floppy disk but now it is apparent to me that mount_msdos should be > called mount_dos as it does not support long filenames (the way M$FT Dos > 8.0 and later do)!!! Ugh! > > -- > Peter Leftwich Have you taken a look at mtools in the ports collection? It saves you from having to mount the floppy at all. I'm pretty sure mount_msdos tries to use fat32 on anything it touches, not really a desirable situation at any rate. Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message