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

Re: /lib/init/rw



Hans du Plooy wrote:
Hi guys,

What does this do?

jduplooy:~# df -lh
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              52G   42G  7.7G  85% /
tmpfs                 503M     0  503M   0% /lib/init/rw    <----------- ??


jduplooy:~# ls -lha /lib/init/rw/
total 4.0K
drwxr-xr-x 2 root root   60 2007-06-05 19:03 .
drwxr-xr-x 3 root root 4.0K 2007-02-07 18:36 ..
-rw-r--r-- 1 root root    0 2007-06-05 19:03 .ramfs

Unmounting it seems to have no effect. I'm running Etch on several machines: desktop and server, even mix of AMD64, 486, 686 and K7 stock kernels.

Thanks
Hans



On my system, /lib/init/rw also contains a hidden directory:

  drwxr-xr-x 2 root root   80 2007-06-04 16:31 .mdadm

Which contains two empty files:

  -rw-r--r-- 1 root root 0 2007-06-04 16:31 md0-uevent
  -rw-r--r-- 1 root root 0 2007-06-04 16:31 md1-uevent

This matches my software RAID setup.

Based on the content of two *.sh files located in /init/lib, I'd think this is a system startup directory, used as part of the system's initialization (initrd, etc.).

So, maybe it's OK to umount it, presuming that it's no longer used. Then again, since I really don't know, perhaps not. ;)

--
Bob McGowan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: