Hola de nou,
He provat de fer el que m'heu dit (fdisk i tail) i he obtingut el
següent:
* Amb tail -f /var/log/messages
En posar el llapis USB
Jan 26 13:36:23 matrix kernel: usb 2-2: new full speed USB device using address
7
Jan 26 13:36:23 matrix kernel: usb 2-2: Product: USB 2.0(FS) FLASH DISK
Jan 26 13:36:23 matrix kernel: usb 2-2: SerialNumber: USB 2.0(FS) FLASH DISK
Jan 26 13:36:23 matrix kernel: scsi5 : SCSI emulation for USB Mass Storage
devices
Jan 26 13:36:23 matrix kernel: Vendor: Model: Rev:
Jan 26 13:36:23 matrix kernel: Type: Direct-Access
ANSI SCSI revision: 02
Jan 26 13:36:23 matrix kernel: SCSI device sda: 1019617 512-byte hdwr sectors
(522 MB)
Jan 26 13:36:23 matrix kernel: sda: Write Protect is off
Jan 26 13:36:23 matrix kernel: sda: Mode Sense: 00 c0 00 00
Jan 26 13:36:23 matrix kernel: sda: assuming drive cache: write through
Jan 26 13:36:24 matrix kernel: sda: unknown partition table
Jan 26 13:36:24 matrix kernel: Attached scsi removable disk sda at scsi5,
channel 0, id 0, lun 0
Jan 26 13:36:24 matrix kernel: Attached scsi generic sg0 at scsi5, channel 0,
id 0, lun 0, type 0
Jan 26 13:36:24 matrix kernel: USB Mass Storage device found at 7
Jan 26 13:36:34 matrix /etc/dev.d/block/50-hwscan.dev[9240]: new block device
/block/sda
Jan 26 13:36:34 matrix /etc/dev.d/block/51-subfs.dev[9251]: mount block device
/block/sda
I en treure el llapis:
Jan 26 13:35:42 matrix kernel: usb 2-2: USB disconnect, address 6
Jan 26 13:35:42 matrix /sbin/hotplug[8821]: unknown command
Jan 26 13:35:42 matrix /sbin/hotplug[8820]: unknown command
Jan 26 13:35:52 matrix /etc/dev.d/block/51-subfs.dev[8946]: umount block device
/block/sda
Jan 26 13:35:52 matrix /etc/dev.d/block/51-subfs.dev[8946]: umount: /dev/sda:
not mounted
No s� qu� vol dir, però sembla que té algun problema amb la taula de
particions quan el poso, no? Això què vol dir? I, el més
interessant, com s'arregla?
El fet és que he pogut fer "mount /dev/sda /media/usb" posat a
/etc/fstab la linia següent:
/dev/sda /media/usb vfat noauto,noatime,rw,user 0 0
He posat "vfat" perquè he llegit en alguna banda que ésel més
adequat per fer-ho "compatible" amb windows.
Doncs el fet ésque, muntat aixÃ,el contingut del llapis està buit,
malgrat que hi ha posat coses des de windows. Inversament, hi he pogut
escriure (en linux), però el qu hi escric NO es veu quan poso el
llapis treballant en windows.
A algúse li il.lumina una idea de què pot estar passant? Ara mateix
no tinc informació important al llapis, de manera que seria el moment
adequat si creieu que l'hauria de formatar d'alguna manera especial
(com?) perquèanésbé.
Grà cies de nou,
Jordi.
PS: Amb fdisk em diu el que hi ha aquà baix.
# fdisk -l /dev/sda
Disk /dev/sda: 522 MB, 522043904 bytes
17 heads, 59 sectors/track, 1016 cylinders
Units = cylinders of 1003 * 512 = 513536 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ? 1911394 2454136 272185273 6f Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(361, 101, 36) logical=(1911393, 0, 3)
Partition 1 has different physical/logical endings:
phys=(255, 115, 46) logical=(2454135, 5, 27)
Partition 1 does not end on cylinder boundary.
/dev/sda2 ? 1338820 2115804 389657273 69 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(100, 101, 32) logical=(1338819, 12, 59)
Partition 2 has different physical/logical endings:
phys=(367, 115, 35) logical=(2115803, 6, 6)
Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 168145 168145 0 20 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(353, 117, 46) logical=(168144, 10, 47)
Partition 3 has different physical/logical endings:
phys=(355, 116, 37) logical=(168144, 10, 46)
Partition 3 does not end on cylinder boundary.
/dev/sda4 2877051 2877106 27619 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(2877050, 0, 3)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(2877105, 1, 16)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
----------------------------------------------------------------
Podeu consultar els arxius d'aquesta llista o canviar la vostra
subscripci� a http://www.softcatala.org/llistes/
----------------------------------------------------------------