Mounting the floppy and RedHat5.2

Antonis Tsolomitis atsol1 at iris.math.aegean.gr
Thu May 27 10:00:09 EEST 1999


Nomizw pws akoma kai meta apo tosa myvnmata ta pragmata dev eivai
kseka0ara. Exw to swsto fstab (auto eivai sigouro: kai rw kai user
kai oti allo 0elei kai permissions sto mount (dev xreiazete
va kavei kaveis tipota gia auto sto RH5.2 exei ndn o xrnstns
ta swsta dikaiwmata) alimovo av mperdeuoume tous prwtoeiserxomevous
sto Linux me tetoia pragmata. Eivai dyvatov va exei kavei
tetoia patata n RedHat n' opoiodnpote allo sobaro distribution?)
kai omws av dwsw 

mount -t msdos /dev/fd0 /mnt/floppy

0a mou pei opwsdnpote
mount: only root can do that

to idio av balw ext2 n' vfat n' auto stn 0esn tou msdos.
To problnma eivai mallov me tnv syvtaksn tns evtolns :-)

Otav divovtai oloi oi parametroi gia to mount to fstab agvoeitai
apo tnv mount!!
me user kai rw sto fstab n swstn evtoln eivai:

mount /mnt/floppy

n' kateu0eiav sto device:

mount /dev/fd0

tote n mount koitaei sto fstab va dei ti options exei ka0orisei o root.

Mallov n pio katallnln dnlwsn sto /etc/fstab/ gia kapoiov
kaivourgio eivai 

/dev/fd0    /mnt/floppy   auto    noauto,user,rw  0 0

To auto eivai kalo av 0elei kaveis va paizei kai me ext2 disketes.


Omws gia evav kaivourgio alla kai gia palioterous vomizw pws to 
"apolyto ergaleio" (ektos apo ta eikovidia tou KDE kai Gnome
(ta opoia pali dev 0a doulepsouv xwris swsto fstab)) eivai
to usermount.

Trekse apo tn grammn evtolwv 

usermount& 

kai ksexva ta problnmata :-)

--------------------------------------------------------
		Eidika gia Ext2 disketes


Otav kavoume mount eva device to device givetai mounted
oxi me ta permissions tou fstab (to rw) alla me ta permissions
tou filesystem pou exei pavw to device. Etsi av eftiakses
mia freskia ext2 disketa kai pas sav xrnstns va tnv kaveis mount
eav ta exeis ola swsta opws pio pavw to systnma 0a dex0ei to mount.
Av omws pas sav xrnstns va grapseis n' va sbnseis eva arxeio
mesa stn disketa, 0a sou pei Oh no no no... only root can do that
n' gia va eimai akribns: <<cannot create regular file: Permission denied>>

Kai meta 0a xtypas to kefali sou giati 0a les, ma afou to fstab
leei user leei kai rw. What is wrong?

To systnma otav kavei to mounting divei protaiteotnta sta permissions
tou filesystem tou device. Eav dev brei tetoia permissions
(kai auto symbaivei me to msdos) tote xrnsimopoiei auta pou tou eipe
o root sto fstab (tote dnladn dexete to rw tou fstab)

Otav omws eftiakses tnv ext2 disketa to ekaves ws root kai to filesystem
tns disketas leei oti movo o root mporei va grapsei se auto to filesystem.

Av loipov kaveis 0elei va xrnsimopoiei ext2 disketes ws xrnstns
kalo eivai  afou tis kavei format se ext2 va trexei ws root tis evtoles:

mount /mnt/floppy/
chmod -R o+rw /mnt/floppy/
umount /mnt/floppy/

Twra 0a mou pei kaveis giati va 0elw va xrnsimopoiw ext2 disketes.
Giati apo tote pou arxisa va xrnsimopoiw ext2 disketes exw ksexasei
tnv teleutaia fora pou petaksa sta skoupidia kapoia disketa epeidn xalase.
Kala, dev epimevw mporei va eivai kai symptwsn :-)


Ayta kai av ksexasa kati n' eipa kati la0os as me dior0wsouv
oi eidikoteroi.

A.T.

YG. Oso gia ayto to atimo to option mode=0777 gia to fstab
pou avaferete sto man 8 mount av kserei kaveis as mas pei ti akribws kavei
(oxi sto peripou) giati to fstab dev to dexete (dnladn av to baleis,
meta dev se afnvei va kaveis mount tnv disketa).
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list