This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tar a filesystem outside of /cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]