Kezdőlap › Fórumok › Adattárolók problémái › DVD irom, csak cd-t olvas
- This topic has 196 hozzászólás, 8 résztvevő, and was last updated 16 years, 10 months telt el by
script.
-
SzerzőBejegyzés
-
2008-08-02-20:48 #2168433
1.
If any user should be able to unmount, then use users instead of user in the fstab line.
Koszonom vizsla :user ,users nem mindegy 🙂Code:(usually given in a bootscript) causes all file systems mentioned in fstab (of the proper type and/or having or not having the proper options) to be mounted as indicated, except for those whose line contains the noauto keyword.
Adding the -F option will make mount fork, so that the filesystems are mounted simultaneously.
(ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point.
(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
ormount /cd
2.
A fenti kod formajara megirtam a sajat dvd re vonatkozo meghatarozast ami igynezki.
/dev/hdc /media/cdrom0 /cd iso9660 ro,users,noauto,unhide
Szamit az valamit hogy cd iso van irva cd iso9660 es nem dvd ….?meg meg szerintem ezzel is mukodnie kellene.
/dev/hdc /media/cdrom0 udf,iso9660 users,noauto 0 0Ezekutan
3.script@server:~$ mount /dev/hdc /media/cdrom0
mount: only root can do thatSracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?
2008-08-02-20:48 #21684341.
If any user should be able to unmount, then use users instead of user in the fstab line.
Koszonom vizsla :user ,users nem mindegy 🙂Code:(usually given in a bootscript) causes all file systems mentioned in fstab (of the proper type and/or having or not having the proper options) to be mounted as indicated, except for those whose line contains the noauto keyword.
Adding the -F option will make mount fork, so that the filesystems are mounted simultaneously.
(ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point.
(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
ormount /cd
2.
A fenti kod formajara megirtam a sajat dvd re vonatkozo meghatarozast ami igynezki.
/dev/hdc /media/cdrom0 /cd iso9660 ro,users,noauto,unhide
Szamit az valamit hogy cd iso van irva cd iso9660 es nem dvd ….?meg meg szerintem ezzel is mukodnie kellene.
/dev/hdc /media/cdrom0 udf,iso9660 users,noauto 0 0Ezekutan
3.script@server:~$ mount /dev/hdc /media/cdrom0
mount: only root can do thatSracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?
2008-08-02-20:56 #2168435hozza adtam magam a users -hez talan segit.
2008-08-02-20:56 #2168436hozza adtam magam a users -hez talan segit.
2008-08-02-20:56 #2168437Hát nem tudom, hogy mi a francnak írogatok ide, ha a felét nem olvasod?! :))))
2008-08-02-20:56 #2168438Hát nem tudom, hogy mi a francnak írogatok ide, ha a felét nem olvasod?! :))))
2008-08-02-21:00 #2168439Na akkor vegig olvasom a topicot -mert meg mindeg nem muxik ,valoszinuleg elkerulte valami a figyelmem ;D
2008-08-02-21:00 #2168440Na akkor vegig olvasom a topicot -mert meg mindeg nem muxik ,valoszinuleg elkerulte valami a figyelmem ;D
2008-08-02-21:18 #2168441xcut es vizsla ajanlottatok ,hogy erdemes tagja lenni a kovetkezo csoportoknak. 😉
A disk, plugdev csoportokban benne vagyok haldaemon ban is cdrom nak is cdrw -t nemtudom hogy allithatom be.
Code:server:/home/script# useradd -G cdrw script
useradd: unknown group cdrwSzoval most itt tartok.
Code:# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 /home ext3 defaults 0 2
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 users,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,users,noauto 0 0
/dev/hda1 /mnt/win_c ntfs user,suid,dev,exec 0 0
/dev/hda5 /mnt/win_d vfat user,suid,dev,exec,loop=/dev/loop0 0 0#/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/hdc /media/cdrom0 auto noauto,users 0 0
#/dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,user,ro,unhide 0 0
#/dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,users,ro,unhide 0 0Az irany tuti jo de valami meg hianyzik :rolleyes:
2008-08-02-21:18 #2168442xcut es vizsla ajanlottatok ,hogy erdemes tagja lenni a kovetkezo csoportoknak. 😉
A disk, plugdev csoportokban benne vagyok haldaemon ban is cdrom nak is cdrw -t nemtudom hogy allithatom be.
Code:server:/home/script# useradd -G cdrw script
useradd: unknown group cdrwSzoval most itt tartok.
Code:# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 /home ext3 defaults 0 2
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 users,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,users,noauto 0 0
/dev/hda1 /mnt/win_c ntfs user,suid,dev,exec 0 0
/dev/hda5 /mnt/win_d vfat user,suid,dev,exec,loop=/dev/loop0 0 0#/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/hdc /media/cdrom0 auto noauto,users 0 0
#/dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,user,ro,unhide 0 0
#/dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,users,ro,unhide 0 0Az irany tuti jo de valami meg hianyzik :rolleyes:
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz