cp weirdness on /dev
Net Llama!
netllama
Mon May 17 11:56:08 PDT 2004
On 11/27/03 10:03, Joel Hammer wrote:
> Yes. This is a file system problem.
>
> If I mount Machine A's share using samba on machine B, and list the file
> structure on Machine A, /dev doesn't display properly. It looks just like
> what I am seeing with cp and tar.
>
> SO, what gives?
>
> The file structure on machine A is ext2 and no devfs. Machine B uses
> reiserfs and devfs. Since only /dev is affected, I would bet on devfs.
But you can't write directly into a devfs mountpoint, which is what machine
B has, right?
> On Thu, Nov 27, 2003 at 12:29:59PM -0500, Joel Hammer wrote:
>
>>Oy. This isn't just cp.
>>
>>I tried to tar this directory structure, thinking cp was the culprit. It
>>wasn't. This command from machine B:
>>tar -cPv /mnt/jhammer6/mnt/hdc1/Backup_jhammer6/ -f jhammer6.tar
>>
>>results in the exact same problem in the dev directory as I saw with cp.
>>
>>tar -tvf jhammer6.tar
>>
>>-rwxr-xr-x root/root 0 2000-02-17 11:36:12
>>/mnt/jhammer6/mnt/hdc1/Backup_jhammer6/dev/cm206cd
>>
>>-r-xr-xr-x root/root 835731456 2003-11-27 12:04:58
>>/mnt/jhammer6/mnt/hdc1/Backup_jhammer6/dev/core
>>
>>Note that /proc was copied, not just the link.
>>
>>Now, I am using devfs on receiving machine, B. It would seem too weird
>>if THAT were the problem.
>>
>>If I tar this directory structure on machine A, it works as expected.
>>
>>This doesn't seem like a samba issue.
>>
>>Joel
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
10:35am up 1:28, 1 user, load average: 1.85, 1.14, 0.63
More information about the Linux-users
mailing list