Ntfs-3g e Hd usb
Inviato: sab 29 dic 2007, 15:03
Come posso scrivere su un hard disk usb tramite ntfs-3g visto che lo monta automaticamente con ntfs, ma posso solo leggere?
Codice: Seleziona tutto
==> /var/log/messages <==
Dec 29 15:23:14 slacky kernel: usb 1-4: USB disconnect, address 4
Dec 29 15:27:38 slacky kernel: usb 1-4: new high speed USB device using ehci_hcd and address 5
Dec 29 15:27:38 slacky kernel: usb 1-4: configuration #1 chosen from 1 choice
Dec 29 15:27:38 slacky kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Dec 29 15:27:43 slacky kernel: scsi 4:0:0:0: Direct-Access SAMSUNG HM120IC 0811 PQ: 0 ANSI: 0
Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
Dec 29 15:27:43 slacky kernel: sda: sda1
Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] Attached SCSI disk
Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: Attached scsi generic sg0 type 0
Codice: Seleziona tutto
TODO: have to rethink extra optionsottimo. crea la directory (se ancora non l'hai fatto) in /mntYellowhat ha scritto:Codice: Seleziona tutto
==> /var/log/messages <== Dec 29 15:23:14 slacky kernel: usb 1-4: USB disconnect, address 4 Dec 29 15:27:38 slacky kernel: usb 1-4: new high speed USB device using ehci_hcd and address 5 Dec 29 15:27:38 slacky kernel: usb 1-4: configuration #1 chosen from 1 choice Dec 29 15:27:38 slacky kernel: scsi4 : SCSI emulation for USB Mass Storage devices Dec 29 15:27:43 slacky kernel: scsi 4:0:0:0: Direct-Access SAMSUNG HM120IC 0811 PQ: 0 ANSI: 0 Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB) Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB) Dec 29 15:27:43 slacky kernel: sda: sda1 Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: [sda] Attached SCSI disk Dec 29 15:27:43 slacky kernel: sd 4:0:0:0: Attached scsi generic sg0 type 0
Codice: Seleziona tutto
/dev/hda5 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hdb1 /garage ntfs-3g
silen,unmask=0,no_def_opts,allow_other,auto,user,rw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdc /mnt/hdc auto auto,ro,users 0 0
/dev/hdd /mnt/hdd auto auto,ro,users 0 0
Codice: Seleziona tutto
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
</match>
</match>
</device>
</deviceinfo>