| Summary: | cp has weird errors trying to copy from ext2fs to freebsd | ||
|---|---|---|---|
| Product: | Base System | Reporter: | ancient <ancient> |
| Component: | gnu | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
ancient
2001-06-03 02:40:01 UTC
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. 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 Pilot error: the filesystem was not really clean. |