Re: eject cdrom in %pre script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2003-09-23 at 17:01, Ricky Chawla wrote:
> eject /dev/hdc
> eject 
> eject /dev/cdrom
> 
> but none of them work ? 

eject doesn't exist in the installer environment.  You can either eject
from the post or do something like the following in your %pre
PYTHONPATH=/usr/lib/anaconda python -c 'import isys; 
    isys.ejectCdrom("/dev/hdc")'

Cheers,

Jeremy




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux