2 small problems with slackware 12.1!!!!
Hi
i've just install slackware 12.1 and i can't remove empty directory in my ntfs mounted partition. Here is the output of ls in the preferred directory: mpregos@zxcvb:/mnt/160GB_Share/music/MP3 - 2008(full albums)/Eleonwra Zouganelh - Ela$ ls mpregos@zxcvb:/mnt/160GB_Share/music/MP3 - 2008(full albums)/Eleonwra Zouganelh - Ela$ (and as root is same) and here is the rm -rf output: root@zxcvb:/mnt/160GB_Share/music/MP3 - 2008(full albums)# rm -rf Eleonwra\ Zouganelh\ -\ Ela/ rm: cannot remove directory `Eleonwra Zouganelh - Ela/': Directory not empty root@zxcvb:/mnt/160GB_Share/music/MP3 - 2008(full albums)# My fstab file has the follow: /dev/hdb1 /mnt/160GB_Share ntfs-3g umask=000 1 0 |
You can't be sure it's empty if you do just "ls" - hidden files for example are not shown. Try it again with "ls -a" and see if something tries to hide in there :cool:
The "rm" command though *should* remove it, even if there is something left. I would make another attempt from X with any file manager of your choice. |
titopoquito u are right about ls command.
i provide ls -al and same result, dir is empty. I tried via nautilus to delete the directory but same error occurred : the directory is not empty any other ideas???????????? |
Do you access this partition through Windows as well? If you do, check if there are files with foreign (accented) characters.
Without the proper configuration, ls simply won't show these files. If you have international characters in your files, try this in your fstab: Code:
/dev/hdb1 /mnt/160GB_Share ntfs-3g umask=000,locale=<your_locale> 1 0 In my case it's pt_BR for 'Portuguese (Brazil)' |
Filesystem type is ntfs of the specific partition.
I boot in Vista and i show that the folders that i want to delete are not empty . they have mp3 with greek file names. Perhaps is the locale....i'll try and i'll send feedback as well. |
OK, then you definitely need to set your locale on mounting the NTFS partition.
I'm not sure about Greek locales, but I guess it should be el_GR or el_GR.utf8 in your case. |
Problem solved.
The fix was about locale definition in fstab. The new fstab file looks like this: /dev/hdb1 /mnt/160GB_Share ntfs-3g umask=000,locale=el_GR.utf8 1 0 For greek version..... Thanks niels |
All times are GMT -5. The time now is 05:43 PM. |