From nobody@FreeBSD.org  Mon Jul 17 14:21:38 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8D74C16A4E6
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Jul 2006 14:21:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 554D343D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Jul 2006 14:21:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6HELbSQ002384
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Jul 2006 14:21:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6HELbVK002379;
	Mon, 17 Jul 2006 14:21:37 GMT
	(envelope-from nobody)
Message-Id: <200607171421.k6HELbVK002379@www.freebsd.org>
Date: Mon, 17 Jul 2006 14:21:37 GMT
From: Bengt Ahlgren <bengta@sics.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [sysinstall] live CD fixit mount does not find mount_msdosfs
X-Send-Pr-Version: www-2.3

>Number:         100436
>Category:       bin
>Synopsis:       sysinstall(8): live CD fixit mount does not find mount_msdosfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kensmith
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 17 14:30:11 GMT 2006
>Closed-Date:    
>Last-Modified:  Tue Jan 22 15:15:48 UTC 2008
>Originator:     Bengt Ahlgren
>Release:        FreeBSD 6.1-RELEASE
>Organization:
>Environment:
>Description:
I used the fixit mode of the install CD with the live
filesystem CD option, which mounts the CD as /mnt2.

I then tried to mount a USB stick with a msdos filesystem,
but the mount command didn't find the mount_msdosfs program.

>How-To-Repeat:
Boot from install CD (disc1)
Choose fixit
Choose the live filesystem option
Insert USB stick

Fixit# mount -t msdos /dev/da0s1 /mnt
mount: exec mount_msdosfs not found in /sbin:/usr/sbin: No such file or directory
Fixit#

>Fix:
Since the mount_msdosfs program is there on the CD, an easy
workaround is:

Fixit# ln -s /mnt2/sbin/mount_msdosfs /sbin
Fixit# mount -t msdos /dev/da0s1 /mnt

(As a side note, this proved to be a very useful way to run
the ntfsresize program! Don't forget to include the shared
library and run ldconfig!)

If it is undesirable to build the mount program using a different
_PATH_SYSPATH (from paths.h), a solution to the problem would be
for sysinstall to change the /sbin symlink to point to /mnt2/sbin.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jul 18 04:25:47 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100436 
Responsible-Changed-From-To: freebsd-bugs->kensmith 
Responsible-Changed-By: kensmith 
Responsible-Changed-When: Tue Jan 22 15:14:01 UTC 2008 
Responsible-Changed-Why:  

I'll take a look.  As a first guess this won't happen in RELENG_7 or 
earlier because we still at least try to support floppies but for 
8.X we can probably add this and a few similar things to /stand on 
the MFS since we'll care a bit less about its size. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=100436 
>Unformatted:
