Next Previous Contents

4. Syxna Diatypwmenes Erwthseis kai Apanthseis

4.1 "Poso eyais8hth einai h diadikasia toy kacimatos;"

Apanthsh: ejartatai apo to CD-writer. Ta monterna 8a prepei na exoyn buffer dedomenwn toy 1MB h kapoy ekei kai mporoun na zhsoyn 1-2 deyterolepta xwris dedomena. Deite ta egxeiridia h rwthste ton kataskeyasth, an 8elete na ma8ete tis leptomereies.

Anejarthta apo to mege8os twn buffers dedomenwn prepei na eggyaste mia synexh roh twn 300kb/s h 600kb/s kata th diarkeia ths diadikasias.

Oi diergasies poy kanoyn entatikh xrhsh toy diskoy opws h enhmerwsh ths bashs dedomenwn locate xamhlwnoyn to megisto dynato ry8mo rohs kai 8a xalasoyn sigoyra to CD; kalutera elegjte tetoies diergasies na mhn jekinane mesw cron, at h anacron oso kaite CD-Rs. Apo thn allh, kapoioi aneferan pws ekanan compile ena pyrhna ka8ws kaigane ena CD xwris kamia enoxlhsh. Xreiazeste bebaia mia grhgorh mhxanh gia tetoia peiramata.

4.2 "Exei h diaspora (fragmentation) asxhmo antiktypo sto ry8mo rohs;"

H diaspora einai synh8ws toso xamhlh poy oi epiptwseis ths den einai parathrhsimes. An eisaste abebaioi peri aytou, koitajte ta mhnumata poy typwnontai kata thn ekkinhsh, to pososto ths diasporas anaferetai kata ton elegxo twn systhmatwn arxeiwn. Mporeite na elegjete gia ayth thn timh me thn polu epikindynh entolh

bash> e2fsck -n  /dev/sda5        # '-n' is important!
[stuff deleted - ignore any errors]
/dev/sda5: 73/12288 files (12.3% non-contiguous)

Se ayto to paradeigma h diaspora fainetai na einai polu megalh, alla yparxoyn mono 73 mikra arxeia se ayto to susthma arxeiwn (xrhsimopoieitai ws /tmp) kai etsi h timh den einai anhsyxhtikh.

4.3 "Einai dynaton na apo8hkeusw to CD-image se ena susthma arxeiwn UMSDOS;"

Nai. To mono susthma arxeiwn poy den einai ajiopisto kai arketa grhgoro gia eggrafes CDs apo ayto, einai to diktyako susthma arxeiwn (NFS). Xrhsimopoiw o idios ena UMSDOS gia na moirasw to xwro toy diskoy metaju toy Linux kai toy DOS/Win se ena PC (486/66) afierwmeno sthn eggrafh twn CDs.

4.4 "Den yparxei kapoios tropos na jeperasw toys periorismous toy iso9660;"

Nai. Mporeite na balete opoio susthma arxeiwn 8elete sto CD. Alla opoiodhpote leitoyrgiko susthma ektos toy Linux den 8a mporesei na antimetwpisei to CD.

Na kai h syntagh:

An 8elete na balete mia eggrafh sto /etc/fstab gia ena tetoio CD, apenergopoihste ton elegxo toy, p.x.:

/dev/cdrom  /cdrom  ext2  defaults,ro  0 0

To prwto 0 shmainei "mhn symperilhf8ei sta dumps", to deutero (=shmantiko) shmainei "mhn tsekareis gia la8h kata thn ekkinhsh" (to fsck 8a apotuxei na elegjei to CD gia la8h).

4.5 "Pws na diabasw kai na gracw CD Hxoy;"

Parte ta paketa "cdda2wav" kai "sox", dia8esima apo to sunsite kai ta mirrors toy:

ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/cdda2wav0.71.src.tar.gz

ftp://sunsite.unc.edu/pub/Linux/apps/sound/convert/sox-11gamma-cb3.tar.gz

To cdda2wav sas epitrepei na parete kapoio sygkekrimeno diasthma (h ena oloklhro kommati (track)) apo to CD hxoy sas kai to metatrepei se arxeio .wav. To sox metatrepei ta arxeia wav pali se (CD hxoy ) cdda-format wste na mporoun na epaneggrafoun sto CD-R xrhsimopoiwntas to cdwrite.

4.6 "Pws na cajw gia tis syskeyes SCSI meta thn ekkinhsh;"

To arxeio drivers/scsi/scsi.c periexei tis plhrofories

/*
 * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
 * with  "0 1 2 3" replaced by your "Host Channel Id Lun".
 * Consider this feature BETA.
 *     CAUTION: This is not for hotplugging your peripherals. As
 *     SCSI was not designed for this you could damage your
 *     hardware !
 * However perhaps it is legal to switch on an
 * already connected device. It is perhaps not
 * guaranteed this device doesn't corrupt an ongoing data transfer.
 */

4.7 "Einai dynato na kanw 1:1 antigrafh enos CD;"

Nai. Alla 8a prepei na hsaste enhmeros toy gegonotos pws ka8e la8os anagnwshs toy arxikou prwtotupoy (logo skonhs h gratzoyniwn) 8a odhghsei se elattwmatiko antigrafo.

Prwth periptwsh: exete jexwrista CD-writer kai CD-ROM . Dinontas thn entolh:

cdwrite -v -D /dev/sgc --pad -b  $(isosize  /dev/scd0) /dev/scd0
or
cdrecord -v dev=3,0 speed=2 -isosize /dev/scd0
diabazete th roh dedomenwn apo ton odhgo CD-ROM poy einai prosarthmeno san /dev/scd0 kai grafete apey8eias mesw toy /dev/sgc sto CD-R.

Deuterh periptwsh: Den exete jexwristo odhgo CD-ROM. 8a prepei na xrhsimopoihsete ton eggrafea gia na diabasete kai to CD-ROM:

dd if=/dev/scd0 of=cdimage bs=1c count=`isosize  /dev/scd0`
H entolh ayth einai isodunamh me to apotelesma ths mkisofs, kai etsi 8a prepei na proxwrhsete opws sto kefalaio 3. Shmeiwste pws ayth h me8odos 8a apotuxei gia ta CD hxoy!

4.8 "Mporei to Linux na diabasei Joliet CDs;"

Nai. Alla xreiazetai na dior8wsete ton pyrhna kai na ton janametaglwttisete. Gia perissoteres plhrofories, deite

http://www-plateau.cs.berkeley.edu/people/chaffee/joliet.html

4.9 "Pws diabazw/prosartw CD-ROMs me to CD-writer;"

Opws kai me ena kanoniko odhgo CD-ROM. Kanena kolpo. Shmeiwste pws 8a prepei na xrhsimopoihsete tis syskeyes scd (SCSI CD-ROM) gia na prosarthsete CDs gia diabasma. Eggrafh-paradeigma sto /etc/fstab:

/dev/scd0  /cdrom  iso9660  ro,user,noauto  0  0


Next Previous Contents