Project

General

Profile

Actions

Bug #1732

closed

Various changes for diskless

Added by rumcic almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Attached patches fix a bug (by default, the mfs mount for /etc is too small for
our /etc due to the big blacklists in etc/ssh/), remove a check for devfs (we
have had devfs for quite a while now, so we probably do not need to check for
it's existance anymore) and replace the usage of mfs with tmpfs (due to the
ability of tmpfs to use swap when available, I believe it is a better choice).
--
Regards,
Rumko


Files

Actions #1

Updated by rumcic almost 14 years ago

Rumko wrote:

Attached patches fix a bug (by default, the mfs mount for /etc is too small
for our /etc due to the big blacklists in etc/ssh/), remove a check for devfs
(we have had devfs for quite a while now, so we probably do not need to check
for it's existance anymore) and replace the usage of mfs with tmpfs (due to
the ability of tmpfs to use swap when available, I believe it is a better
choice).

Another patch ... now if md_size contains only a number (without a suffix), it
is assumed it represents the number of sectors (and is multiplied by 512
before passing to mount_tmpfs), otherwise it is passed to mount_tmpfs as is
(so now, you can specify "5M" in md_size and it works).
--
Regards,
Rumko

Actions #2

Updated by swildner almost 14 years ago

Thanks, committed! -> 86de41e6561c1bb93c982537c87446371f8279b7

I was about to just push your patches, but honestly, the commit messages looked
too ugly. :) Next time, please give it some kind of "subsystem" indication in
the first line (such as my "diskless: "; "diskless rc scripts: " would fit the
bill too). And please try to keep lines <= ~70 chars or so. Maybe less for the
first line (committer(7) talks about <50, which I personally find a bit small).

Actions

Also available in: Atom PDF