Bash update cdrom status

Colin Law clanlaw at googlemail.com
Sun Nov 24 16:18:08 UTC 2013


On 24 November 2013 15:46, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
> 2013/11/24 Colin Law <clanlaw at googlemail.com>
>>
>> On 24 November 2013 12:32, Johnny Rosenberg <gurus.knugum at gmail.com>
>> wrote:
>> > 2013/11/24 Colin Law <clanlaw at googlemail.com>
>> >> ...
>> >> What does the udisks command in your script show before and after
>> >> blanking
>> >> it?
>> >
>> >
>> > They showed the same thing before and after blanking. Just to be sure,
>> > I'll
>> > test that again right now:
>>
>> Sorry, I was not clear enough,   I meant you to look at the complete
>> output from udisks to see if there is any change at all after the
>> erase.
>
>
> No, you wasn't clear enough… he he he… Well, now you are, so I'll try again…

[skipped stuff that shows that nothing changes when it is erased]

Oh well, it might have helped.

You could try
udisks --poll-for-media ...
after erasing it.  But I am just guessing really.

Colin




More information about the ubuntu-users mailing list