From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GHSkh-0004Wi-M0 for garchives@archives.gentoo.org; Sun, 27 Aug 2006 22:05:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7RM27SP004351; Sun, 27 Aug 2006 22:02:07 GMT Received: from sysconcept.ca (103.205-206-12-0.interbaun.com [205.206.12.103] (may be forged)) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7RLwtb4026820 for ; Sun, 27 Aug 2006 21:58:55 GMT Received: by sysconcept.ca (Postfix, from userid 1000) id 1CD3A2EB779; Sun, 27 Aug 2006 15:59:33 -0600 (MDT) Subject: Re: [gentoo-user] fstab devmode From: Joseph To: gentoo-user@lists.gentoo.org In-Reply-To: <44F2123E.6060600@googlemail.com> References: <1156704912.6541.9.camel@sysconcept.ca> <20060827205335.GA8819@princeton.edu> <1156713929.6541.15.camel@sysconcept.ca> <44F2123E.6060600@googlemail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 27 Aug 2006 15:59:32 -0600 Message-Id: <1156715972.6541.24.camel@sysconcept.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 X-Archives-Salt: f83782d9-7166-4dcc-99e0-22fbdc174b0f X-Archives-Hash: 4416eca4f4a4b8f9c4ff14a66a56fa0b On Sun, 2006-08-27 at 23:44 +0200, Daniel Pielmeier wrote: > > It is a usb stick so it has a vfat file system. However, I've reformat > > the stick with fdisk to ext2 filesystem. With vfat it has 978mb > > capacity now after formating is to ext2 it has a 913mb capacity. > > Is there a way to create dos (vfat) partition with Linux fdisk utility? > > As far as i know fdisk is just for partitioning, i think you can use > mkfs.vfat from sys-fs/dosfstools for creating vfat file-system. Yes, that is what I want it to do. Originally my 1Mb stick with dos partition had 978Mb on it. I've partitioned it to Linux partition and formated as ext2, the free disk space went down to 913Mb So I went back to DOS partition and (with Linux fdisk it is option "t") and my usb disk space went up to 977Mb Harm Geerts is right (thanks) "umask=0077" does what I need with dos partition, when mounted, usb stick has a permission 700. What would be an alternative for ext2 file system, umask doesn't work. -- #Joseph -- gentoo-user@gentoo.org mailing list