Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2002 15:50:01 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>, FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: mount_msdos woes
Message-ID:  <200208051550.01368.friar_josh@webwarrior.net>
In-Reply-To: <20020805161827.N18987-100000@earl-grey.cloud9.net>
References:  <20020805161827.N18987-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208051550.01368.friar_josh>