Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7415677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:20:54+00:00 2026-05-29T07:20:54+00:00

I want to transfer a character device file created using cygwin (running on windows

  • 0

I want to transfer a character device file created using cygwin (running on windows xp) to a Linux machine. I am unable to get this to work.

In cygwin using the mknod command I get a file called test with permissions like the following:

crw-r–r–

C denotes “Character File”.

On Linux (Red Hat 5) the file is not recognized. Instead the file name is test.lnk and the permissions are as followed:

-r-xr-xr-x

So my question – is this possible?

More Details:

I thought it might be worth while adding what I was tasked to do. My task: untar a Linux OS tarball using a windows machine and upload it to a Linux server using NFS. The tarball has “character device” files that are not transferring correctly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:20:56+00:00Added an answer on May 29, 2026 at 7:20 am

    Question Answer:

    After a week I was able to answer my own question after hours of reading.

    Cygwin or any other UNIX (Windows Interix) POSIX environment cannot mingle special file types. You cannot create special files like character files or pipe files using those tools and transfer them over to Linux.

    So all my scripts don’t work.

    Task Answer:

    I was tasked to write a script that would transfer a linux OS tarball from windows to a linux machine using NFS.

    I got this to work using a virtual machine. I installed a virtual Linux OS on top of Windows XP and used the linux VM to mount a NFS client to a linux NFS server.

    How To:-

    1.) Install a Virtual Machine. I recommend Virtual Box!

    2.) Install Red Hat Linux. I used RHEL 5.7.

    3.) Install the Virtual Box Guest Additions. This allows you to “easily” share files/folders from windows to linux.

    How to Setup Guest Additions

    How to Setup Shared Folders

    4.) Set the network type for the guest OS(Linux VM) to “Bridge” or “Host Only Networking”. This will allow you to SSH using Putty from Windows Host OS to Linux Guest/Virtual OS.

    Virtual Box Networking

    5.) Now you can write a script to transfer the tarball (with special character files) from windows to the virtual linux then from the virtual linux to the Linux NFS server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows form that executes a batch file. I want to transfer
This is my hole code which I am using, I want to transfer scrollViewCintroller
I want to transfer files across the network using C or C++. What topics
Suppose I want to transfer just a portion of a file over FTP -
I want to transfer data from a vertical db layout like this: --------------------- |
I want to transfer files from one directory to another using streamreader and writer
say I want to write a windows application in which i want to transfer
I want to transfer a file from 1 php server (A) to another php
Well i want to transfer different chunks of data to client machine , by
I have this problem that i want to transfer specific ( yet not that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.