3.1. Mount a file system with non defaults

Difference between 'large files' and 'no large files'
large file: (rw) we can create a file of more than 2 GB
no large file: (r) the file size should be less than 2GB.

The default settings are 'rw' permissions which supports large files.

mount a file systems with non defaults:
1. Select a slice, allocate some memory to the slice, then format it
# newfs /dev/rdsk/c0t0d0s6
# mkdir /java
# mount -0 ro, nolargefiles /dev/dsk/c0t0d0s6 /java
# cat /etc/mnttab

Note: When you mount a FS with non defaults, that ro & nolargefiles, we can only read the contents of the FS but can't write.
To convert the non defaults FS 
# mount -0 remount /dev/dsk/c0t0d0s6 /java
# cat /etc/mnttab

note:
we can convert non-default(nolarge) to default(large) but default to non-default difficult. we need to unmount it and then remount.

To create a hidden file system:
1.
# newfs /dev/rdsk/c0t0d0s6
# mount -m /dev/dsk/c0t0d0s6 /cherry
# df -h
# cat /etc/mnttab
# cd cherry
# pwd
/cherry
# touch c1 c2 c3 c4 c5
#ls
# umount /cherry
# unmountall
# df -h
# mount /dev/dsk/c0t0d0s6 /cherry
# df -h
# cd /cherry
# ls
c1 c2 c3 c4 c5

note: when you create a hidden FS in solaris the FS information is not updated in "/etc/mnttab" and it is not visible when you use "df -h" command.
There is no command in solaris to find out the hidden filesystem.
The command to unmount the hidden filesystem is "umountall".