• Federico Vaga's avatar
    userspace:init: remove everything from /dev/shm at boot · 3d9f88f7
    Federico Vaga authored
    We want '/dev/shm' to be empty at boot time. It may happen that
    while working with rootfs over NFS this directory is not empty.
    
    With this patch we remove all files from this directory because
    they should not be there at all.
    
    What if I put something there on purpose? When using tmpfs,
    files in '/dev/shm' will be automatically removed on shutdown.
    We are keeping the same behavior. Put your own development files
    in '/dev/shm' after the execution of this script by copying them
    from another location.
    
    Again, if we use rootfs over NFS and if tmpfs does not work then
    the system will use the NFS and the system should continue to work.
    In this case the performances will be much worst
    Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
    3d9f88f7
Name
Last commit
Last update
..
dev_shmem Loading commit data...
dot-config Loading commit data...
dropbear Loading commit data...
enable_switching.sh Loading commit data...
hald.sh Loading commit data...
hwinfo Loading commit data...
lighttpd.sh Loading commit data...
monit.sh Loading commit data...
network Loading commit data...
ppsi.sh Loading commit data...
rcK Loading commit data...
rcS Loading commit data...
reboot.sh Loading commit data...
rtud.sh Loading commit data...
snmpd Loading commit data...
syslogd Loading commit data...
time_save.sh Loading commit data...
vlan.sh Loading commit data...
wr Loading commit data...
wr_date Loading commit data...
wrs-boot-procedure Loading commit data...
wrs_auxclk.sh Loading commit data...
wrs_custom_boot_script.sh Loading commit data...
wrs_status_led.sh Loading commit data...
wrs_throttling.sh Loading commit data...
wrs_watchdog.sh Loading commit data...