Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Don't ask how this happened, because I don't know. I was using my external 200GB HD (Western digital) in windows xp using the ext2fsd drivers (it's formatted as ext3). Now that I bought a new case for it, there's a weird recursive directory in it. No, it's not just a link. I'm no noob to linux, but this is weird. How can I remove it? rm -rf just leads to recursion madness and never deletes anything. I guess the question is, can I remove it?
Last edited by captainnico; 02-02-2006 at 12:43 AM.
I don't know what a "recursive directory" is??? What exactly do you see?
I infer you are viewing it from Linux, if you tried rm -rf.
Can you also access the drive from Windows? How does the weird thing appear then?
if I cd into it, I'm still where I started, if I cd .. out of it, it takes me up a level. I can't rm -rf because the r stands for recursive, and since it's going to keep deleting the folder inside itself, it will never delete anything because it goes infinitely deep into this folder that leads to its own location. In other words, rm -rf is the same as changing into the directory and deleting the contents, then deleting the folder. This doesn't work here because the folder and the contents are one and the same. It's trippy, I know. Konqueror ignores this folder. It literally has no name. To cd into it, I have to type cd .// Windows does not see the folder using the ext2fsd, but it sees it from my linux samba share. It's not doing any harm or taking up any space, it's just an extremely odd phenomena that I would like to get rid of or at least understand.
That's a really interesting problem. If you do a lsattr on the directoy, do you see any odd attributes? There is a similar problem, unrelated, that Novell shares have with Apple, I forgot the specifics but it does what you describe, so you're not crazy. This is something that happens. My guess is that its due to some sort of obscure bug.
nothing odd, the folder in question shows up as simply ./
I really don't think there is a solution, and that this was caused by a bug in the ext2fsd, that or windows, but I think I already blame most computer problems on windows, so I'm gonna give it a break this time.
i thought ./ in linux meant the current directory and ../ means the parent directory. If you do ls -a you should see . and .. in every directory. That kind of sounds what your describing but i dunno. Hard to tell unless i could see it for myself.
current directory is simply "." Typically not used except--eg--in "./file" to run "file" without the system looking in PATH
parent directory is ".." As in "cd .." to go one up--or "cd ../newplace" to go sideways
yeah but /sbin and /sbin/ are the same thing. You can leave the backslash off. But if you did that with trying to run a script like .scriptname it might get confused and think the . is part of the scriptname. What is a galloping nitpicker?
yeah but /sbin and /sbin/ are the same thing. You can leave the backslash off. But if you did that with trying to run a script like .scriptname it might get confused and think the . is part of the scriptname. What is a galloping nitpicker?
Now we are at the Nitpickers convention.....
/xxx and /xxx/ might be the same in some contexts, but certainly not others---consider this:
mv filename /xxx
mv filename /xxx/
VERY different outcomes!!
Technically, the "/" is the divider between directory names, n'est-ce pas?
When we refer to the "root" directory, are we not really referring to an invisible directory name followed by "/"?
/sbin means go the top--no name--directory and then down one to sbin. to get the the very top, you type "/" because you can't type the invisible name!!
A "galloping nitpicker" is someone who writes posts like this....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.