[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?

In article <20030311205203.GB5305@piper.madduck.net>,
martin f krafft  <madduck@debian.org> wrote:
>also sprach Emile van Bergen <emile-deb@evbergen.xs4all.nl>
>[2003.03.11.1426 +0100]:
>> However, as /mem refers more to properties more than implementation, I
>the main property of memory is to store things. and you want to make
>/mem {tmp,shm}fs?

The right name is /run, I guess.

How about an implementation in sysvinit like this:

- sysvinit includes /run
- if the kernel supports it a shmfs is mounted on /run
- otherwise if the kernel supports it a ramdisk is mounted on /run
- the size of the shmfs/ramdisk can be set in /etc/default/rundirsize
  and is 128K by default. That will give you 94K and 128 inodes
  for an ext2 filesystem on a ramdisk and 128K for shmfs. That
  should be plenty, or not?

I don't think persistance between boots is important.

Anyone who is capable of getting themselves made President should
on no account be allowed to do the job -- Douglas Adams.

Reply to: