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.54)
	id 1FPW1e-0002SC-4p
	for garchives@archives.gentoo.org; Sat, 01 Apr 2006 02:39:42 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k312d3tx024222;
	Sat, 1 Apr 2006 02:39:04 GMT
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202])
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k312YIuH005615
	for <gentoo-user@lists.gentoo.org>; Sat, 1 Apr 2006 02:34:19 GMT
Received: by zproxy.gmail.com with SMTP id n29so709872nzf
        for <gentoo-user@lists.gentoo.org>; Fri, 31 Mar 2006 18:34:18 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=AXyJr4NNP8eykiLD40gvAVipSXW6ta4U3MWlaVANdF2XEouIC4uch+vfeIWOlV+TmOmog92U4JXGJuUXlGSl1IxKkIDbtK+jv707G8PkHb+/mY7+Cbzvinh2EKi0YRXbD/FCaoVeyIHb50gPIIVLvHXrH0eAMruqB0RZQ8o/A2g=
Received: by 10.36.20.15 with SMTP id 15mr1551376nzt;
        Fri, 31 Mar 2006 18:34:18 -0800 (PST)
Received: by 10.36.153.1 with HTTP; Fri, 31 Mar 2006 18:34:18 -0800 (PST)
Message-ID: <e5a3e9ac0603311834i3f2e69d9ye688d0ee71c6dadb@mail.gmail.com>
Date: Fri, 31 Mar 2006 18:34:18 -0800
From: "Lord Sauron" <lordsauronthegreat@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Mounting USB Flash Drive
In-Reply-To: <442DEED3.9070306@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <e5a3e9ac0603311559l547b0000kdde777a07de5619c@mail.gmail.com>
	 <442DE779.3080108@gmail.com>
	 <e5a3e9ac0603311642iba50b5fy5c60d79fbebdb506@mail.gmail.com>
	 <442DEED3.9070306@gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k312YIuH005615
X-Archives-Salt: 7612993e-015e-4dc5-8aab-e2dd651c410a
X-Archives-Hash: 8ace0cb5c6175425ab77abf1e2f02101

On 3/31/06, b.n. <brullonulla@gmail.com> wrote:
> > I can just nano /etc/fstab and add /dev/sda1?
>
> Not only you can: you actually have to! :)
> Check the Gentoo handbook for details. When I did install Gentoo (in
> december 2004), I had to write *all* my fstab by hand, I don't know if
> now it's different.

Well, the automated installer did most of it for me, so I never got
the exposure to it.

> > I thought fstab was
> > generated by the machine or something, and that it isn't a terribly
> > good idea to edit it.
>
> A fstab file is ususally generated by the operating system installer,
> but, being it a plain text configuration file, it is thought to be
> editable by root. It has a pretty straightforward syntaxis.

Yeah, didn't take too long for me to figure out how to word what I
wanted.  Only a few tries and one reboot (don't ask).

> The machine-generated thing you shouldn't touch, instead, is /etc/mtab.
> This one contains the *current* state of mounted devices.

Okay.  That makes sense.

> > I don't have a /mnt directory.  Should I just create one?
>
> Well, you have to create an empty directory to use as a mountpoint. I
> create them inside a /mnt directory, but that's just "historical habit".
> Many distro I see around now use /media as a root directory for
> removable media mountpoints. Nothing stops you from using
> /home/sauron/whatever, although I feel symlinks are a cleaner way to
> access mount points from your home...

I made /mnt/sda1, 'cuz that's what I used about 4 years ago on a Red
Hat Linux box.  It was really messing me up with all this /media stuff
when I used Kubuntu.

> > No, I had to manually create a mount point via the GUI and then enable
> > the thing and all this stuff.  Then KDE just looked at /media and
> > slapped that on my desktop.  I mounted my windows partition (back when
> > I had one) on /media so that I could have that on my desktop too.
>
> That's the same of writing on the fstab, but managed by a gui instead of
> done by hand (editing fstab is really easy once you manage the logic of it).

Yeah, I can now see what the GUI did.  From my experience with Qt I
can safely say it was harder to make the GUI than to do it by hand.

--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
                DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========

-- 
gentoo-user@gentoo.org mailing list