From nobody@FreeBSD.org Sat Jun 2 18:32:36 2001 Return-Path: Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 32A9237B423 for ; Sat, 2 Jun 2001 18:32:36 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f531Wai84883; Sat, 2 Jun 2001 18:32:36 -0700 (PDT) (envelope-from nobody) Message-Id: <200106030132.f531Wai84883@freefall.freebsd.org> Date: Sat, 2 Jun 2001 18:32:36 -0700 (PDT) From: ancient@gscyclone.com To: freebsd-gnats-submit@FreeBSD.org Subject: cp has weird errors trying to copy from ext2fs to freebsd X-Send-Pr-Version: www-1.0 >Number: 27842 >Category: gnu >Synopsis: cp has weird errors trying to copy from ext2fs to freebsd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 02 18:40:01 PDT 2001 >Closed-Date: Fri Jul 6 01:46:42 PDT 2001 >Last-Modified: Fri Jul 06 01:46:59 PDT 2001 >Originator: Gary >Release: 4.3-STABLE >Organization: >Environment: >Description: I mount a linux ext2fs drive to /mnt/linux. When I try and cp anything from the linux drive, I get the following message(s): cp: Invalid arguement I can read files on the drive >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: From: Peter Pentchev To: ancient@gscyclone.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: gnu/27842: cp has weird errors trying to copy from ext2fs to freebsd Date: Mon, 4 Jun 2001 09:53:38 +0300 On Sat, Jun 02, 2001 at 06:32:36PM -0700, ancient@gscyclone.com wrote: > > >Number: 27842 > >Category: gnu > >Synopsis: cp has weird errors trying to copy from ext2fs to freebsd > >Originator: Gary > >Release: 4.3-STABLE > >Description: > I mount a linux ext2fs drive to /mnt/linux. When I try and cp anything from the linux drive, I get the following message(s): > > cp: Invalid arguement > > I can read files on the drive Are you using cp(1) with the '-p' option? If so, I do believe this has something to do with PR bin/20646: for more information, see http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20646 Anyway, can you do an 'ls -l' on the files on the ext2fs system that you are trying to copy, and an 'ls -l' on the files on the UFS system after the copying ends, and also paste the exact command line that you are using? G'luck, Peter -- I am not the subject of this sentence. From: Storms of Perfection To: Peter Pentchev Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: gnu/27842: cp has weird errors trying to copy from ext2fs to freebsd Date: Mon, 04 Jun 2001 05:23:34 -0400 Actually, I found out why. I had to use the fsck_ext2fs on the ext2 partition, it cleaned some of the errors up on the drive and I can copy everything now. Perhaps someone needs to patch mount_ext2 to include a message about using the FreeBSD port "fsck_ext2fs" on a dirty ext2fs filesystem.. Gary >Are you using cp(1) with the '-p' option? If so, I do believe this has >something to do with PR bin/20646: for more information, see >http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20646 > >Anyway, can you do an 'ls -l' on the files on the ext2fs system that >you are trying to copy, and an 'ls -l' on the files on the UFS system >after the copying ends, and also paste the exact command line that >you are using? > >G'luck, >Peter > >-- >I am not the subject of this sentence. State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Fri Jul 6 01:46:42 PDT 2001 State-Changed-Why: Pilot error: the filesystem was not really clean. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27842 >Unformatted: