Appunti veloci sull'uso di un IOMEGA REV su Linux ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (c) 2005 - Alessandro De Zorzi LICENSE GNU Free Documentation License ----------------------------------------------------------------------- 0. INTRO Avete sottomano un IOMEGA REV e volete utilizzarlo con Linux per sfruttare la grande capacità di archiviazione del supporto. 1. SOFTWARE Installare un software per utilizzare il formato UDF (Universal Disk Format) su Debian: # apt-get install udftools (se avete altre distribuzioni cercate il pacchetto analogo udf-tools) 2. PREPARARE IL DEVICE A questo punto inserite la cartuccia e create il filesystem con il seguente comando: # mkudffs /dev/hda questo è l'output che dovreste vedere start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=PVDS start=273, blocks=1, type=LVID start=274, blocks=17090349, type=PSPACE start=17090623, blocks=1, type=ANCHOR start=17090624, blocks=239, type=USPACE start=17090863, blocks=16, type=RVDS start=17090879, blocks=1, type=ANCHOR Note: sector size is 2048 (not 512) Ora se provate a laciare il seguente comando, dove X varia a seconda che il device sia sul canale primario, secondario master o slave... (ex. hda, hdb, hdc, hdd) # fdisk /dev/hdX Disk /dev/hda: 35.0 GB, 35002122240 bytes 255 heads, 63 sectors/track, 1063 cylinders Units = cylinders of 16065 * 2048 = 32901120 bytes Bene, ora non azzardatevi a create partizioni con fdisk! 3. ACCEDERE AL DEVICE Provate a montare il dispositivo: # mount /dev/hda /mnt/tape/ Se tutto funziona potete accedere al dispositivo: # df /dev/hda 34180698 2096 34178602 1% /mnt/tape come potete vedere il filesystem è UDF # cat /proc/mount /dev/hda /mnt/tape udf rw 0 0 ----------------------------------------------------------------------- Alessandro De Zorzi