Entra

View Full Version : Consigliatemi una guida per montare HD usb esterni (riesco solo in lettura)!


bibi9000
10-10-2007, 18:17
Ho installato un nuovo HD usb da esterno 500Gb (7200sata).
Ho configurato FSTAB in questo modo:

/dev/sda1 /mnt/usb1 ntfs rw,defaults 0 0

Ho provato a sostituire ntfs con "auto" ma niente

SPIEGAZIONE:
0-sono entrato con user(per accedere a linux "nome utente all'accesso"): root
1-Inserisco usb dell'HD sul PC linux.
2-Il Pc linux mi riconosce l'hd ma non lo monta.
3-Dopo che ho modificato FSTAB provo a fare monta(con il tasto destro) sul HD ma niente ....dandomi il seguente errore:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,

missing codepage or other error

in some cases useful info is found in syslog - try

dmesg | tail or so

3A- Ho provato a fare login con: saturno
Ho provato a montare HD cliccando mount con il tasto destro ma niente
ora ho il seguente errore:
Mount: only root can mount /dev/sda1 on /mnt/usb1
Ho controllato per questo login che la cartella usb1 i seguenti permessi :
lettura scrittura...... per il propietario del files "saturno" e per il gruppo di files "luca" (luca è la Home dell'utente SATURNO)
Poi sulla stessa cartella /mnt ci sta anche "DATI1" che rappresenta la cartella della partizione hda3 ...qui la partizione cioè HD interno lavora perfettamente pur avendo gli stessi permessi.


4-Faccio partire Gparted controllo l'unità che sia corretta...infatti ho aperto sda1 e ho controllato che sia ntfs.
5-con il tasto destro scelgo di fare monta unità su /dev/usb1 come da FSTAB
6-l'unità riesce a caricarsi ma solo in modalità lettura.
COME posso scrivere sull'HD è stato sbagliato qualcosa????

Consigliatemi una guida su FSTAB e su come montare dischi USB!

grazie mille a tutti ciao

Gimli[2BV!2B]
10-10-2007, 20:43
Fstab non deve essere conivolto nel montaggio di periferiche di memorizzazione USB.

I dischi USB (chiavette) vengono montati automaticamente all'inserimento se e solo se è presente ed attivo un insieme di programmi e servizi.

Primo elemento fondamentale: rimuovi ogni riferimento a device sd* relativi all'usb da fstab.

Ora controlla di avere installato sulla tua distribuzione pmount, hal, dbus ed ntfs-3g (e relative dipendenze richieste).
Se usi Gnome sembra occorra anche gnome-volume-manager.
Se usi Kde ecco cosa devi fare. (http://guide.debianizzati.org/index.php/Kde_e_mount_automatico) In questa guida è citato dbus-1, si tratta di un nome vecchio del pacchetto dbus.

Se usi *buntu esiste un pacchetto magico che ti risolve il problema del montaggio automatico di dispositivi ntfs in lettura e scrittura. (http://ubox.wordpress.com/2007/04/02/ntfs-3g-leggere-e-scrivere-su-hard-disk-ntfs/)

Una precisazione: se vuoi scrivere su di un supporto ntsf devi usare ntfs-3g.

Spero di non aver dimenticato nulla.

bibi9000
11-10-2007, 00:17
grazie mille per la tua risposta.

Ho letto anche questo
INSTALLAZIONE DEL SOFTWARE E SUO USO

Autore: NZ

Installazione del software partendo dai sorgenti:

scompatti il tar.gz con:
tar zxvf nomefile.tar.gz
entri nella directory appena scompattata e ti leggi subito il README che spesso da importanti info sull'installazione o sulle dipendenze del programma.
Nel 90% dei casi, per installare apri la shell, col comando cd ti posizioni dentro la directory scompattata e poi lanci nell'ordine:
./configure
make
make install
Per disinstallare:
make uninstall

Ciao
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al
andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12
Ultima modifica di ilsensine : 18-07-2003 alle 08:48.
ilsensine è offline Segnala messaggio


Ho controllato i tuoi files e su synaptic mi manca il files ntfs-3g che ho scaricato da internet
Ho eseguito come da guida l'installazione del files ma
1 non riesco ad eseguire make e make install ho provato a fare anche sudo make install ( ma niente)

SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# make
make: *** No targets specified and no makefile found. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# make install
make: *** No rule to make target `install'. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# sudo make install
make: *** No rule to make target `install'. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004#

2 non centra molto con questo ... ho xmail che mi da errore ogni volta che installo un pacchetto!

sarà installato ugualmente???

ora se monto HD portatile l'errore che mi daa è il seguente:
libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set.

process 3730: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application.

errore: impossibile eseguire pmount


il pacchetto lib hal è installato.
ciao e grazie

Fugazi
11-10-2007, 02:04
Quando installi da sorgente segui le istruzioni che trovi nella cartella degli stessi sorgenti, sono 2 file di testo README e INSTALL (scritti proprio così, maiuscoli).

Il 90% delle volte la procedura è standard ma c'è quel 10% che ti frega :D

Gimli[2BV!2B]
11-10-2007, 21:41
Molto strano che non trovi il pacchetto ntfs-3g... come molto strano è l'errore relativo a libhal-storage che hai postato.

Ma che distribuzione stai usando? La tieni aggiornata? Hai aggiunto qualche repository alla lista di default?

bibi9000
12-10-2007, 00:03
Ora controlla di avere installato sulla tua distribuzione pmount, hal, dbus ed ntfs-3g (e relative dipendenze richieste)
Scusami... ho controllato: pmount OK, hal OK, dbus Ok, dbus1 OK, ntfs-3gOK (installato da sorgente ./configure - make e make install......però prima visto che non si installava perchè mancava FUSE ho aggiunto quessta sorgente e ho configurato e fatto make install)

Ora è tutto OK installati tutti i servizzi...

errore relativo a questo

Quote:
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# make
make: *** No targets specified and no makefile found. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# make install
make: *** No rule to make target `install'. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# sudo make install
make: *** No rule to make target `install'. Stop.
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004#

perchè non era andato a buon fine configure

mentre questo errore
libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set.

process 3730: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application.

errore: impossibile eseguire pmount
non esce più fuori.

UNA COSA:
Ora riesco a montare l'unità ma per poterla scrivere... mi diche che è in sola lettura e se vado a cambiare l'opzione della cartella mi scrive questo:
Impossibile cambiare i permessi di «HDD PACKARD BELL» perché si trova in un disco in sola lettura
come procedere


grazie ciao:)

Gimli[2BV!2B]
12-10-2007, 00:46
Purtroppo se non usi *buntu ed usi dischi esterni usb formattati in ntfs devi avere la pazienza di montarli a mano (spero che si decidano a considerare ntfs-3g pronto per l'integrazione in hal ecc...).

Prima edita da root il file /etc/pmount.allow ed aggiungici /dev/sd[NOME DEL DEVICE USB RICONOSCIUTO] (per esempio sda1, sdb2, ecc... se non sai il nome del device da un'occhiata a dmesg | tail).

Ora potrai eseguire da utente normale pmount -t ntfs-3g sd[DEVICE_USB] per montarlo in lettura e scrittura, mentre per smontarlo prima di staccarlo pumount sd[DEVICE_USB].

Vedrai apparire l'icona sul desktop (così mi succede su Kde...).

bibi9000
13-10-2007, 16:32
nuovo errore nel terminale
SATURNO:~# pmount -t ntfs-3g /sda1
Errore: file system «ntfs-3g» non valido


Possono crearsi degli errori se si riconfigura il pacchetto.
Io l' ho fatto con il risultato = a prima:

Ho installato fuse perchè richiesto dopo ./configure di ntfs-3g

config.status: executing depfiles commands
****************************************************************************
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
* The FUSE user space binaries were NOT installed with root directory *
* executable prefix. This means that automounting NTFS volumes during boot *
* could fail. This can be fixed the below way by reinstalling FUSE using *
* the right 'configure' option during FUSE compilation: *
* ./configure --exec-prefix=/ *
* make && sudo make install *
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
****************************************************************************
You can type now 'make' to build ntfs-3g.


Ho eseguito ./configure di fuse poi make && sudo make install

QUOTE
SATURNO:/home/luca/02SOFTWARE/fuse/fuse-2.7.0# ./configure --exec-prefix=/
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for fork... yes
checking for setxattr... yes
checking for fdatasync... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... -lrt
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating fuse.pc
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating util/Makefile
config.status: creating example/Makefile
config.status: creating include/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in kernel (/home/luca/02SOFTWARE/fuse/fuse-2.7.0/kernel)
configure: running /bin/sh ./configure '--prefix=/usr/local' '--exec-prefix=/' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking if FUSE is loaded as a module... yes
checking if FUSE module is from official kernel... yes
configure:
NOTE: Detected that FUSE is already present in the kernel, so
NOTE: building of kernel module is disabled. To force building
NOTE: of kernel module use the '--enable-kernel-module' option.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
SATURNO:/home/luca/02SOFTWARE/fuse/fuse-2.7.0# make && sudo make install
Making all in kernel
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/kernel'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/kernel'
Making all in include
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make all-am
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
Making all in lib
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
Making all in util
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
Making all in example
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
Making install in kernel
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/kernel'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/kernel'
Making install in include
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/fuse" || mkdir -p -- "/usr/local/include/fuse"
/usr/bin/install -c -m 644 'fuse.h' '/usr/local/include/fuse/fuse.h'
/usr/bin/install -c -m 644 'fuse_compat.h' '/usr/local/include/fuse/fuse_compat.h'
/usr/bin/install -c -m 644 'fuse_common.h' '/usr/local/include/fuse/fuse_common.h'
/usr/bin/install -c -m 644 'fuse_common_compat.h' '/usr/local/include/fuse/fuse_common_compat.h'
/usr/bin/install -c -m 644 'fuse_lowlevel.h' '/usr/local/include/fuse/fuse_lowlevel.h'
/usr/bin/install -c -m 644 'fuse_lowlevel_compat.h' '/usr/local/include/fuse/fuse_lowlevel_compat.h'
/usr/bin/install -c -m 644 'fuse_opt.h' '/usr/local/include/fuse/fuse_opt.h'
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
/usr/bin/install -c -m 644 'old/fuse.h' '/usr/local/include/fuse.h'
/usr/bin/install -c -m 644 'ulockmgr.h' '/usr/local/include/ulockmgr.h'
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/include'
Making install in lib
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
test -z "//lib" || mkdir -p -- "//lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libfuse.la' '//lib/libfuse.la'
libtool: install: /usr/bin/install -c .libs/libfuse.so.2.7.0 //lib/libfuse.so.2.7.0
libtool: install: (cd //lib && { ln -s -f libfuse.so.2.7.0 libfuse.so.2 || { rm -f libfuse.so.2 && ln -s libfuse.so.2.7.0 libfuse.so.2; }; })
libtool: install: (cd //lib && { ln -s -f libfuse.so.2.7.0 libfuse.so || { rm -f libfuse.so && ln -s libfuse.so.2.7.0 libfuse.so; }; })
libtool: install: /usr/bin/install -c .libs/libfuse.lai //lib/libfuse.la
libtool: install: /usr/bin/install -c .libs/libfuse.a //lib/libfuse.a
libtool: install: chmod 644 //lib/libfuse.a
libtool: install: ranlib //lib/libfuse.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libulockmgr.la' '//lib/libulockmgr.la'
libtool: install: /usr/bin/install -c .libs/libulockmgr.so.1.0.1 //lib/libulockmgr.so.1.0.1
libtool: install: (cd //lib && { ln -s -f libulockmgr.so.1.0.1 libulockmgr.so.1 || { rm -f libulockmgr.so.1 && ln -s libulockmgr.so.1.0.1 libulockmgr.so.1; }; })
libtool: install: (cd //lib && { ln -s -f libulockmgr.so.1.0.1 libulockmgr.so || { rm -f libulockmgr.so && ln -s libulockmgr.so.1.0.1 libulockmgr.so; }; })
libtool: install: /usr/bin/install -c .libs/libulockmgr.lai //lib/libulockmgr.lalibtool: install: /usr/bin/install -c .libs/libulockmgr.a //lib/libulockmgr.a
libtool: install: chmod 644 //lib/libulockmgr.a
libtool: install: ranlib //lib/libulockmgr.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/lib'
Making install in util
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
test -z "//bin" || mkdir -p -- "//bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'fusermount' '//bin/fusermount'
libtool: install: /usr/bin/install -c fusermount //bin/fusermount
/bin/sh ../libtool --mode=install /usr/bin/install -c 'ulockmgr_server' '//bin/ulockmgr_server'
libtool: install: /usr/bin/install -c ulockmgr_server //bin/ulockmgr_server
mkdir -p -- /sbin
/usr/bin/install -c ./mount.fuse /sbin/mount.fuse
mkdir -p -- /etc/init.d
/usr/bin/install -c ./init_script /etc/init.d/fuse
/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true
System startup links for /etc/init.d/fuse already exist.
make install-exec-hook
make[3]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
chown root //bin/fusermount
chmod u+s //bin/fusermount
make[3]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
mkdir -p -- /etc/udev/rules.d
/usr/bin/install -c -m 644 ./udev.rules /etc/udev/rules.d/99-fuse.rules
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/util'
Making install in example
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0/example'
make[1]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
make[2]: Entering directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "//lib/pkgconfig" || mkdir -p -- "//lib/pkgconfig"
/usr/bin/install -c -m 644 'fuse.pc' '//lib/pkgconfig/fuse.pc'
make[2]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
make[1]: Leaving directory `/home/luca/02SOFTWARE/fuse/fuse-2.7.0'
SATURNO:/home/luca/02SOFTWARE/fuse/fuse-2.7.0#
QUOTE


Ho fatto successivamente ./configure e make && sudo make install per ntfs-3g



SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: Setting exec_prefix to /
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for ldconfig... /sbin/ldconfig
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FUSE_MODULE... yes
checking for library containing clock_gettime... -lrt
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking linux/major.h usability... yes
checking linux/major.h presence... yes
checking for linux/major.h... yes
checking linux/fd.h usability... yes
checking linux/fd.h presence... yes
checking for linux/fd.h... yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for basename... yes
checking for dup2... yes
checking for fdatasync... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/ntfs-3g/Makefile
config.status: creating libntfs-3g/Makefile
config.status: creating src/Makefile
config.status: creating src/ntfs-3g.8
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004# make && sudo make install
make all-recursive
make[1]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
Making all in include
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
Making all in ntfs-3g
make[3]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[3]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
Making all in libntfs-3g
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
Making all in src
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ntfs-3g -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -DFUSE_USE_VERSION=26 -g -O2 -Wall -MT ntfs_3g-ntfs-3g.o -MD -MP -MF ".deps/ntfs_3g-ntfs-3g.Tpo" -c -o ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo './'`ntfs-3g.c; \
then mv -f ".deps/ntfs_3g-ntfs-3g.Tpo" ".deps/ntfs_3g-ntfs-3g.Po"; else rm -f ".deps/ntfs_3g-ntfs-3g.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o ntfs-3g ntfs_3g-ntfs-3g.o ntfs_3g-utils.o ../libntfs-3g/libntfs-3g.la -pthread -L//lib -lfuse -lrt -ldl -lrt
gcc -g -O2 -Wall -o .libs/ntfs-3g ntfs_3g-ntfs-3g.o ntfs_3g-utils.o -pthread ../libntfs-3g/.libs/libntfs-3g.so -L//lib /usr/local/lib/libfuse.so -ldl -lrt -Wl,--rpath -Wl,//lib -Wl,--rpath -Wl,/usr/local/lib
creating ntfs-3g
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
make[1]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
Making install in include
make[1]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
Making install in ntfs-3g
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[3]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/ntfs-3g" || mkdir -p -- "/usr/local/include/ntfs-3g" /usr/bin/install -c -m 644 'attrib.h' '/usr/local/include/ntfs-3g/attrib.h'
/usr/bin/install -c -m 644 'attrlist.h' '/usr/local/include/ntfs-3g/attrlist.h' /usr/bin/install -c -m 644 'bitmap.h' '/usr/local/include/ntfs-3g/bitmap.h'
/usr/bin/install -c -m 644 'bootsect.h' '/usr/local/include/ntfs-3g/bootsect.h' /usr/bin/install -c -m 644 'collate.h' '/usr/local/include/ntfs-3g/collate.h'
/usr/bin/install -c -m 644 'compat.h' '/usr/local/include/ntfs-3g/compat.h'
/usr/bin/install -c -m 644 'compress.h' '/usr/local/include/ntfs-3g/compress.h' /usr/bin/install -c -m 644 'debug.h' '/usr/local/include/ntfs-3g/debug.h'
/usr/bin/install -c -m 644 'device.h' '/usr/local/include/ntfs-3g/device.h'
/usr/bin/install -c -m 644 'device_io.h' '/usr/local/include/ntfs-3g/device_io.h'
/usr/bin/install -c -m 644 'dir.h' '/usr/local/include/ntfs-3g/dir.h'
/usr/bin/install -c -m 644 'endians.h' '/usr/local/include/ntfs-3g/endians.h'
/usr/bin/install -c -m 644 'index.h' '/usr/local/include/ntfs-3g/index.h'
/usr/bin/install -c -m 644 'inode.h' '/usr/local/include/ntfs-3g/inode.h'
/usr/bin/install -c -m 644 'layout.h' '/usr/local/include/ntfs-3g/layout.h'
/usr/bin/install -c -m 644 'lcnalloc.h' '/usr/local/include/ntfs-3g/lcnalloc.h' /usr/bin/install -c -m 644 'logfile.h' '/usr/local/include/ntfs-3g/logfile.h'
/usr/bin/install -c -m 644 'logging.h' '/usr/local/include/ntfs-3g/logging.h'
/usr/bin/install -c -m 644 'mft.h' '/usr/local/include/ntfs-3g/mft.h'
/usr/bin/install -c -m 644 'mst.h' '/usr/local/include/ntfs-3g/mst.h'
/usr/bin/install -c -m 644 'ntfstime.h' '/usr/local/include/ntfs-3g/ntfstime.h' /usr/bin/install -c -m 644 'runlist.h' '/usr/local/include/ntfs-3g/runlist.h'
/usr/bin/install -c -m 644 'security.h' '/usr/local/include/ntfs-3g/security.h' /usr/bin/install -c -m 644 'support.h' '/usr/local/include/ntfs-3g/support.h'
/usr/bin/install -c -m 644 'types.h' '/usr/local/include/ntfs-3g/types.h'
/usr/bin/install -c -m 644 'unistr.h' '/usr/local/include/ntfs-3g/unistr.h'
/usr/bin/install -c -m 644 'version.h' '/usr/local/include/ntfs-3g/version.h'
/usr/bin/install -c -m 644 'volume.h' '/usr/local/include/ntfs-3g/volume.h'
make[3]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include/ntfs-3g'
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[3]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
make[1]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/include'
Making install in libntfs-3g
make[1]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
test -z "//lib" || mkdir -p -- "//lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libntfs-3g.la' '//lib/libntfs-3g.la'
/usr/bin/install -c .libs/libntfs-3g.so.13.0.0 //lib/libntfs-3g.so.13.0.0
(cd //lib && { ln -s -f libntfs-3g.so.13.0.0 libntfs-3g.so.13 || { rm -f libntfs-3g.so.13 && ln -s libntfs-3g.so.13.0.0 libntfs-3g.so.13; }; })
(cd //lib && { ln -s -f libntfs-3g.so.13.0.0 libntfs-3g.so || { rm -f libntfs-3g.so && ln -s libntfs-3g.so.13.0.0 libntfs-3g.so; }; })
/usr/bin/install -c .libs/libntfs-3g.lai //lib/libntfs-3g.la
/usr/bin/install -c .libs/libntfs-3g.a //lib/libntfs-3g.a
chmod 644 //lib/libntfs-3g.a
ranlib //lib/libntfs-3g.a
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
make[1]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/libntfs-3g'
Making install in src
make[1]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
test -z "//bin" || mkdir -p -- "//bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'ntfs-3g' '//bin/ntfs-3g'
/usr/bin/install -c .libs/ntfs-3g //bin/ntfs-3g
/usr/bin/install -c -d /sbin
ln -s -f //bin/ntfs-3g /sbin/mount.ntfs-3g
make install-exec-hook
make[3]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
/sbin/ldconfig
make[3]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
/usr/bin/install -c -d /usr/local/share/man/man8
ln -s -f ntfs-3g.8 /usr/local/share/man/man8/mount.ntfs-3g.8
test -z "/usr/local/share/man/man8" || mkdir -p -- "/usr/local/share/man/man8"
/usr/bin/install -c -m 644 './ntfs-3g.8' '/usr/local/share/man/man8/ntfs-3g.8'
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
make[1]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004/src'
make[1]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
make[2]: Entering directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
make[1]: Leaving directory `/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004'
SATURNO:/home/luca/02SOFTWARE/ntfs-3g/ntfs-3g-1.1004#



HO SBAGLIATO ho dimenticato qualche dipendenza???

MI SONO nati ulteriori dubbi quando ho riletto questo:
# Come posso usare pennette USB o hard disk USB esterni?

Devi aggiungere una riga nell'fstab per ogni periferica di questo tipo, ricordando che le penne/hard disk USB vengono mappati in due gruppi di devices:

1. /dev/ubXN
2. /dev/sdXN


Come al solito, X è una lettera (a,b,c,d....) e N un numero (1,2,3,4....). La lettera è rappresentativa solo dell'ordine di inserimento, il numero del numero di partizione considerata. Il 90% delle pennette ha una sola partizione, sda1 o uba1.
Per sapere se la tua periferica viene vista come una sda, una sdb, ... o una uba, ubb, ubc,... basta fare così:

1. Aprire una console di root
2. Scrivere "tail -F /var/log/messages"
3. Inserire la pennetta/hard disk
4. Dovrebbero comparire delle linee, in cui GNU/Linux dovrebbe scrivere qualche informazione sulla marca, dimensione, e sulla device mappata.


Se non compare nulla, allora la vostra periferica USB non è supportata.

Se compare qualcosa, allora sapete cosa inserire nell'fstab nella riga delle "device".
Per il resto, lasciate il filesystem su auto, il percorso sceglietelo a piacimento (ricordate di crearla prima), e fra le opzioni mettete anche noauto.

A questo punto, ogni volta che vorrete usare la pennetta, non sarà necessario fare tutto questo lavoro. Basterà fare
mount /percorso/scelto/da/voi
per poter accedere alla periferica dal percorso specificato.

La mappatura come "uba" è abbastanza recente, e forse verrà abbandonata. E' nata dall'esigenza di dividere il modo in cui GNU/Linux chiama gli hard disk serial ATA e le periferiche di massa USB

# Ma non c'è un modo più veloce?

come mai non riconosce il ntfs.....
soprattutto se scrivo sull' hd ntfs
RISCHIO di perdere TUTTI i dati??????

Gimli[2BV!2B]
13-10-2007, 23:39
Se vuoi qualche consiglio più specifico dimmi che distribuzione usi.

bibi9000
14-10-2007, 16:15
DIBIAN 40R1

Ho provato anche questo
SATURNO:/home/luca# cd
SATURNO:~# cd /home/luca/02SOFTWARE/fuse
SATURNO:/home/luca/02SOFTWARE/fuse# ls
fuse-2.7.0 fuse-2.7.0.tar.gz
SATURNO:/home/luca/02SOFTWARE/fuse# cd fuse-2.7.0
SATURNO:/home/luca/02SOFTWARE/fuse/fuse-2.7.0# modprobe fuse
SATURNO:/home/luca/02SOFTWARE/fuse/fuse-2.7.0# cd
SATURNO:~# cd /media
SATURNO:/media# ls
cdrom floppy usb usb1 usb3 usb5 usb7
cdrom0 floppy0 usb0 usb2 usb4 usb6
SATURNO:/media# mkdir windows
SATURNO:/media# cd
SATURNO:~# ntfs-3g /dev/sda1 /media/windows -0 locale=it_IT.utf8
ntfs-3g: Unknown option '-0'.

ntfs-3g 1.1004 - Third Generation NTFS Driver

Copyright (C) 2005-2006 Yura Pakhuchiy
Copyright (C) 2006-2007 Szabolcs Szakacsits

Usage: ntfs-3g <device|image_file> <mount_point> [-o option[,...]]

Options: ro, force, locale=, uid=, gid=, umask=, fmask=, dmask=,
streams_interface=. Please see details in the manual.

Example: ntfs-3g /dev/sda1 /mnt/win -o force,locale=en_EN.UTF-8

Ntfs-3g news, support and information: http://ntfs-3g.org
SATURNO:~# ntfs-3g /dev/sda1 /media/windows -o locale=it_IT.utf8
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sda1 /media/windows -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda1 /media/windows ntfs-3g defaults,force 0 0
SATURNO:~# mount -t ntfs-3g /dev/sda1 /media/windows -o force
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.
WARNING: Deficient Linux kernel detected. Some driver features are
not available (swap file on NTFS, boot from NTFS by LILO), and
unmount is not safe unless it's made sure the ntfs-3g process
naturally terminates after calling 'umount'. If you wish this
message to disappear then you should upgrade to at least kernel
version 2.6.20, or request help from your distribution to fix
the kernel problem. The below web page has more information:
http://ntfs-3g.org/support.html#fuse26

SATURNO:~#

Gimli[2BV!2B]
14-10-2007, 17:10
Allora, visto che usi Debian ti dico subito che è meglio che non compili, visto che è inutile.
Fai un make uninstall di quel che hai installato.

Troverai ntfs-3g nel repository Backports.

Ecco cosa fare per utilizzare i backports (fai solo la prima e la terza sezione, lascia stare il pinning). (http://www.backports.org/dokuwiki/doku.php?id=instructions)

Una volta aggiunto l'etch-backports (e registrata la relativa chiave gpg) apri Synaptic, aggiorna la lista, cerca e finalmente installa ntfs-3g (e relative dipendenze assortite).

Poi prova pmount come ti avevo consigliato prima.