[Fedora-livecd-list] Help needed running a process at boottime on livecd

Elias Hunt hunt at m2s.com
Thu Nov 29 15:46:52 UTC 2007


I'll definitely look into something like that. We've always used fstab due to running some processes from the drive in inittab. So it seemed to make the most sense order wise.

Do you know of a good way to determine if a drive is formatted before mounting? I want to make sure to only format if needed, and am not sure how to determine that info.

Thanks.
-E

-----Original Message-----
From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Jeremy Katz
Sent: Wednesday, November 28, 2007 8:12 PM
To: fedora-livecd-list at redhat.com
Subject: Re: [Fedora-livecd-list] Help needed running a process at boottime on livecd

On Wed, 2007-11-28 at 18:04 -0500, Elias Hunt wrote:
> I’m not sure the specifics of what I’m requesting, so I’ll cover what I’m trying to accomplish and see if anyone can help me figure out where to do it.

I'd suggest instead of adding the filesystem to /etc/fstab that you
mount it as part of the normal livecd initscript (see the writeout
of /etc/init.d/fedora-live in the %post of fedora-base-desktop.ks).
Then you can easily check if it exists and if not do the appropriate
creation

Jeremy


--
Fedora-livecd-list mailing list
Fedora-livecd-list at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list




More information about the Fedora-livecd-list mailing list