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 PLAN9
srv
SRV(4) Kernel Interfaces Manual SRV(4)NAME
srv, 9fs, dk232, dkmodem - start network file service
SYNOPSIS
srv [ -m ] [net!]system[!service] [ srvname [ mtpt ] ]
9fs [net!]system [mountpoint]
dk232 [server]
dkmodem [telno]
DESCRIPTION
Srv dials the given machine and initializes the connection to serve the 9P protocol. It then creates in /srv a file named srvname. Users
can then mount (see bind(1)) the service, typically on a name in /n, to access the files provided by the remote machine. If srvname is
omitted, the first argument to srv is used. Option m directs srv to mount the service on /n/system or onto mtpt if it is given.
The specified service must serve 9P. Usually service can be omitted; when calling some non-Plan 9 systems, a service such as u9fs must be
mentioned explicitly.
The 9fs command does the srv and the mount necessary to make available the files of system on network net. The files are mounted on mount-
point, if given; otherwise they are mounted on /n/system. If system contains characters, only the last element of system is used in the /n
name.
9fs recognizes some special names, such as dump to make the dump file system available on /n/dump. 9fs is an rc(1) script; examine it to
see what local conventions apply.
Dk232 configures a serial line as a Datakit device and connects to a file server (default bootes) using 9fs.
Dkmodem dials a file server at telephone number telno and configures the line as a Datakit device using 9fs.
EXAMPLES
To see kremvax's and deepthought's files in /n/kremvax and /n/deepthought:
9fs kremvax
9fs hhgttg/deepthought
NOTE
The TCP port used for 9P is 564.
FILES
/srv/* ports to file systems and servers posted by srv and 9fs
SOURCE
/sys/src/cmd/srv.c
/rc/bin/9fs
/rc/bin/dk232
/rc/bin/dkmodem
SEE ALSO bind(1), dial(2), srv(3), ftpfs(4), dkconfig(8)SRV(4)