[sisyphus] Q: rootfs в /proc/mounts в новых ядрах.

Dubrovskiy Viacheslav slava на tangramltd.com
Вт Авг 30 13:30:48 UTC 2011


30.08.2011 08:47, Sergey пишет:
> On Tuesday, August 30, 2011, Alexey Gladkov wrote:
>
>>> Зачем там rootfs появляется ?
>> Это нормально.
>>
>> What is rootfs?
>> ---------------
>>
>> Rootfs is a special instance of ramfs (or tmpfs, if that's enabled),
>> which is always present in 2.6 systems.
> Так раньше-то не показывалось. Зачем её видеть-то ?
Присоединяюсь к вопросу.
И для openvz тоже отображаются все примонтированые корни VPS и все
остальное что смонтировано внутри. Очень не удобно.
Вот например:
# mount
udevfs on /dev type tmpfs (rw,relatime,size=5120k,mode=755)
/dev/md1 on / type ext4 (rw,relatime,barrier=1,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shmfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,relatime)
/dev/mapper/main-vz on /var/lib/vz type ext4
(rw,nosuid,nodev,noexec,relatime,barrier=1,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/mapper/main-images on /mnt/images type ext4
(rw,nosuid,nodev,noexec,relatime,barrier=1,data=ordered)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime)
/mnt/images/cdu_1.4_core_277_A00.iso on /mnt/Dell_Server_Updates type
iso9660 (ro,relatime)
/mnt/images/Dell_DVD_ISO_-_Dell_Server_Updates_640.iso on /mnt/Dell type
iso9660 (ro,relatime)
/mnt/images/Platform6-1.1.7-20110616-server-light-x86_64-ru-in* on
/mnt/iso_light type iso9660 (ro,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/vz/private/3124 on /var/lib/vz/root/3124 type simfs
(rw,relatime,usrquota,grpquota)
proc on /var/lib/vz/root/3124/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3124/sys type sysfs (rw,relatime)
devpts on /var/lib/vz/root/3124/dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620)
/vz/private/3129 on /var/lib/vz/root/3129 type simfs (rw,relatime)
proc on /var/lib/vz/root/3129/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3129/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3129/dev type tmpfs
(rw,relatime,size=262144k,nr_inodes=65536,mode=755)
none on /var/lib/vz/root/3129/dev/pts type devpts (rw,relatime,mode=600)
/vz/private/3140 on /var/lib/vz/root/3140 type simfs (rw,relatime)
proc on /var/lib/vz/root/3140/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3140/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3140/dev type tmpfs
(rw,relatime,size=262144k,nr_inodes=65536,mode=755)
none on /var/lib/vz/root/3140/dev/pts type devpts (rw,relatime,mode=600)
/vz/private/3143 on /var/lib/vz/root/3143 type simfs (rw,relatime)
proc on /var/lib/vz/root/3143/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3143/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3143/dev type tmpfs
(rw,relatime,size=204800k,nr_inodes=51200,mode=755)
none on /var/lib/vz/root/3143/dev/pts type devpts (rw,relatime,mode=600)
/vz/private/3102 on /var/lib/vz/root/3102 type simfs
(rw,relatime,usrquota,grpquota)
proc on /var/lib/vz/root/3102/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3102/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3102/dev type tmpfs (rw,relatime,mode=755)
none on /var/lib/vz/root/3102/dev/pts type devpts (rw,relatime,mode=600)
/mnt/images/RFRemix-15-i386-netinst.iso on /mnt/russianfedora type
iso9660 (ro,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/vz/private/3146 on /var/lib/vz/root/3146 type simfs
(rw,relatime,usrquota,grpquota)
proc on /var/lib/vz/root/3146/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3146/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3146/dev type tmpfs
(rw,relatime,size=327680k,nr_inodes=81920,mode=755)
none on /var/lib/vz/root/3146/dev/pts type devpts (rw,relatime,mode=600)
/vz/private/3150 on /var/lib/vz/root/3150 type simfs (rw,relatime)
proc on /var/lib/vz/root/3150/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/3150/sys type sysfs (rw,relatime)
none on /var/lib/vz/root/3150/dev type tmpfs
(rw,relatime,size=33392k,nr_inodes=8348,mode=755)
none on /var/lib/vz/root/3150/dev/pts type devpts (rw,relatime,mode=600)
/dev/mapper/main-vz on /var_snapshot type ext4
(ro,nosuid,nodev,noexec,relatime,barrier=1,data=ordered)
/vz/private/3103 on /var/lib/vz/root/3103 type simfs
(rw,relatime,usrquota,grpquota)
sysfs on /var/lib/vz/root/3103/sys type sysfs (rw,relatime)
/proc on /var/lib/vz/root/3103/proc type proc (rw,relatime)
none on /var/lib/vz/root/3103/dev type tmpfs (rw,relatime,mode=755)
none on /var/lib/vz/root/3103/dev/pts type devpts (rw,relatime,mode=600)

-- 
WBR,
Dubrovskiy Viacheslav


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4903 bytes
Desc: п я─п╦п©я┌п╬пЁя─п╟я└п╦я┤п╣я│п╨п╟я▐ п©п╬п╢п©п╦я│я▄ S/MIME
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20110830/12305f38/attachment.bin>


Подробная информация о списке рассылки Sisyphus