public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /etc/fstab
@ 2011-08-10 22:18 J.V.
  2011-08-11  9:18 ` /etc/fstab Thorsten Kampe
  0 siblings, 1 reply; 4+ messages in thread
From: J.V. @ 2011-08-10 22:18 UTC (permalink / raw)
  To: cygwin

What is the exact line I should put in /etc/fstab to get C:\ mounted to 
/c   on Windows 7?

How do I edit the documentation to put this line as the very first line 
in that section for /etc/fstab?

I really do not care about all the crap I have to read there, I just 
want the frikken line to put in the file.

The documentation makes me think.  Please do not make me think.

Is there a reason this does not come by default?  Is cygwin installed on 
non windows systems like Linux?

jeez, why is this so complicated?  Why am I forced to think about crap 
like this?


J.V.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/fstab
  2011-08-10 22:18 /etc/fstab J.V.
@ 2011-08-11  9:18 ` Thorsten Kampe
  0 siblings, 0 replies; 4+ messages in thread
From: Thorsten Kampe @ 2011-08-11  9:18 UTC (permalink / raw)
  To: cygwin

* J.V. (Wed, 10 Aug 2011 16:17:42 -0600)
> What is the exact line I should put in /etc/fstab to get C:\ mounted to 
> /c   on Windows 7?

none / cygdrive binary,posix=0,user 0 0

> The documentation makes me think.  Please do not make me think.

I know, thinking can sometimes hurt. This is because you seem not used 
to it.
 
> Is there a reason this does not come by default?

If you think (ouch!) about it, you will realize that you'll get a mess 
of Cygwin directories and (depending on the number of local drives and 
mapped network shares) single letter directories on the root. For the 
same reason, you don't mount all your external drives or shares on Linux 
to / but to /mnt or /media.

> Is cygwin installed on non windows systems like Linux?

"Cygwin - Get that Linux feeling - on Windows!" (headline at 
http://cygwin.com/). Does that answer your question?

> jeez, why is this so complicated? Why am I forced to think about crap
> like this?

If you think (sorry!) about it, you'd realize that there is nothing 
complicated in typing /c<TAB>c. Actually there is nothing more simple 
than that.

Thorsten


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/fstab
  2011-08-11  6:47 /etc/fstab Fergus
@ 2011-08-11 16:31 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2011-08-11 16:31 UTC (permalink / raw)
  To: cygwin

On 8/11/2011 2:46 AM, Fergus wrote:
> I think the required line in /etc/fstab is
> none / cygdrive user,posix=0 0 0
> but actually (here, ages ago, shortly after 1.7 was first presented) I
> deleted /etc/fstab entirely*.
> To achieve your particular purpose, which I like too, I just have
> /bin/mount -c "/"
> in ~/.bashrc, so that C:\ is /c/, E:\ is /e/, and so on.
> * I haven't a clue what this file does or why it matters. But nothing seems
> broken. Not that I am recommending this approach (I'm not in any position to
> recommend anything) -- but it works fine for me and has permanently removed
> a nagging worry (as in "What Is This and Why Does It Seem To Matter So Much?")

Fergus, since you have a process that works for you, my response is not
so much directed at you as to anyone else that might find this thread in
the archives.  If anyone has a similar question about '/etc/fstab' and
its purpose, please see the Cygwin User's Guide section on it:

<http://cygwin.com/cygwin-ug-net/using.html#mount-table>


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/fstab
@ 2011-08-11  6:47 Fergus
  2011-08-11 16:31 ` /etc/fstab Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: Fergus @ 2011-08-11  6:47 UTC (permalink / raw)
  To: Cygwin ML; +Cc: Fergus

I think the required line in /etc/fstab is
none / cygdrive user,posix=0 0 0
but actually (here, ages ago, shortly after 1.7 was first presented) I 
deleted /etc/fstab entirely*.
To achieve your particular purpose, which I like too, I just have
/bin/mount -c "/"
in ~/.bashrc, so that C:\ is /c/, E:\ is /e/, and so on.
* I haven't a clue what this file does or why it matters. But nothing 
seems broken. Not that I am recommending this approach (I'm not in any 
position to recommend anything) -- but it works fine for me and has 
permanently removed a nagging worry (as in "What Is This and Why Does It 
Seem To Matter So Much?")
Fergus

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-11 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10 22:18 /etc/fstab J.V.
2011-08-11  9:18 ` /etc/fstab Thorsten Kampe
2011-08-11  6:47 /etc/fstab Fergus
2011-08-11 16:31 ` /etc/fstab Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).