|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Oct 2001
Città: Milano
Messaggi: 256
|
quel bastardo di fstab...
mi sta facendo impazzire...
riesco a montare senza problemi tutte le mie partizioni windows da riga di comando, ma se metto la entry a manina su /etc/fstab non va un cazz. Ho provato con varie formattazioni ma non va niente!!! uso debian sarge e la riga che metto in fstab e' la seguente: mount /dev/sda1 /mnt/storage -t ntfs -ro umask=0222 ho provato anche con piu' varianti tipo: mount /dev/sda1 /mnt/storage ntfs -r -o umask=0222 oppure mount /dev/sda1 /mnt/storage -t ntfs -ro,umask=0222 ma ogni volta non monta niente!!!! AIUTOOOOOOOOOOOOOOOOO ![]() ![]() ![]() ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 1182
|
secondo me devi mettere i dati in questa maniera:
<file system> <mount point> <type> <options> <dump> <pass> io non ho partizioni ntfs ma il mio fstab è così: # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda5 / reiserfs notail 0 1 /dev/hda6 /media/winfat32 vfat defaults,auto,uid=1000,gid=1000 0 2 /dev/hda2 none swap sw 0 0 /dev/hdb5 /media/hdbfat32 vfat defaults,auto,uid=1000,gid=1000 0 2 /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
__________________
Ho trattato con: Zano, Grey.fox, Skeja, KamiG, plc42, Iceworld, Manuelcese20, Alfagd, Mad_max2000, Legolas 81, weedmasta, Spank,LoveOverclock, Mastla, Rac00n,Ayrton,Felipe,Simonov,JokerVero,Mabru,Malleus,Jacopastorius! ![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Ma poi nn ti sei accorto come erano fatte le altre righe di fstab che ti incazzi x niente??
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Oct 2001
Città: Milano
Messaggi: 256
|
no mi incazzo perche' anche mettendole esattamente formattate come le altre non va istess...
senno' non postavo giusto? ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#5 | |
Moderatore
Iscritto dal: Nov 2003
Messaggi: 16211
|
Quote:
Codice:
/dev/sda1 /mnt/storage ntfs ro,user,noauto,owner 0 0
__________________
Ubuntu è un'antica parola africana che significa "non so configurare Debian" ![]() Scienza e tecnica: Matematica - Fisica - Chimica - Informatica - Software scientifico - Consulti medici REGOLAMENTO DarthMaul = Asus FX505 Ryzen 7 3700U 8GB GeForce GTX 1650 Win10 + Ubuntu |
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Mar 2004
Città: Provincia di Reggio Emilia
Messaggi: 454
|
prova così:
/dev/sda1 /mnt/storage ntfs defaults,ro,users,noauto,umask=000 0 0
__________________
ConoscereLinux - Ti aspettiamo |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Iscritto dal: Dec 2001
Città: /dev/rotfl
Messaggi: 7276
|
Re: quel bastardo di fstab...
Quote:
![]()
__________________
....::::fluxbox è talmente veloce che quando digito startx, il WM aspetta che il server Xorg lo raggiunga - PiloZ::::...
|
|
![]() |
![]() |
![]() |
#8 | |
Senior Member
Iscritto dal: Oct 2001
Città: Milano
Messaggi: 256
|
Re: Re: quel bastardo di fstab...
Quote:
si l'ho scritto nel post per sbaglio ma in realta' non c'e' nel mio fstab. Non ho ancora avuto tempo di provare le altre soluzioni suggeritemi perche' sono incasinatisimo col lavoro...piu' tardi provo. Intanto grazie a tutti
__________________
![]() |
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Oct 2001
Città: Milano
Messaggi: 256
|
edit:
son riuscito con: Codice:
/dev/sda1 /mnt/storage ntfs ro,user,noauto,owner,umask=0222 0 0 grazie a tutti per le info. Ciao!
__________________
![]() Ultima modifica di X3noN : 11-02-2005 alle 18:42. |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Iscritto dal: Jan 2005
Messaggi: 387
|
Re: quel bastardo di fstab...
Quote:
![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
#11 |
Member
Iscritto dal: Jan 2005
Messaggi: 199
|
ho anche io problemi con fstab, quando inserisco la penna usb non si accende la lucetta spia e per montarla devo fare
mount mnt/usbpen attacco/stacco mount mnt/usbpen attacco/stacco mount mnt/usbpen se mi va bene... qsto è il mio fstab: /dev/hda5 / ext3 defaults,noatime 1 1 /dev/hda6 swap swap sw,pri=1 0 0 none /proc proc defaults 0 0 none /proc/bus/usb usbfs devmode=0666 0 0 none /dev/pts devpts mode=0622 0 0 none /sys sysfs defaults 0 0 /dev/sda1 /mnt/usbpen vfat users,rw,auto 0 0 # Dynamic entries /dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0 |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Iscritto dal: Jan 2005
Messaggi: 387
|
Quote:
Codice:
/dev/sda1 /mnt/usbpen vfat users,rw,noauto 0 0 ![]() Ciao!
__________________
![]() |
|
![]() |
![]() |
![]() |
#13 |
Member
Iscritto dal: Jan 2005
Messaggi: 199
|
fatto
ma ho sempre lo stesso problema la lucetta spia nn si accende appena inserisco la penna nella porta usb.... addirittura ora non funziona nemmeno la procedura che ho illustrato prima: monta attacca e stacca.... utilizzo mepis Ultima modifica di gio84 : 12-02-2005 alle 13:40. |
![]() |
![]() |
![]() |
#14 | |
Senior Member
Iscritto dal: Jan 2005
Messaggi: 387
|
Quote:
Cosa vuoldire esattamente che "monta attacca e stacca"?
__________________
![]() |
|
![]() |
![]() |
![]() |
#15 |
Member
Iscritto dal: Jan 2005
Messaggi: 199
|
monta attacca e stacca è riferito alla procedura che ti ho detto prima, cioè la penna vien montata solo se faccio
mount /mnt/usbpen stacco e riattacco la penna etc etc.... ecco qui la risposta del comando che mi hai chiesto di inviare: Bus 004 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.10 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x08 PortPwrCtrlMask 0x58 Hub Port Status: Port 1: 0000.0101 power connect Port 2: 0000.0100 power Bus 003 Device 003: ID 046d:c016 Logitech, Inc. Optical Mouse Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0xc016 Optical Mouse bcdDevice 3.40 iManufacturer 1 Logitech iProduct 2 Optical USB Mouse iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Devices bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 52 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 10 Bus 003 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.10 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x08 PortPwrCtrlMask 0x58 Hub Port Status: Port 1: 0000.0303 lowspeed power enable connect Port 2: 0000.0100 power Bus 002 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.10 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x08 PortPwrCtrlMask 0x58 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Bus 001 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.10 ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 0000:00:1d.7 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 6 wHubCharacteristic 0x0008 Ganged power switching Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x08 PortPwrCtrlMask 0x58 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Port 3: 0001.0000 C_CONNECT Port 4: 0000.0100 power Port 5: 0001.0000 C_CONNECT Port 6: 0000.0100 power |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Jan 2002
Città: Trance City
Messaggi: 7298
|
io sono mooolto newbies ma vi provo a rispondere a grasndi linee
nn ho ancora capito xche' ma a seconda di come parte nn sempre vede le periferiche come sda1...almeno,nn e' detto che le veda sempre cosi',a volte si' ed a volte no ![]() cmq,puo' darsi che nn lo riesci a montare x questo motivo x vedere come te la vede prova a fare cosi': tail -f /var/log/messages poi inserisci la periferica usb ctrl+c x terminare e vedi 1 po'....io avevo 1 problema simile con 1 disco ed ho risolto con questo xche' anziche' vederlo come sda1 lo vedeva come sdb1 nn so da cosa dipenda poi il fatto che ogni tanto me lo veda come sda1 ![]() |
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: Jan 2001
Messaggi: 3363
|
ma cos'è sta sda1 ? una penna USB ?
sei sicuro di aver caricato tutti moduli per l'USB ' io ho [root@MDK10 giorgio]# lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 002: ID 0ed1:6680 WinMaxGroup Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 [root@MDK10 giorgio]# Nel tuo lsusb non trovo la periferica ... |
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Jan 2002
Città: Trance City
Messaggi: 7298
|
se vuoi far funzare 1 penna usb o 1 hd ext usb o qualcosa del genere,nel kernel nn devi solo caricare i moduli relativi alle gestioni delle periferiche usb
devi compilare 1 modulo nel kernel dell emulazione scsi che trovi sotto le voci relative all emulazione scsi si chiama sd_mod mi sembra cercalo...dovrebbe esserci scritto emulazione scsi o qualcosa del genere,poi digiti h e ti dice a che serve e che verra' installato il suddetto modulo senza quello nn funza sdxx |
![]() |
![]() |
![]() |
#19 |
Member
Iscritto dal: Jan 2005
Messaggi: 199
|
come faccio a ricompilare un unico modulo???
|
![]() |
![]() |
![]() |
#20 | |
Senior Member
Iscritto dal: Jan 2002
Città: Trance City
Messaggi: 7298
|
Quote:
![]() sai ricompilare il kernel? se si fai cosi' anziche' ricompilare daccapo cp /path_to_config /usr/src/linux/.config cosi' ti copi l ultimo config funzante che stai usando es: il mio config: cp /boot/config-2.6.10 /usr/src/linux/.config poi prepari l ambiente con mrproper e poi makemenuconfig ricompili,salvi e riavvii |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:46.