Re: eject from halt

2008-06-05 Thread Jeremy Katz
On Wed, 2008-06-04 at 22:26 +0100, Scott James Remnant wrote: On Wed, 2008-06-04 at 16:50 -0400, Jeremy Katz wrote: On Wed, 2008-06-04 at 17:18 +0100, Scott James Remnant wrote: On Wed, 2008-06-04 at 11:23 -0400, Jeremy Katz wrote: Not without doing some sort of hack to precache

Re: eject from halt

2008-06-05 Thread Jeremy Katz
On Wed, 2008-06-04 at 16:13 +0100, Scott James Remnant wrote: On Tue, 2008-06-03 at 22:59 -0400, Jeremy Katz wrote: Attached is a simple patch to add support to upstart's halt command for ejecting a given device. This is really nice to make it so that you can eject a livecd on shutdown

eject from halt

2008-06-04 Thread Jeremy Katz
Attached is a simple patch to add support to upstart's halt command for ejecting a given device. This is really nice to make it so that you can eject a livecd on shutdown without having to do some of the contortions that are currently done on the shutdown of the Ubuntu livecd ;) And while a

Re: eject from halt

2008-06-04 Thread Bill Nottingham
Jeremy Katz ([EMAIL PROTECTED]) said: Thoughts? Is the ioctl the same for CD and non-CD devices? Bill -- upstart-devel mailing list upstart-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Re: eject from halt

2008-06-04 Thread Scott James Remnant
On Wed, 2008-06-04 at 16:50 -0400, Jeremy Katz wrote: On Wed, 2008-06-04 at 17:18 +0100, Scott James Remnant wrote: On Wed, 2008-06-04 at 11:23 -0400, Jeremy Katz wrote: Not without doing some sort of hack to precache binaries. Because you want to eject and then halt. If you have to do