Sponsored Content
Full Discussion: CIFS file system check.
Top Forums Shell Programming and Scripting CIFS file system check. Post 302440971 by pludi on Thursday 29th of July 2010 03:49:21 AM
Old 07-29-2010
If your kernel makes its configuration available via the /proc filesystem, you can use something like
Code:
zcat /proc/config.gz | grep -qE 'CONFIG_CIFS=[ym]'

to check for CIFS support.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File System Check (fsck)

I am having a problem with fsck. I am new to UNIX but was placed in a position where I must learn it. Anyway, one of the instructions that I have been given is to use 'fsck -f -y' when I am having trouble with the filesystem. The problem is that I am getting an error message that says the -f... (1 Reply)
Discussion started by: mawalton
1 Replies

2. Shell Programming and Scripting

check if file exists on remote system ?

Hi there, I am designing a software rollout script and need to check if a particular file exists on a remote system something along the lines of if ; then blah blah The above doesnt work but you get the general idea....is there a way I can do this on a single line ?? any help would... (2 Replies)
Discussion started by: hcclnoodles
2 Replies

3. HP-UX

fsck! How to run Full File System Check

Dear all I am new for HP-UX. I have HP rp2470 running HP-UX 10.x When i run fsck in a root, the output is as below: #:root> fsck fsck: /dev/vg00/rlvol1: mounted file system continue (y/n)? y ** /dev/vg00/rlvol1 ** Last Mounted on /stand ** Phase 1 - Check Blocks and Sizes ** Phase... (3 Replies)
Discussion started by: hungevntelecom
3 Replies

4. Shell Programming and Scripting

File System Check using shell script !!!

Hi Guys I m posing this new thread as I didnt get satisfactory result after running search here. My requirement is very simple (using shell script) I need to findout what all file systems are mounted -> Then I need check the health of that file system - by disk usage & by doing a simple... (8 Replies)
Discussion started by: csaha
8 Replies

5. UNIX for Dummies Questions & Answers

How to check whether file system is local or NFS?

Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located. Thanks, Paresh (5 Replies)
Discussion started by: masaniparesh
5 Replies

6. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

7. Shell Programming and Scripting

Script to check file system size

Dears, the output of this command df -h | tr -s ' ' | cut -f5 -d' ' is capacity 24% 0% 0% 0% 0% 1% 0% 24% 24% 0% 93% 1% (4 Replies)
Discussion started by: xxmasrawy
4 Replies

8. Shell Programming and Scripting

csh Check if file exists on remote system

I've seen this question posed a few times with shell scripting, but have not found anything with csh. I am trying to download multiple txt files from a source using wget. These are archived tornado warning files; however, the files only exist if there were tornado warnings issued that day. I'm... (3 Replies)
Discussion started by: meteorologistks
3 Replies

9. Shell Programming and Scripting

Copy files with pattern from ext4 to cifs file system

Hi I have a shell script to copy a pattern of files from Linux to Windows Filesystem. When i execute the below command cp -av TOUT_05-02-13* Windows/Folder `TOUT_05-02-13-19:02:37.tar.gz' -> `Windows/Folder/SYSOUT_05-02-13-19:02:37.tar.gz' cp: cannot create regular file... (5 Replies)
Discussion started by: rakeshkumar
5 Replies
SYSTUNE(8)							 Debian GNU/Linux							SYSTUNE(8)

NAME
systune - Kernel tuning through the /proc filesystem. SYNOPSIS
systune [ -c, --config configfile ] [ -h, --help ] [ -v, --verbose ] DESCRIPTION
This program writes kernel parameters, previously saved in a configuration file, to the /proc filesystem. This enables kernel performance to be adjusted without recompiling the kernel. OPTIONS
-c, --config configfile Specify an alternative config file. The default is /etc/systune.conf -h, --help Print a short explanation of syntax to standard output. -v, --verbose Verbose mode: cause non-existent paths in the configuration to generate error output to standard error. Without this option, erro- neous paths are discarded silently. CONFIGURATION FILE FORMAT
Each definition takes a single line, in the form path:definition, where path must begin with /proc/sys/. Paths beginning with any other sequence are silently ignored. Comments are introduced by the character #. The whole line from the # character onwards is discarded, together with any whitespace immedi- ately preceding it. Blank lines are ignored. FILES
/etc/systune.conf A file with saved kernel parameters. It is possible to generate this file with the systunedump (8) command. SEE ALSO
systunedump(8). AUTHOR
Piotr Roszatycki <dexter@debian.org>. THANKS
Daniel Podlejski, Oliver Elphick. Debian Project 20 Apr 1999 SYSTUNE(8)
All times are GMT -4. The time now is 09:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy