From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 21:17:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 540CE106564A for ; Wed, 23 Mar 2011 21:17:47 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADCD8FC0A for ; Wed, 23 Mar 2011 21:17:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp025.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LIJ00GJS4HEHH80@asmtp025.mac.com> for freebsd-questions@freebsd.org; Wed, 23 Mar 2011 14:17:39 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-23_08:2011-03-23, 2011-03-23, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103230126 From: Chuck Swiger In-reply-to: <20D9B390-3190-4865-A19E-BDEDC595E7A2@d3photography.com> Date: Wed, 23 Mar 2011 14:17:38 -0700 Message-id: <6120FA66-E11C-4DFD-BF34-915807B3DA2B@mac.com> References: <21012F71-5038-45F1-98C6-72A0B1239009@d3photography.com> <31D3BED1-7035-435F-B127-EFAAF6AFF076@mac.com> <20D9B390-3190-4865-A19E-BDEDC595E7A2@d3photography.com> To: Ryan Coleman X-Mailer: Apple Mail (2.1084) Cc: FreeBSD Mailing List Subject: Re: Automating mounting of ISO images X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 21:17:47 -0000 On Mar 23, 2011, at 1:06 PM, Ryan Coleman wrote: > I am also trying to make the directories right before the attempt to mount the image (a 'duh' moment just now). > So I'd like to have just the filename, not the full path, made as a folder... Ah, yes-- add "mkdir -p /mount/office_files/images/${DEST}" before the mount command. Someone else mentioned a use of basedir command.... Regards, -- -Chuck