From owner-freebsd-questions@FreeBSD.ORG Sat Jan 30 19:33:39 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 EF9B71065670 for ; Sat, 30 Jan 2010 19:33:38 +0000 (UTC) (envelope-from kraduk@googlemail.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 86CE88FC0C for ; Sat, 30 Jan 2010 19:33:38 +0000 (UTC) Received: by fxm27 with SMTP id 27so1310950fxm.3 for ; Sat, 30 Jan 2010 11:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=KCJcG8OG2lWO/mCk0SDj8oyyGnNctsqOqjm8hJgPyNg=; b=o+CyRmjaB9IrZ4HJlYvHXDl9ZRUgwjHYqAaQkb270izTXJrpZdf2BtEDLlZUQqwbAv IZZu/3kS48DfJkYuqIEYxyBSV/m8feQJNDF6+a6fKb2wN0QkZAE/3CieDpLlydYhW2gc NZ6NQS3oB+Pc5EHhCWCG29yjPuuEejGW+EqzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Zv4ufe7cBY6HADQ8ohJ0Q1hgqRgCIzKpnCxwJoB4E7GCxGi6DQ/t5HRGB2YHA5Twu2 ltG8mV+rWhFeYgYPZoR4KFMbrODgYRodBKuBvWRAaTHiK/Kqe0RaPao0awVEmDJV33mB d2hoTf6zpy6YVu57j/ioE7cU2g3u47jQw7xq0= MIME-Version: 1.0 Received: by 10.239.180.201 with SMTP id j9mr236626hbg.145.1264880017261; Sat, 30 Jan 2010 11:33:37 -0800 (PST) In-Reply-To: <20100130190543.GA16205@free.bsd.loc> References: <20100130190543.GA16205@free.bsd.loc> Date: Sat, 30 Jan 2010 19:33:37 +0000 Message-ID: From: krad To: Jeff Laine Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 19:33:39 -0000 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) | > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > /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