From owner-freebsd-arch@FreeBSD.ORG Sat Feb 7 13:47:30 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2001F106567A for ; Sat, 7 Feb 2009 13:47:30 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-fx0-f14.google.com (mail-fx0-f14.google.com [209.85.220.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7CAEF8FC1B for ; Sat, 7 Feb 2009 13:47:29 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by fxm7 with SMTP id 7so45200fxm.19 for ; Sat, 07 Feb 2009 05:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=bytNI7whMOEb+43mPlFtZ/r00NsLztRE/HftH7tMTsw=; b=E5GuMnRHnj+r7yopngXHwXF+jTvU4/6Wh423fDo/WiMPrDJYrfyEQc28Wd0dFzDs48 VT9lof5BNvc8jATGcdtGXdWQwnTAaHThfYGE857KxXo0sqXx3VZSzo0J17BpY9GIAb0M re3hEpFH3gwlUJqSIaCLIGMcOW18oXjvymogA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=UlrBRoHjD4t0104CdzXH0Q455G+9WpREvLPDmIWv6Jy5/Gi3qxXbJ/wnolNBIbw8bp nXLM/E4E7jcyxlPVpwuRJkQz5AYW4IrTcfSDPsjeLUQc0UlBqgtPw+BUVIr77QlAfG2+ Pgg6eSlU1jbObtHPpn57KqOXv314hOLdB3/QY= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.181.206.7 with SMTP id i7mr997116bkq.126.1234013181049; Sat, 07 Feb 2009 05:26:21 -0800 (PST) In-Reply-To: <87y6wivnmg.fsf@kobe.laptop> References: <87y6wivnmg.fsf@kobe.laptop> Date: Sat, 7 Feb 2009 14:26:21 +0100 X-Google-Sender-Auth: af955c5aca0078b6 Message-ID: <9bbcef730902070526q7c35a08dmfe98277d2029da7b@mail.gmail.com> From: Ivan Voras To: Giorgos Keramidas Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: mount(8) in /stand? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 13:47:30 -0000 2009/2/7 Giorgos Keramidas : > On Sat, 07 Feb 2009 03:16:46 +0100, Ivan Voras wrote: >> Judging by Google's results I'm only one of many people frustrated by the >> lack of mount(8) in the "emergency holographic shell". My problem is that >> I have everything I need to install the system (on a "netbook" laptop - >> no CD reader) on the USB drive I booted from, but no way to get to the >> data (the network drivers need to be patched before they can be used so >> net install is out, sysinstall doesn't recognize the directory structure, >> has no way of mounting msdosfs, etc.). I see the mount executable is ~~ >> 17 kB: >> >> -r-xr-xr-x 1 root wheel 17232 Dec 29 15:29 /sbin/mount* >> >> This is about the third time I needed it in similar circumstances so is >> probably not unreasonable to request it be crunched in for the future? >> It's certainly one of the basic emergency utilities. > > You have to account for the size of several mount_xxx executables too. > My userland is now installed with DEBUG_FLAGS='-g' so the sizes are not as > large as they seem below, but we need at least *some* of these to be in > `/stand' before `/stand/mount' is usable e.g. for cd9660 mounts: What is the relationship between mount and mount_xxx? Is it that some file systems cannot be mounted at all if there's no mount_xxx or it's just there to provide advanced or unusual options? Actually what I'm asking is: can "local" file systems that normally have mount_xxx be mounted just with mount, assuming all options default, or they specifically and unconditionally require the special mount_xxx? I think msdosfs, cd9660 and udf are most important here.