X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=GQjlIZlg7vAsMi8PrWcA:9 a=mQzPuZ2pX3P_I5W9rbwA:7 a=FhdnA3WlrwLJJJJijM1NEdyL8NAA:4 Message-ID: <4B53E7E2.9050207@columbus.rr.com> Date: Sun, 17 Jan 2010 23:47:30 -0500 From: Paul McFerrin Reply-To: pmcferrin AT columbus DOT rr DOT com User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Cygwin Subject: I'm confussed: / vs. fstab Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com My PC has two instances of cygwin. My production is 1,7,1-1 while I'm trying to get my 1.5 working again. For my 1.5, I have populated the /c/_cygwinCD/etc/fstab with the following contents: /c/_cygwinCD/etc.$ cat fstab C:/_cygwinCD/bin on /usr/bin type ntfs (binary,auto) C:/_cygwinCD/lib on /usr/lib type ntfs (binary,auto) C:/_cygwinCD on / type ntfs (binary,auto) A: on /a type unknown (binary) C: on /c type ntfs (binary) D: on /d type unknown (binary) E: on /e type ntfs (binary) F: on /f type ntfs (binary) G: on /g type ntfs (binary) H: on /h type ntfs (binary) I: on /i type ntfs (binary) J: on /j type ntfs (binary) K: on /k type ntfs (binary) However when I startup the 1.5 system, the root (/) is set inproperly. A "cd /" fails. Some other particulars are: PATH=\_cygwinCD\bin;C:\Program Files;... OK(DOS) HOME=/home/Paul cd / ksh: cd: / - No such file or directory ENV=/home/Paul/.bash_login After reading the section on the "mount-point", I thought that shed some light on the subject but apparently not. I also linked etc/fstab to etc/fstab.d/Paul but that didn't help. Can someone identify anything I missed in the mount-point section? Another thought I'm uncertain about. When you use "mount -m" as part of fstab construction, the mount command does not output the mounted filesystems on drive C: When I re-read the mount-point section again, I discovered that words like "on" and "type" are not mentioned and should be omitted. Thus my fstab looks like: C:/_cygwinCD/bin /usr/bin ntfs (binary,auto) C:/_cygwinCD/lib /usr/lib ntfs (binary,auto) C:/_cygwinCD / ntfs (binary,auto,override) A: /a unknown (binary) C: /c ntfs (binary) D: /d unknown (binary) E: /e ntfs (binary) F: /f ntfs (binary) G: /g ntfs (binary) H: /h ntfs (binary) I: /i ntfs (binary) J: /j ntfs (binary) K: /k ntfs (binary) Note: I know that 1.5 & 1.7 are mutually exclussive. -- 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