PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > /lib/init/rw
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

/lib/init/rw

Réponse
 
LinkBack Outils de la discussion
Vieux 14/06/2007, 11h50   #1
Hans du Plooy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut /lib/init/rw

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/06/2007, 17h50   #2
Bob McGowan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
Vieux 14/06/2007, 18h00   #3
Bob Proulx
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /lib/init/rw

Hans du Plooy wrote:
> What does this do?


It is used by the initscripts. Among other things see this bug and
read the message from Henrique de Moraes Holschuh on Mon, 1 Jan 2007.

http://bugs.debian.org/cgi-bin/bugre...?bug=%23403863

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/06/2007, 15h40   #4
Hans du Plooy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /lib/init/rw

Bob Proulx wrote:
> Hans du Plooy wrote:
>> What does this do?

>
> It is used by the initscripts. Among other things see this bug and
> read the message from Henrique de Moraes Holschuh on Mon, 1 Jan 2007.
>
> http://bugs.debian.org/cgi-bin/bugre...?bug=%23403863
>
> Bob


Thanks, there's some useful info. But they mostly just argue about
where the .ramfs should be put. I'm really more interested in finding
out why it needs to be a ramfs.

Hans


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/06/2007, 00h40   #5
Bob Proulx
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /lib/init/rw

Hans du Plooy wrote:
> Bob Proulx wrote:
> > http://bugs.debian.org/cgi-bin/bugre...?bug=%23403863

> Thanks, there's some useful info. But they mostly just argue about
> where the .ramfs should be put.


Ah, well, yes.

> I'm really more interested in finding out why it needs to be a
> ramfs.


That I don't know. But if you find out I would be interesting in
knowing too.

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h23.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09689 seconds with 13 queries