Wednesday, November 10, 2010

CIFS VFS: cifs_mount failed w/return code = -101

CIFS VFS: Error connecting to socket. Aborting operation
 CIFS VFS: cifs_mount failed w/return code = -101

Wednesday, November 3, 2010

how to redirect strace to text file

how to redirect strace to text file

#strace -o filename command
 
For example:
strace -o strace1.txt  ls  
 

Tuesday, November 2, 2010

read and edit initrd image contents

1. Make temporary directory

#mkdir /tmp/initrd
2. Copy initrd image to destination directory
#cp /source/directory/initrd-version.img /tmp/initrd
3. unzip and use cpio
#gzip -dc initrd-2.6.18-164.6.1.el5.img | cpio -ivd