Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] fstab - Optisches Laufwerk eintragen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 175

PostPosted: Fri Apr 10, 2020 9:41 pm    Post subject: [gelöst] fstab - Optisches Laufwerk eintragen Reply with quote

Hallo,
ich habe Gentoo als Gastsystem in VirtualBox installiert.

Mir ist bei meiner fstab was unklar.
Code:
nano /etc/fstab

   /dev/sda2      /boot             ext2      noauto,noatime    12
   /dev/sda4      /                 ext4      noatime           01
   /dev/sda3      none              swap      sw                00
   /dev/sr0       /mnt/cdrom        auto      noauto,ro         00



Ist der Eintrag für das Optische Laufwerk korrekt (sr0 statt cdrom) und wie könnte ich ein Floppy mit in die fstab eintragen?

Mfg,
Sabaton


Last edited by Sabaton on Sat Apr 11, 2020 3:12 pm; edited 2 times in total
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Fri Apr 10, 2020 10:08 pm    Post subject: Reply with quote

Hallo Sabaton,

in meiner fstab habe ich gar keinen Eintrag für das CD / DVD Laufwerk. Vielleicht
wäre dass hilfreich: https://wiki.gentoo.org/wiki/AutoFS

oder auch dieses: https://wiki.gentoo.org/wiki/Udisks

Grüße
Ma
EDIT. Den hatte ich noch vergessen: https://wiki.gentoo.org/wiki/Removable_media
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Tyrus
Guru
Guru


Joined: 03 Feb 2018
Posts: 300

PostPosted: Sat Apr 11, 2020 10:06 am    Post subject: Reply with quote

Hallo Sabaton.

Um auf deine Fragen einzugehen. Wenn du dich im Verzeichnis /dev umschaust findest du:
ls -l /dev/cdrom:

lrwxrwxrwx 1 root root 3 11. Apr 2020  /dev/cdrom -> sr0

Du kannst also in de /etc/fstab grundsätzlich auch /dev/cdrom nutzen, wobei ich /dev/sr0 bevorzugen würde.

Die Floppy ist /dev/fd0. Ich weiss grade nicht ob da auch ein Link erzeugt wird /dev/floppy weil ich schon recht lange kein Floppylaufwerk mehr nutze. Aber kannste eventuell ja selber nachprüfen.

Ansonsten würde ich dir aber auch zu dem AutoFS raten das schon Marlo vorgeschlagen hat.
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 175

PostPosted: Sat Apr 11, 2020 1:16 pm    Post subject: Reply with quote

Hallo,

ich habe mich für AutoFS entschieden - Läuft :D

Vielen Dank für den Support!

Mfg,
Sabaton
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Apr 11, 2020 2:47 pm    Post subject: Reply with quote

Sei so nett und mach noch ein
[gelöst] oder
[solved]
in den Titel.

Viel Spaß noch
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum