Kezdőlap › Fórumok › Slackware, Slax problémák › fstab és mount sokadszorra
- This topic has 20 hozzászólás, 12 résztvevő, and was last updated 19 years, 2 months telt el by
AMD486.
-
SzerzőBejegyzés
-
2006-04-18-07:19 #2057371
Köszönöm a tanácsokat, már próbálom is ki! :wink1:
2006-04-18-07:22 #2057372A „user” és „users” nem az olvasást befolyásolja, hanem hogy ki csatolhatja fel és le.
user: aki felcsatolta, lecsatolhatja
users: bárki fel-le csatolhatja2006-04-18-08:34 #2057373A „user” és „users” nem az olvasást befolyásolja, hanem hogy ki csatolhatja fel és le.
user: aki felcsatolta, lecsatolhatja
users: bárki fel-le csatolhatjaAz azért furcsa hogy system bootkor már felcsatolódik, de akkor ki a user amikor még senki nincs belépve?
ELaci
2006-04-18-13:36 #2057374Bootkor minden, így a mount is rootként fut. Ha nem hiszed, járj utána.
2006-04-18-14:29 #2057375A „user” és „users” nem az olvasást befolyásolja, hanem hogy ki csatolhatja fel és le.
user: aki felcsatolta, lecsatolhatja
users: bárki fel-le csatolhatja95% -ban igaz. 🙂
Idézet a „man mount”-ból
(iii) Alapvetoen csak a rendszergazda (superuser) tud fajlrendszert
csatolni, de ha az fstab megfelelo sora tartalmazza a user opciot,
akkor barki csatolhatja a megfelelo rendszert.Csak az a felhasznalo tudja lecsatolni a fajlrendszert, aki csatolta. Ha azt
szeretnenk, hogy minden felhasznalo le tudja csatolni, akkor hasznaljuk
a users kifejezest a user helyett az fstab sorban.2006-04-18-15:31 #20573762006-04-18-16:28 #2057377(iii) Normally, only the superuser can mount file systems. However, when fstab contains the user
option on a line, anybody can mount the corresponding system.Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the command
mount /dev/cdrom
or
mount /cd
For more details, see fstab(5). Only the user that mounted a filesystem can unmount it again. If
any user should be able to unmount, then use users instead of user in the fstab line. The owner
option is similar to the user option, with the restriction that the user must be the owner of the
special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of
this device. The group option is similar, with the restriction that the user must be member of the
group of the special file.(…)
user Allow an ordinary user to mount the file system. The name of the mounting user is
written to mtab so that he can unmount the file system again. This option implies the
options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the
option line user,exec,dev,suid).users Allow every user to mount and unmount the file system. This option implies the
options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the
option line users,exec,dev,suid).2006-04-19-08:13 #2057378Köszönöm az erõfeszítéseket, siker koronázta a projektet:
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / ext3 defaults 1 1
/dev/hda1 /max-e ntfs ro 1 0
/dev/hda5 /max-d vfat defaults 1 0
/dev/sda1 /sam-c ntfs umask=0222,auto,ro,users 0 0
/dev/sda5 /sam-d ntfs umask=0222,auto,ro,users 0 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0Végül is amikor ezt az „umask=” dolgot beraktam, utána lett jó a dolog. Most már csak az a kérdés hogyan jelenítsem meg a magyar karaktereket a csatolt partíción.
Még egyszer köszi!
2006-04-19-08:17 #2057379Most már csak az a kérdés hogyan jelenítsem meg a magyar karaktereket a csatolt partíción.
ezeket használom/használtam:
iocharset=iso8859-2
nls=utf82006-04-20-16:16 #2057380wazz
írd be konzolba: ‘man man’
Meg fogsz lepõdni 😛 -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz