Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Доступ к директориям на фат содержащих пробел
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Thu Jan 20, 2005 2:17 pm    Post subject: Доступ к директориям на фат соде Reply with quote

Code:
mount /mnt/fat_c
cd /mnt/fat_c
cd Documents\ and\ Settings/
alex@alex /mnt/fat_c/Documents and Settings $ ls
alex@alex /mnt/fat_c/Documents and Settings $
alex@alex /mnt/fat_c/Documents and Settings $ cat /etc/fstab | grep /mnt/fat_c
/dev/hda1               /mnt/fat_c      vfat    noauto,noatime,user,rw,exec,codepage=866,iocharset=utf8                 0 1
alex@alex /mnt/fat_c/Documents and Settings $   
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=POSIX
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

При перемонтировании без опций - та же фигня. Где искать причину?
Back to top
View user's profile Send private message
sa10
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 251
Location: Canada

PostPosted: Thu Jan 20, 2005 4:24 pm    Post subject: Reply with quote

У меня все нормально
Code:

sa@shv64 sa $ cd /mnt/hda1/Documents\ and\ Settings/
sa@shv64 Documents and Settings $ ls
Administrator  sa          Default User  NetworkService
All Users      LocalService  Пользователь
sa@shv64 Documents and Settings $
 cat /etc/fstab | grep /mnt/hda1
/dev/hda1       /mnt/hda1       ntfs            nls=koi8-r,umask=002    0 0



Поиграй с кодировками
Кажися для vfat нужно не utf8, а utf-8 говорить
Back to top
View user's profile Send private message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Thu Jan 20, 2005 4:32 pm    Post subject: Reply with quote

Ответ не правильный. читать выше
Back to top
View user's profile Send private message
d_n_k
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 138
Location: Russia

PostPosted: Thu Jan 20, 2005 4:54 pm    Post subject: Reply with quote

может из-за LANG=en_US.UTF-8
попробуй LANG=ru_RU.UTF-8
Back to top
View user's profile Send private message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Thu Jan 20, 2005 5:08 pm    Post subject: Reply with quote

Надеюсь вы не издеваетесь?
Написано - без опций тоже монтируется и тоже такая же фигня.
А теперь кто нибудь обьясните мне каким образом LC_LANG может повлиять на монтирования без всяких опций? И не то что там директории не видно, линух ведет себя так, как будто их там нет. Опции компиляции ядра стандартные для utf-8 с русским.
Back to top
View user's profile Send private message
d_n_k
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 138
Location: Russia

PostPosted: Thu Jan 20, 2005 9:51 pm    Post subject: Reply with quote

а в других каталогах номально?
а что если "Documents and Settings" переименовать в "Documents_and_Settings"(чтоб не было пробелов)?
может Windows и Linux используют разные копии таблицы fat.(что странно).
что говорит ls -a?(может что и скажет, хз).


попробуй проверить на наличие ошибок scandisk'ом.
Back to top
View user's profile Send private message
YD
Guru
Guru


Joined: 30 Oct 2004
Posts: 466
Location: Riga, Latvia

PostPosted: Thu Jan 20, 2005 9:56 pm    Post subject: Reply with quote

Сделай ls -l может просто папка пустая ? (: Если нет, то там трабла с кодировами, имхо. Было как-то такое, что win-1251, содержащая русские буквы, вообще непоказывалась в некоторых программах при UTF-8.

з.ы. Но скорей по мне так, ты просто снёс и не заметил
Back to top
View user's profile Send private message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Fri Jan 21, 2005 9:16 am    Post subject: Reply with quote

alex@alex /mnt/fat_c/Program Files $ ls -al
total 16K
dr-xr-xr-x 2 alex users 8.0K Nov 25 19:56 .
drwxr-xr-x 15 alex users 8.0K Jan 1 1970 ..

кроме Prgram Files и Documents and Settings все осталное показывается.
Нету там русских букв, нету. И директории там есть.
Back to top
View user's profile Send private message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Sat Jan 22, 2005 7:23 am    Post subject: Reply with quote

А ты уверен, что это проблема fat? Попробуй создать директорию с пробелами в линукс разделе, создать там файл и посмотри точно также ls.
Back to top
View user's profile Send private message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Sun Jan 23, 2005 5:54 pm    Post subject: Reply with quote

alex@alex ~ $ ls Desktop/Modelling/My\ Modelling/
my
alex@alex ~ $ ls Desktop/Modelling/My\ Modelling/my/
test
Back to top
View user's profile Send private message
d_n_k
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 138
Location: Russia

PostPosted: Mon Jan 24, 2005 5:29 pm    Post subject: Reply with quote

какая-то мистическая ошибка.

создай в Linux'е файлик или каталог на fat-разделе(в Documents...) и посмотри появился ли он там в DOS'е( или WinDOS'е).
Back to top
View user's profile Send private message
dwalexuk
n00b
n00b


Joined: 09 Mar 2004
Posts: 41

PostPosted: Tue Jan 25, 2005 9:04 am    Post subject: Reply with quote

мистика - это не то слово.
попробую перекомпилить ядро. хотя я этим доволен 2.6.5 gentoo r11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum