~alpine/devel

1

[alpine-devel] localmount question

Details
Message ID
<296061.68518.qm@web50209.mail.re2.yahoo.com>
Sender timestamp
1227666411
DKIM signature
missing
Download raw message
I added a line to /etc/fstab to automatically load my harddrive.  However, when I reboot, I get an error that the mount point doesn't exist.  I had to create a stupid init script that just does a mkdir.  Can the localmount script be modified to automatically create the mount point before calling mount?

Ted



      


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1227691095.10321.11.camel@nc>
In-Reply-To
<296061.68518.qm@web50209.mail.re2.yahoo.com> (view parent)
Sender timestamp
1227691095
DKIM signature
missing
Download raw message
On Tue, 2008-11-25 at 18:26 -0800, Ted Trask wrote:
> I added a line to /etc/fstab to automatically load my harddrive.
> However, when I reboot, I get an error that the mount point doesn't
> exist.  I had to create a stupid init script that just does a mkdir.
> Can the localmount script be modified to automatically create the
> mount point before calling mount?

Other alternative would be to:

lbu include /path/to/mymount
lbu exclude '/path/to/mymount/*'

and your dir would be included in the apkovl.

you could have modified /etc/init.d/localmount too. lbu detect its
changed and saves your version.

However, since alpine is designed to run from ram, it might not be a bad
idea.

http://dev.alpinelinux.org/cgit/cgit.cgi/alpine-baselayout/commit/?id=d502ce6638987f0693f19c44104cdb6cd8b1be58

-nc



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)