General Information
Library Note
Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com . Request a Workshop for
your organization today.
Purpose
Oracle F ile S ystem operations definition.
AUTHID
CURRENT_USER
Dependencies
OFSDTAB$
OFSMTAB$
OFSOTAB$
Documented
Yes: Packages and Types Reference
First Available
12.1
Security Model
Owned by SYS with EXECUTE granted to the DBA role
Source
{ORACLE_HOME}/rdbms/admin/dbmsfs.sql
Subprograms
DESTROY_ORACLE_FS
Drops a file system of type specified by file system type and name similar to mkfs on Unix
dbms_fs.destroy_oracle_fs(
fstype IN VARCHAR2,
fsname IN VARCHAR2);
exec dbms_fs.destroy_oracle_fs ('FUBAR', 'FUBAR');
MAKE_ORACLE_FS
Creates a file system of type specified by file system type and name similar to mkfs on Unix
dbms_fs.make_oracle_fs(
fstype IN VARCHAR2,
fsname IN VARCHAR2,
fsoptions IN VARCHAR2);
-- comma separated file system create options
exec dbms_fs.make_oracle_fs ('FUBAR', 'FUBAR', 'FUBAR');
The fact that this runs successfully, and there are no dependencies, unfortunately tells us nothing about it.
MOUNT_ORACLE_FS
Mount an Oracle file system on the specified mount point similar to mount in Unix
dbms_fs.mount_oracle_fs (
fstype IN VARCHAR2,
fsname IN VARCHAR2,
mount_point IN VARCHAR2,
mount_options IN VARCHAR2);
exec dbms_fs.mount_oracle_fs ('FUBAR', 'FUBAR', '/fubar', 'FUBAR');
-- Doing this hang the session and the system ... SYSDBA can log on but a SHUTDOWN IMMEDIATE does not work forcing an ABORT.
UNMOUNT_ORACLE_FS
Unmount an Oracle file system on the specified mount point similar to umount in Unix
dbms_fs.unmount_oracle_fs(
fsname IN VARCHAR2,
mount_point IN VARCHAR2);
exec dbms_fs.unmount_oracle_fs ('FUBAR', '/fubar');
-- Doing this hang the session and the system ... SYSDBA can log on but a SHUTDOWN IMMEDIATE does not work forcing an ABORT.