Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 12 Dec 2000 13:39:53 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: tar a filesystem outside of /cygwin
Message-ID: <20001212133953.I3082@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20001212173519.8549.qmail@web112.yahoomail.com> <20001212133037.A13142@skink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <20001212133037.A13142@skink.net>; from davis@skink.net on Tue, Dec 12, 2000 at 01:30:37PM -0500

On Tue, Dec 12, 2000 at 01:30:37PM -0500, John F. Davis wrote:
>On Tue, Dec 12, 2000 at 09:35:19AM -0800, Earnie Boyd wrote:
>> --- "John F. Davis" <davis@skink.net> wrote:
>> > Hello
>> > 
>> > I am trying to tar a filesystem outside of /cygwin.  I saw in the faq
>> > the note about not installing cygwin in the c:/ direcotry.  Copying the
>> > filesystem outside /cygwin to /cygwin so I can do a tar is not an option.
>> > This is a rather large filesystem I am trying to tar.
>> > 
>> > Any other ideas?
>> > 
>> 
>> If I have c:\cygwin and c:\foo and I want to access c:\foo with the Cygwin
>> structure I would simply
>>   mkdir /foo
>>   mount [-b] [-s] c:/foo /foo
>>   tar -cf foo.tar /foo
>> :).  If you're not familiar with the mount command please reference the
>> documentation at http://cygwin.com.
>> 
>> Cheers,
>> 
>> =====
>> Earnie Boyd
>> mailto:earnie_boyd@yahoo.com
>
>Hello
>
>That does it.  Here is my setup.
>
>/cygwin is where cygnus is installed.
>/progs is where I have a large filesystem I want to backup with tar.
>
>mkdir /progs
>mount c:/progs /progs
>and then I can tar it.
>
>Any particular reason why I can't mount a filesystem in /home?
>i.e., cd /home/davis
>mkdir progs
>mount c:/progs /progs
>The mount says, "mount: progs: Invalid argument

That would indicate that you've already mounted '/progs'.
Just type 'mount' and you should see that.

To rectify, either use the '-f' switch to mount or 'umount /progs'
first.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

