From owner-freebsd-questions@FreeBSD.ORG Sat Jan 30 22:23:52 2010 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 262DC106566B for ; Sat, 30 Jan 2010 22:23:52 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A82AF8FC16 for ; Sat, 30 Jan 2010 22:23:51 +0000 (UTC) Received: by fxm27 with SMTP id 27so1383942fxm.3 for ; Sat, 30 Jan 2010 14:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:x-operating-system:user-agent; bh=hNtiUuC0XArkr7bge8rHQd8cPfUQuIQYBYbyhBJoxkk=; b=O+CHLToawMiNgfLZclJl+BSLhgjouaiLB2kt6iq7ZcTWaF9HLY3gbvD/poU1eQQxNL qA0jKL+zGZWqMGSyo1omjrBvbs9SNhnn1BfalCA9axocFKL3OSUifYEkhfVUrjeN0o4+ fii6mBJRSMR9BE3JD5RXPKYE30H9p9X9BdzY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :user-agent; b=mVzp1NXaQWZAthXFr+jdnQQT1MKQ/HZQZBVUkmOAB6VmSKw+BIY5P/TlwVMI2nUz01 pN2vSedncBUwedLtKcHbtGd9TarppfOycf2ygybfI710O7Sz7wj2YH1pTY10Mb73q9Oz 1G+pKSZpIR1RQHxgPozhAVJfRpYknU9x1S6F8= Received: by 10.86.236.26 with SMTP id j26mr4002786fgh.77.1264890230484; Sat, 30 Jan 2010 14:23:50 -0800 (PST) Received: from aperture_lab ([77.66.145.99]) by mx.google.com with ESMTPS id e11sm4875950fga.13.2010.01.30.14.23.47 (version=SSLv3 cipher=RC4-MD5); Sat, 30 Jan 2010 14:23:49 -0800 (PST) Received: by aperture_lab (sSMTP sendmail emulation); Sun, 31 Jan 2010 01:23:42 +0300 Date: Sun, 31 Jan 2010 01:23:42 +0300 From: Jeff Laine To: krad Message-ID: <20100130222341.GA17449@free.bsd.loc> References: <20100130190543.GA16205@free.bsd.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.0-RELEASE i386 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: fstab syntax 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: Sat, 30 Jan 2010 22:23:52 -0000 On Sat,30-01-2010 [19:33:37], krad wrote: > On 30 January 2010 19:05, Jeff Laine wrote: > > > Hello, > > > > My question is regarding /etc/fstab synax. > > How can I use spaces and quote symbols in my device name? > > I tried to use double quotes and backslash, but no luck so far. > > I.e. I'd like to put the following line: > > > > /dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0 > > > > Any ideas? > > > > > > -- > > Best regards, > > Jeff > > > > | "Nobody wants to say how this works. | > > | Maybe nobody knows ..." | > > | Xorg.conf(5) | > > > > /dev/msdosfs/MY\ FLASH /mnt/flash msdosfs rw,noauto 0 0 > > or > > "/dev/msdosfs/MY FLASH" /mnt/flash msdosfs rw,noauto 0 0 > > should work, but i guess you tried these? > > The alternative way would be to use the UUID of the drive, as that wont have > spaces in, and is more versatile than /dev/das1a type syntax Yep, neither is working. After all I used glabel to generate a new label and avoid reformatiing my volume.