10-11-2002
If you use the "df -n" command, you can see which the type is your file system.
Like this :
terra# df -n# terra# terra
/ : ufs
/proc : proc
/dev/fd : fd
/tmp : tmpfs
/usr/local/Tivoli : vxfs
/u1/app/oracle : vxfs
/sgos/OSW/SAGRE_IN : nfs
The "df -n" command print only the FSType name. Invoked with no operands, this option prints a list of mounted file system types. This option is used only for mounted file systems. It canīt be used with the -o option.
I hope help you.
Witt
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
2. Programming
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies
4. Solaris
Hi,
I am new to solaris OS.I have a small question,it might be silly question or good question.
My Question is
Solaris is following hierarchy type of file structure,means all files are under the root file system.so Once we mount the root file system all sub folders of / ( /usr, /var ,... (7 Replies)
Discussion started by: vr_mari
7 Replies
5. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
6. Solaris
hi every one
"plz any one can give solution to my problem" my problem is my filesystem is full in os level i have to decrease it to 60% how can i? plz help me
Thank you for your response (6 Replies)
Discussion started by: sivajerripothul
6 Replies
7. Shell Programming and Scripting
Hi all,
I am creating a .sh file in windows environment using notepad.
i need a code which i can write in this .sh file so that it asks me for an input file stored anywhere in my C drive of my windows computer.
Please help me out with this. (1 Reply)
Discussion started by: bansalpankaj88
1 Replies
8. HP-UX
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
Discussion started by: fretagi
2 Replies
9. Shell Programming and Scripting
We would be migrating UNIX file system to Linux file system.
We do have many directory and sub directories with files.
after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
10. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
mountall(1M) System Administration Commands mountall(1M)
NAME
mountall, umountall - mount, unmount multiple file systems
SYNOPSIS
mountall [-F FSType] [-l | -r] [file_system_table]
umountall [-k] [-s] [-F FSType] [-l | -r] [-n]
umountall [-k] [-s] [-h host] [-n]
DESCRIPTION
mountall is used to mount file systems specified in a file system table. The file system table must be in vfstab(4) format. If no file_sys-
tem_table is specified, /etc/vfstab is used. If - is specified as file_system_table, mountall reads the file system table from the standard
input. mountall mounts only those file systems with the mount at boot field set to yes in the file_system_table.
For each file system in the file system table, the following logic is executed: if there exists a file/usr/lib/fs/FSType/fsckall, where
FSType is the type of the file system, save that file system in a list to be passed later, and all at once, as arguments to the
/usr/lib/fs/FSType/fsckall script. The /usr/lib/fs/FSType/fsckall script checks all of the file systems in its argument list to determine
whether they can be safely mounted. If no /usr/lib/fs/FSType/fsckall script exists for the FSType of the file system, the file system is
individually checked using fsck(1M). If the file system does not appear mountable, it is fixed using fsck before the mount is attempted.
File systems with a - entry in the fsckdev field are mounted without first being checked.
umountall causes all mounted file systems except root, /usr, /var, /var/adm, /var/run, /proc, and /dev/fd to be unmounted. If the FSType is
specified, mountall and umountall limit their actions to the FSType specified. There is no guarantee that umountall unmounts busy file sys-
tems, even if the -k option is specified.
OPTIONS
The following options are supported:
-F Specify the FSType of the file system to be mounted or unmounted.
-h host Unmount all file systems listed in /etc/mnttab that are remote-mounted from host.
-k Use the fuser -k mount-point command. See the fuser(1M) for details. The -k option sends the SIGKILL signal to each
process using the file. As this option spawns kills for each process, the kill messages might not show up immediately.
There is no guarantee that umountall unmounts busy file systems, even if the -k option is specified.
-l Limit the action to local file systems.
-n List the actions that would be performed for the specified options, but do not actually execute these actions. Repeating
the command without the -n option executes the listed actions, assuming that the /etc/mnttab file has not changed in the
interval prior to repeating the command.
-r Limit the action to remote file system types.
-s Do not perform the umount operation in parallel.
FILES
/etc/mnttab Mounted file system table
/etc/vfstab Table of file system defaults
/usr/lib/fs/FSType/fsckall Script called by mountall to perform the file system check of all file systems of type FSType
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attributes(5)
DIAGNOSTICS
No messages are printed if the file systems are mountable and clean.
Error and warning messages come from fsck(1M) and mount(1M).
SunOS 5.10 28 Oct 2002 mountall(1M)