08-20-2019
Thanks to all that replied! Yes the OS mattered... I was on CentOS 7 and the filesystem was mounted with an option known as "relatime". Which only seems to record atime in 3 different instances. Got it figured out!
These 2 Users Gave Thanks to bodisha For This Post:
8 More Discussions You Might Find Interesting
1. Solaris
Hi all,
can some one help me in chmod command, and let me know the various combinations for this command.
for : eg chmod -R 777 <dir names>
this gives all rights to all but i want the specific access levels kindly help me out in this issue.
Thank you,
lakshmanan (2 Replies)
Discussion started by: lakshmananl
2 Replies
2. Linux
If i want to display a banner that says Happy Bday, but I want to put that output banner into a file called bday4me,
could I use the command (echo) or (banner -w35) Happy Bday >> bday4me
would this command work? Sorry for asking, but i'm at home just now and don't have access to a UNIX... (3 Replies)
Discussion started by: Cisco
3 Replies
3. Shell Programming and Scripting
Hi all,
Can you tell me how to change the prompt color (only the path part) when I chnange directory with "cd"?
I use the sequence below in ".bashrc" (Solaris 8) to change my prompt colors and I'd like to modify it to change the path color when I cange directory.
PSC() { echo -ne "\"; }... (0 Replies)
Discussion started by: majormark
0 Replies
4. Shell Programming and Scripting
Hi.,
Last modified time of the folder is changing when I view the file inside the directory. Here is the test on sample directory. I believe that ls -l commands gives the time detail w.r.t last modified time. Pl. suggest.
bash-3.2$ mkdir test
bash-3.2$ cd test
bash-3.2$ touch myfile.txt... (2 Replies)
Discussion started by: IND123
2 Replies
5. UNIX for Dummies Questions & Answers
Hey All,
I want to get the access time of files in a directory.
I used ls -lu on a directory and picked a file that had the access time of Mar 1 and used cat to get the contents of the file. Then I used the ls -lu again and the access time changed on that file. Perfect !!
Now if I cat a... (10 Replies)
Discussion started by: vipulgupta0
10 Replies
6. Shell Programming and Scripting
This piece of code is in a shell script I'm trying to modify to run on my system.
sed s:nu\\t.\*:"nu=0"
It's clearly a substitute script which replaces nu\\t.\* with nu = 0.
What exactly does nu\\t.\* demarcate though-- I thought it was just the previous nu = xxxxx (which existed and is... (3 Replies)
Discussion started by: czar21
3 Replies
7. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
8. Shell Programming and Scripting
When I run the below bash I get the expected output, which is the sum of all matching targets less than 20 in $file1. The filename in the directory is fixed (in bold).
for file1 in /home/cmccabe/Desktop/test/panel/reads/16-0000_EPIL70.txt ; do
bname=`basename $file1`
... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT SUSE
mount.ocfs2
mount.ocfs2(8) OCFS2 Manual Pages mount.ocfs2(8)
NAME
mount.ocfs2 - mount an OCFS2 filesystem
SYNOPSIS
mount.ocfs2 [-vn] [-o options] device dir
DESCRIPTION
mount.ocfs2 mounts an OCFS2 filesystem at dir. It is usually invoked indirectly by the mount(8) command when using the -t ocfs2 option.
OPTIONS
_netdev
The filesystem resides on a device that requires network access (used to prevent the system from attempting to mount these filesys-
tems until the network has been enabled on the system). mount.ocfs2 transparently appends this option during mount. However, users
mounting the volume via /etc/fstab must explicitly specify this mount option to delay the system from mounting the volume until
after the network has been enabled.
atime_quantum=nrsec
The file system will not update atime unless this number of seconds has passed since the last update. Set to zero to always update
atime. It defaults to 60 secs.
relatime
The file system only update atime if the previous atime is older than mtime or ctime.
noatime
The file system will not update access time.
acl / noacl
Enables / disables POSIX ACLs (Access Control Lists) support.
user_xattr / nouser_xattr
Enables / disables Extended User Attributes.
commit=nrsec
Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero means default.
data=ordered / data=writeback
Specifies the handling of file data during metadata journalling.
ordered
This is the default mode. All data is forced directly out to the main file system prior to its metadata being committed
to the journal.
writeback
Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to
the journal. This is rumored to be the highest-throughput option. While it guarantees internal file system integrity, it
can allow old data to appear in files after a crash and journal recovery.
datavolume
This mount option has been deprecated in OCFS2 1.6. It has been used in the past (OCFS2 1.2 and OCFS2 1.4), to force the Oracle
RDBMS to issue direct IOs to the hosted data files, control files, redo logs, archive logs, voting disk, cluster registry, etc. It
has been deprecated because it is no longer required. Oracle RDBMS users should instead use the init.ora parameter, filesys-
temio_options, to enable direct IOs.
errors=remount-ro / errors=panic
Define the behavior when an error is encountered. (Either remount the file system read-only, or panic and halt the system.) By
default, the file system is remounted read only.
localflocks
This disables cluster-aware flock(2).
intr / nointr
The default is intr that allows signals to interrupt cluster operations. nointr disables signals during cluster operations.
ro Mount the file system read-only.
rw Mount the file system read-write.
SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) mounted.ocfs2(8) debugfs.ocfs2(8) o2cb(7)
AUTHORS
Oracle Corporation
COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved.
Version 1.4.3 February 2010 mount.ocfs2(8)