Автомонтирование в Debian
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda5 none swap sw 0 0 /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /dev/hdb1 /mnt/winc ntfs defaults 0 0 /dev/hdb5 /mnt/wind ntfs defaults 0 0
При загрузке hdb монтируется, однако я не могу просмотреть содержимое этих дисков под юзером. Это получается сделать только рутом. Как можно сделать доступ юзерам к файлам на этом диске?
/usr/include/sqlplus/sql_query1.hh: In member function ‘SQLQuery& SQLQuery::update(const T&, const T&)’: /usr/include/sqlplus/sql_query1.hh:171: error: ‘sql_use_compare’ was not declared in this scope /usr/include/sqlplus/compare1.hh: In member function ‘bool MysqlCmpCStr<BinaryPred>::operator()(const MysqlRow&) const’: /usr/include/sqlplus/compare1.hh:26: error: ‘cmp2’ was not declared in this scope /usr/include/sqlplus/compare1.hh:26: error: ambiguous overload for ‘operator[]’ in ‘cmp1[index]’ /usr/include/sqlplus/row1.hh:259: note: candidates are: const MysqlColData MysqlRow::operator[](int) const <near match> /usr/include/sqlplus/row1.hh:266: note: virtual const MysqlColData MysqlRow::operator[](unsigned int) const <near match> /usr/include/sqlplus/compare1.hh:26: error: there are no arguments to ‘func’ that depend on a template parameter, so a declaration of ‘func’ must be available /usr/include/sqlplus/compare1.hh:26: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/sqlplus/coldata3.hh: In member function ‘mysql_ColData<Str>::operator MysqlNull<T, B>() const’: /usr/include/sqlplus/coldata3.hh:19: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available /usr/include/sqlplus/coldata4.hh: In member function ‘Type mysql_ColData<Str>::conv(Type) const’: /usr/include/sqlplus/coldata4.hh:23: error: there are no arguments to ‘c_str’ that depend on a template parameter, so a declaration of ‘c_str’ must be available /usr/include/sqlplus/set3.hh: In member function ‘std::ostream& MysqlSet<Container>::out_stream(std::ostream&) const’: /usr/include/sqlplus/set3.hh:23: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available /usr/include/sqlplus/set3.hh:24: error: there are no arguments to ‘end’ that depend on a template parameter, so a declaration of ‘end’ must be available
которые никак не связаны с исходниками программы, которую я собираю. Что это такое? Битый пакет с libqslplus1-dev или же я что-то не настроил или неправильно импортировал проект?
make[7]: Entering directory `/usr/src/mono-1.2.2.1/mcs/class/corlib' make all-local make[8]: Entering directory `/usr/src/mono-1.2.2.1/mcs/class/corlib' make[8]: *** Нет правила для сборки цели `System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs', требуемой для `../../class/lib/basic/mscorlib.dll'. Останов. make[8]: Leaving directory `/usr/src/mono-1.2.2.1/mcs/class/corlib' make[7]: *** [do-all] Ошибка 2
Я глянул Makefile, но нифига там не понял. В общем - если кто-то сталкивался с подобным, напишите, напишите плз.
#include <linux/pci.h>
При компиляции начинает страшно ругаться на ошибки в этом хидере и в других хидерах объявленных в нем. Шо это может быть? Работаю в Debian 3.1, ядро 2.4.27-2-386. Использовал сначала файл, который лежит в /usr/include/linux.pci.h, потом пробовал юзать тот, который лежит в /usr/src/kernel-source-2.4.27-2-386/include/linux - с тем же результатом. Это что, у разработчиков руки кривые или я что-то неправильно делаю. Компилирую модуль
gcc -c mymodule.c
Огромная просьба к людям соображающим в этом деле написать свои мылы, аськи или жабберы.
Моя аська - 293-757-480, жаббер - murr@jabber.od.ua.