Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-13-2006, 04:42 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 5
Rep:
|
Directory transfer question
Does anyone know of a program that would allow me to make a direct bit by bit transfer of everything contained inside a directory? My file system is screwed up so I cant see anything when I list the directory, but I can still open the files with direct paths.
Thanks.
|
|
|
05-13-2006, 05:55 AM
|
#2
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
Maybe I am not understanding this right? but if you don't know what's in the directory how are you supposed to transfer it?
|
|
|
05-13-2006, 07:01 AM
|
#3
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
There is nothing contained "inside" a directory. A directory is just a map of filenames to inodes, it's not a container. There is no such thing as a "folder".
I am also confused here, if you can open the files, what's the problem? Just cp them somewhere else.
|
|
|
05-13-2006, 01:29 PM
|
#4
|
LQ Newbie
Registered: May 2006
Posts: 5
Original Poster
Rep:
|
When I try to list the contents of a directory I see nothing, not even folder names, the entire drive is also in write only mode, but I can cd through the directories even though I cant see them, I can even open files in nano if I give it the direct path. It is quite weird.
|
|
|
05-14-2006, 07:40 AM
|
#5
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
When you say list, I assume you mean ls. What about other tools, are they all the same? e.g. find.
|
|
|
05-15-2006, 08:10 AM
|
#6
|
LQ Newbie
Registered: May 2006
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by ioerror
When you say list, I assume you mean ls. What about other tools, are they all the same? e.g. find.
|
Yes I was using ls, I also tried dir. Same results with find, which is to say none at all.
|
|
|
05-15-2006, 09:07 AM
|
#7
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Have you run fsck?
|
|
|
All times are GMT -5. The time now is 01:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|