> cdemu -b system load 0 /isofailas
> ir užkrauna tą ISO failą į įrenginį /dev/sr0
> Tada prasideda keiksmai XFCE: blogas blokas, ar failų sistema ir t.t.
>
> Rankiniu būdu primountinus
> mount /dev/sr0 /mnt/cdrom galiu naudotis lygiai taip pat kaip panaudojęs komandą
> mount /dev/sr0 /mnt/cdrom -o loop -t iso9660 be jokių cdemu,
> tai yra gaunasi ne kaip virtualus CD, o paprasčiausias primountinimas-
> programos (ar žaidimai) neranda kaip atskiro cdrom.
> buvau sutvarkęs ta cdemu, tai tik užkrovus iso failą į /dev/sr0 įrenginį, jis būdavo kaip virtualus diskas.
> Ir nežinau ar prieš instaliuojant cdemud buvo jau /dev/sr0 ar cdemu sukūrė.
> Konfige /etc/conf.d/cdemu naudojant alsa, reikia įrašyti alsa reikšmę, o kaip OSS4 atveju?
> CDEMUD_BACKEND=OSS
> Ar tai nėra svarbu ir čia tik susijusiems su muzika virtualiems diskams svarbus nustatymas? Gal palikti
> CDEMUD_BACKEND=null
> mount /dev/sr0 /mnt/cdrom -o loop -t iso9660 be jokių cdemu,
-o loop
tikrai nebereikia /dev/sr0
, o tik nurodai patį image file. Jei nenurodai, tai labai keistas montavimo būdas ::))
>
> Sorry to nitpick, but are we talking about image being mounted/unmounted
> or loaded/unloaded? If the former, as Henrik mentioned, the
> auto-mounting should do the trick. And if the latter...
> I guess it would be possible if daemon's device objects were to open the
> control device upon image loading and close it when image is unloaded.
> That would get you something akin to hot-plugging and unplugging a
> CD-ROM device.
> However, that might also have some unwanted side effects
> - most obvious would be losing an opened device upon unloading, which
> would also result in traffic to dead device...
> So, mind if I ask what the rationale behind the question is?
> Hi. Assuming you are referring to auto-mounting: Yes, that's possible.
>
> For starters you need a version of the CDEmu daemon newer than 1.1.0.
> Then if you run Gnome you should make sure gnome-volume-manager is
> installed and have a look at its documentation. On my box I didn't have
> to configure anything but who knows?
>
> - Henrik
>
> Saulius Krasuckas wrote:
>>
>> Is there a possibility to show up a new emulated device to OS only
>> once some image was mounted? And to hide it away once image gets
>> unmounted.
> Konfige /etc/conf.d/cdemu naudojant alsa, reikia įrašyti alsa reikšmę, o kaip OSS4 atveju?
> CDEMUD_BACKEND=OSS
> Ar tai nėra svarbu ir čia tik susijusiems su muzika virtualiems diskams svarbus nustatymas? Gal palikti
> CDEMUD_BACKEND=null
>* On 08. 07. 2009 08:17, Saulius Krasuckas wrote:
>>
>> If we use ALSA, in /etc/conf.d/cdemu we write "alsa". But if we use
>> OSS4, should be write "OSS" here?
>
> Yes.
>
> CDEmu uses libao for audio playback; according to
> http://www.opensound.com/wiki/index.php/Configuring_Applications_for_OSSv4
> libao's "oss" driver should work with OSSv4.
>
> Regards,
> Rok
Powered by mwForum 2.29.6 © 1999-2015 Markus Wichitill