check out the man pages for the /usr/bin/lsattr and /usr/bin/chattr command ( by Remy Card ).
They can do some pretty interesting things to files and filesystems, including setting the immutable bit ( LINUX_CAP_IMMUTABLE ) on a given file like so ( as root ):
Not even root cannot modify this file in any way, no matter who owns it or how it is chmodded.
to undo that operation, as root:
It's probably not what going on, but if all else fails, including an SELinux check, that could be what is hanging you up.
HTH
Scott
Last edited by deindorfer; 06-03-2010 at 06:36 PM..
Reason: Correct Typo
Hello ,
I 've got a problem with the root partition on my SCO 5.0.5 .
When I check the disk with df or mount , I can 't see the root filesystem .
# mount
/stand on /dev/boot read only on Tue Sep 05 16:13:51 2006
/home on /dev/home read/write on Tue Sep 05 16:14:41 2006
But , if I try... (3 Replies)
I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga).
**The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL;
so, i have to edit the /etc/fstab :-(
-ilan (3 Replies)
Hi All,
I need to create a file which contains the list of all the files present in that directory.
e.g.,
ls /export/home/user/*.dat > list_file.dat
but what i am getting is:
$ ls /export/home/user/*.dat > list_file.dat
/export/home/user/*.dat: No such file or directory
But I have... (1 Reply)
# ls -l
total 10
-rw-r--r-- 1 dummy2 other 140 Jun 19 21:37 local.cshrc
-rw-r--r-- 1 dummy2 other 136 Jun 19 21:37 local.cshrc~
-rw-r--r-- 1 dummy2 other 157 Jun 19 21:37 local.login
-rw-r--r-- 1 dummy2 other 178 Jun 19 21:37 local.profile... (6 Replies)
Hi,
My requirement is,there is a directory location like:
:camp/current/
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Hi all,
I am looking for a script which renames all the files from the present directory.
Eg.:
In unix directory contains the below files
linux001.txt
linux002.txt
linux003.txt
......
.......
Now the files should be renamed to
unix001.txt
unix002.txt
unix003.txt
Could anyone... (8 Replies)
Hi all,
I have a directory with multiple (thousnads) of files, which are named this way
ABCDEF.wo.im-1
OKRAME.ire.roi
IOJEAFO01.irt.gfg
IMNYBL05.REG.gkf
I would like to keep the part of the name (everything before the first dot in the filename).
The desired output:
ABCDEF... (3 Replies)
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Hello
I need to install a new application on my linux server but needs to have a new directory e.g /opt/InCharge as this is the directory that the application would ask for during installation .This directory needs to be mounted
if df -h it should appear as mounted (9 Replies)
Discussion started by: DOkuwa
9 Replies
LEARN ABOUT HPUX
info
info(4) Kernel Interfaces Manual info(4)NAME
info - diskless client configuration information file
DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and
default values will be used for all parameters. Following is the list of parameters which can be defined in the file:
Specifies the IP address of the client's private root server. If this is not
specified, the client's private root server defaults to the boot server.
Specifies the pathname to the client's private root on the private root
server. If this is not specified, the client's private root path defaults to
Specifies the NFS mount options to mount the client's private root from
the private root server. If this is not specified, the mount options default to
Specifies the NFS mount options to mount the client's
directory from the boot server. If this is not specified, the mount options default to
Specifies whether NFS should be configured as primary swap. (NOTE: In
order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless
machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1
and the diskless kernel should be configured without setting to 1. If this parameter is not specified in
the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap.
If not set, this parameter defaults to a value of 1, and results in the
removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk-
less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk
space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot
times due to the time savings in creating additional swap files.
The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By
default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters
revert to their default values (see above). If the file is not present, this is an error.
EXAMPLES
An example file is shown below:
FILES info(4)